[FFmpeg-trac] #6423(undetermined:new): reconnecting to http URL should use original URL and not the redicted URL

FFmpeg trac at avcodec.org
Fri May 26 17:06:02 EEST 2017


#6423: reconnecting to http URL should use original URL and not the redicted URL
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  http         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 If ffmpeg is passed a http(s) input stream with options "-reconnect_at_eof
 1 -reconnect_streamed 1", it will reconnect endlessly when the stream
 reach eof.
 This is very useful for some iptv streams that require this.

 However, if the input URL passed on the commandline return a http code 302
 and a redirect URL, the subsequent reconnections happen on the redirect
 URL and not the original URL input URL.
 This can make reconnect fail for some http servers sending a different
 redirect URL on each connection. Thus the original URL passed on the
 command line should always be used to reconnect, handling the redirect
 again.

 I do not have a test stream to give to illustrate this, but this should
 not be difficult to grasp.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6423>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list