Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Live HLS (from Livestream) won't play, does with Video.js and HTML5 (mobile)


We're a partner with Livestream, and are developing an app to access a specific channel.

We have it working fine with Video.js and plain HTML, but it absolutely won't work with JW Player Ads.

Here's what happens:

1) We load JSON to get the URL of an m3u8 for a particular broadcast. It's a signed URL that expires. The m3u8 contains points to m3u8s for bitrate streams. Those point to transport streams (akamai)

2) We pass he original m3u8 to JW Player. We get an "Error loading player: no playable sources found" error

It's not CORS-related, as it works in Video.js and html5vats players.

Any idea why this doesn't work? mp4 works fine, and so do other live hls streams (your jellyfish demo). I believe it must be the m3u8/m3u8/ts thing.

First m3u8 example (which we load into jw player), with some things redacted:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=678000,RESOLUTION=768x432,CODECS="avc1.77.30, mp4a.40.2"
http://livestream-f.akamaihd.net/i/###@105175/index_678_av-p.m3u8?sd=10&dw=100&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=198000,RESOLUTION=480x270,CODECS="avc1.66.30, mp4a.40.2"
http://livestream-f.akamaihd.net/i/###@105175/index_198_av-p.m3u8?sd=10&dw=100&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2320000,RESOLUTION=1280x720,CODECS="avc1.77.30, mp4a.40.2"
http://livestream-f.akamaihd.net/i/###@105175/index_2320_av-p.m3u8?sd=10&dw=100&rebase=on

One of the above m3u8's above provides:

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-ALLOW-CACHE:YES
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:144588915
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588915_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588916_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588917_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588918_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588919_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588920_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588921_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588922_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588923_2320_av-p.ts?sd=10&dw=100&rebase=on
#EXTINF:10.000,
http://livestream-f.akamaihd.net/i/###@105175/segment144588924_2320_av-p.ts?sd=10&dw=100&rebase=on

Again, the exact same thing works fine in other players (videojs, etc).

Looking for some advice/help.

Thanks,

Shane

3 Community Answers

rover

User  
0 rated :

P.S. all of the above is for MOBILE under iOS and Android. Don't care at all about desktop.

Alex

JW Player Support Agent  
0 rated :

Hi, Shane.

Thank you for providing the contents of the HLS manifest, but in order to assist you – could you provide me with the URL of the manifest itself? Also, if you have a URL to a test page with a player on it showing this issue – that would be greatly appreciated as well.

Thank you.

rover

User  
0 rated :

Alex,

How can I PM you that info?

Thanks,

Shane

This question has received the maximum number of answers.