Opened 3 years ago
Closed 21 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 )
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 , 3 years ago
Description: | modified (diff) |
---|
follow-up: 3 comment:2 by , 3 years ago
comment:3 by , 3 years ago
Replying to Steven Liu:
Try this patch please: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210720030549.30390-1-liuqi05@kuaishou.com/
That fixes it, thank you.
comment:4 by , 21 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in 5dc1b4b9979c84efc3b81bcb2c244e71e22a951a.
Note:
See TracTickets
for help on using tickets.
Try this patch please: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210720030549.30390-1-liuqi05@kuaishou.com/