Opened 18 months ago

Closed 6 months ago

#5315 closed defect (fixed)

hlsenc ignores http method AVOption on index files

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

Description

report attached.

Use hlsenc output to a http URI and try to override the method AVOption.

In the report, you can see that index files use POST and the chunks use PUT as expected.

An interim fix is to pass &options to the io_open call that creates the index file - but I've only tested this on HTTP and don't know if it will break any other use case.

Attachments (1)

ffmpeg-20160308-145808.log (113.1 KB) - added by longhairedcountryboy 18 months ago.
log

Download all attachments as: .zip

Change History (5)

Changed 18 months ago by longhairedcountryboy

log

comment:1 Changed 6 months ago by stevenliu

  • Owner set to stevenliu
  • Status changed from new to open

you can try the patch: in maillist: avformat/hlsenc: set default http method to PUT when method is null

comment:4 Changed 6 months ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.