#2710: HTTP redirect 307 of an specified HLS url is not stored after HTTP
connexion
-------------------------------------+-------------------------------------
             Reporter:  fripooy      |                     Type:
               Status:  new          |  enhancement
            Component:  avformat     |                 Priority:  normal
             Keywords:  HLS, HTTP    |                  Version:  1.0.7
  redirect 307                       |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
 If there is a HTTP redirect 307 on a specified url, the redirect is
 followed during the http connexion but is not stored.

 In my compagny, TV streaming is done through HLS and load balancing. For a
 channel, the stream URL is forward to a temporary redirect.

 Ex:
 wget http://our-server/CH1/CH1.m3u8
 --2013-06-25 16:00:59--  http://our-server/CH1/CH1.m3u8
 Connecting to our-server:80... connected.
 HTTP request sent, awaiting response... 307 Temporary Redirect
 Location: http://our-
 server:80/CH1/kac3trwi5qcqy5iiartgtbfizjqet2ii/0000150/GlobalHlsManifest.m3u8
 [following]
 --2013-06-25 16:00:59--  http://our-
 server/CH1/kac3trwi5qcqy5iiartgtbfizjqet2ii/0000150/GlobalHlsManifest.m3u8
 Connecting to our-server:80... connected.
 HTTP request sent, awaiting response... 200 OK


 In our case, ffplay does not play the m3u8 because the URL sent to the HLS
 stack is the same as give in parameter but not the real URL (redirected)
 and the result is 404.

 /usr/bin/ffplay http://our-server/CH1/CH1.m3u8
 avplay version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2003-2012 the
 Libav developers
   built on Jan 24 2013 18:01:36 with gcc 4.6.3
 [http @ 0x7f702c0043c0] HTTP error 404 Not Found
 http://our-server/CH1/CH1.m3u8: Input/output error

 I have fix this bug in the patch.

 Sidney.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2710>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to