[vlc-devel] [PATCH 0/3] [RFC] Add a control to get HTTP headers

Marvin Scholz epirat07 at gmail.com
Mon Aug 12 11:56:05 CEST 2019


This patchset adds a new Control, STREAM_GET_HTTP_HEADER, to
fetch HTTP headers and implements it for the new and old http
module.

The idea, if this is accepted, is to use this for an ICY metadata
stream filter module to get the Icy-Metaint header and other ICY
specific metadata headers.

Additionally it might be useful for some lua script modules to be
able to access the http headers of a stream.

Marvin Scholz (3):
  libvlccore: Add STREAM_GET_HTTP_HEADER control
  access/oldhttp: Implement STREAM_GET_HTTP_HEADER
  access/http: Implement STREAM_GET_HTTP_HEADER

 include/vlc_stream.h           |  1 +
 modules/access/http.c          | 73 ++++++++++++++++++++++++++++++++++
 modules/access/http/access.c   |  7 ++++
 modules/access/http/file.h     |  1 +
 modules/access/http/live.h     |  1 +
 modules/access/http/resource.c | 10 +++++
 modules/access/http/resource.h |  7 ++++
 7 files changed, 100 insertions(+)

-- 
2.19.1



More information about the vlc-devel mailing list