[FFmpeg-devel] [PATCH 1/1] avformat/hlsenc: Added configuration to override HTTP User-Agent

Jeyapal, Karthick kjeyapal at akamai.com
Mon Sep 4 11:01:47 EEST 2017


>On 9/4/17, 12:41 PM, "Steven Liu" <lingjiujianke at gmail.com<mailto:lingjiujianke at gmail.com>> wrote:
>
>Hi Karthick,
>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 :
>https://ffmpeg.org/ffmpeg-protocols.html#http
>
>       BTW, the patch is ok, if modify the user-agent to user_agent

Hi Steven,

Thanks for the reply. I am not using ‘user-agent’. I was using ‘http_user_agent’. Do you want me to rename ‘http_user_agent’ to ‘user_agent’?
I used ‘http_user_agent’ just to indirectly infer that it is http-specific option. But I am OK to rename it to ‘user_agent’ if you insist.

Regards,
Karthick


More information about the ffmpeg-devel mailing list