Bug #2611

Movian won't play redirected HLS links

Added by Leonid Protasov over 7 years ago. Updated about 7 years ago.

Status:FixedStart date:05/11/2015
Priority:NormalDue date:
Assignee:Andreas Smas% Done:


Target version:4.10
Found in version:4.9.430 Platform:Linux


VLC plays that...


Associated revisions

Revision a5843b21
Added by Andreas Smas about 7 years ago

httpclient: Return final url (after following redirect) to caller

refs #2611

Revision ebd8e528
Added by Andreas Smas about 7 years ago

hls: Use the final (redirected) URL to construct inner playlist URLs

Fixes #2611


#1 Updated by Andreas Smas about 7 years ago

The problem is that it can't play redirected HLS streams. If you play the redirected URL it works fine:

$ curl -v http://bit.do/2Kx8
* Hostname was NOT found in DNS cache
*   Trying
* Connected to bit.do ( port 80 (#0)
> GET /2Kx8 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: bit.do
> Accept: */*
< HTTP/1.1 301 Moved Permanently
< Date: Fri, 15 May 2015 16:47:41 GMT
* Server Apache/2.2.29 (Amazon) is not blacklisted
< Server: Apache/2.2.29 (Amazon)
< Location: http://origin2.live.web.tv.streamprovider.net/streams/19eea1ea025f9383254e2f1b49f83b41/index.m3u8
< Content-Length: 377
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://origin2.live.web.tv.streamprovider.net/streams/19eea1ea025f9383254e2f1b49f83b41/index.m3u8">here</a>.</p>
<address>Apache/2.2.29 (Amazon) Server at bit.do Port 80</address>
* Closing connection 0
build.linux/showtime -d hls:http://origin2.live.web.tv.streamprovider.net/streams/19eea1ea025f9383254e2f1b49f83b41/index.m3u8

... works fine.

But this can be fixed for sure.

#2 Updated by Leonid Protasov about 7 years ago

  • Subject changed from Movian won't play some encrypted HLS links to Movian won't play redirected HLS links

#3 Updated by Andreas Smas about 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF