Skip to content
Snippets Groups Projects
Commit be436e0e authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: adaptive: request optional compression

Allow server to compress manifests and text subtitles
parent 98fd0b74
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ class adaptive::http::LibVLCHTTPSource : public adaptive::AbstractSource
int formatRequest(const struct vlc_http_resource *,
struct vlc_http_msg *req)
{
vlc_http_msg_add_header(req, "Accept-Encoding", "deflate, gzip");
vlc_http_msg_add_header(req, "Cache-Control", "no-cache");
if(range.isValid())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment