Opened 12 months ago

Last modified 12 months ago

#9338 new defect

User agent in "-http_user_agent" is ignored when deleting old segment (HLS)

Reported by: SBM Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: hls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by SBM)

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

Change History (3)

comment:1 by SBM, 12 months ago

Description: modified (diff)

in reply to:  2 comment:3 by SBM, 12 months ago

Note: See TracTickets for help on using tickets.