[FFmpeg-trac] #9338(avformat:new): User agent in "-http_user_agent" is ignored when deleting old segment (HLS)
FFmpeg
trac at avcodec.org
Mon Jul 19 19:00:08 EEST 2021
#9338: User agent in "-http_user_agent" is ignored when deleting old segment (HLS)
------------------------------------+------------------------------------
Reporter: SBM | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Description changed by SBM:
Old description:
> Summary of the bug: user-agent not correctly set when deleting segments
> How to reproduce:
> {{{
> % ffmpeg -i test.ts -hls_flags delete_segments -hls_segment_filename
> http://localhost:8080/segment_%v_%03d.ts -hls_segment_type mpegts
> -master_pl_name master.m3u8 -hls_list_size 3 -hls_delete_threshold 6
> -http_user_agent "MyUserAgent" -f hls -method PUT
> http://localhost:8080/playlist_%v.m3u8
> }}}
>
> User agent is correct in PUT operations, but not in DELETE (value seen is
> "Lavf/58.76.100" in my tests).
New description:
Summary of the bug: user-agent not correctly set when deleting segments
How to reproduce:
{{{
% ffmpeg -i test.ts -hls_flags delete_segments -hls_segment_filename
http://localhost:8080/segment_%v_%03d.ts -hls_segment_type mpegts
-master_pl_name master.m3u8 -hls_list_size 3 -hls_delete_threshold 6
-http_user_agent "MyUserAgent" -f hls -method PUT
http://localhost:8080/playlist_%v.m3u8
}}}
User agent is correct in PUT operations, but not in DELETE (value seen is
"Lavf/58.76.100" in my tests).
ffmpeg version 4.4
OS: Debian 10
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9338#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list