Bug #2611

Movian won't play redirected HLS links

Added by Leonid Protasov over 5 years ago. Updated over 5 years ago.

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

100%

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

Description

VLC plays that...

hls:http://bit.do/2Kx8

Associated revisions

Revision a5843b21
Added by Andreas Smas over 5 years ago

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

refs #2611

Change included in version 4.9.437

Revision ebd8e528
Added by Andreas Smas over 5 years ago

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

Fixes #2611

Change included in version 4.9.438

History

#1 Updated by Andreas Smas over 5 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 54.162.237.95...
* Connected to bit.do (54.162.237.95) 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
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<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>
<hr>
<address>Apache/2.2.29 (Amazon) Server at bit.do Port 80</address>
</body></html>
* 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 over 5 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 over 5 years ago

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

Also available in: Atom PDF