[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 18:55:35 EEST 2021


#9338: User agent in "-http_user_agent" is ignored when deleting old segment (HLS)
----------------------------------+--------------------------------------
             Reporter:  SBM       |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:  hls       |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 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).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9338>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list