[FFmpeg-devel] [PATCH 1/1] avformat/hlsenc: Added configuration to override HTTP User-Agent
lingjiujianke at gmail.com
Mon Sep 4 10:03:11 EEST 2017
2017-09-04 14:47 GMT+08:00 Jeyapal, Karthick <kjeyapal at akamai.com>:
>>On 9/1/17, 5:36 PM, "Steven Liu" <lingjiujianke at gmail.com> wrote:
>>> Please find the patch attached.
>>> ffmpeg-devel mailing list
>>> ffmpeg-devel at ffmpeg.org
>>FFmpeg has support it yet, you can use http method.
>>liuqideMBP:dash liuqi$ ./ffmpeg -v debug -user_agent "StevenLiu" -i
>>http://192.168.0.202/stream999_low.m3u8 -c copy -f mpegts a.ts
> Hi Steven,
> Thanks for the reply. The above method for setting User-Agent works only HLS demuxer. It doesn’t work for HLS muxer. The patch that was attached was meant for HLS muxer.
set user_agent better than user-agent, because the user-agent is
duplicate with user_agent, and the user-agent will be deprecated in
new version, refer to :
BTW, the patch is ok, if modify the user-agent to user_agent
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel