Opened 3 years ago

Closed 14 months ago

#9338 closed defect (fixed)

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 (4)

comment:1 by SBM, 3 years ago

Description: modified (diff)

in reply to:  2 comment:3 by SBM, 3 years ago

comment:4 by Balling, 14 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.