Quantcast
Channel: support.jwplayer.com :: Streaming
Viewing all articles
Browse latest Browse all 2800

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

$
0
0
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

Viewing all articles
Browse latest Browse all 2800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>