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

Player Showing "Live Broadcast" on Static Stream when used with cloudflare CDN


On my site I recently enabled CloudFlare CDN and after that the JWplayer enbeded on my site for playing mp3 files gives Live Broadcast message and mp3 file stops to play after 5 minutes.

I have seen similar discussion at https://support.jwplayer.com/customer/portal/questions/6244403-player-showing-live-broadcast-on-static-stream
I have been working with CloudFlare CDN support and they have not been able to identify root cause. Any pointers or solution to resolve as my site is in broken state due to this issue

6 Community Answers

George

JW Player Support Agent  
0 rated :

That can happen if the HLS manifest is missing the line:
#EXT-X-ENDLIST
a the end.

For example I’m going to run a curl command on my terminal to view the HLS response:

GSyrimis:~ gsyrimis$ curl http://content.jwplatform.com/manifests/s1BX6sJr.m3u8

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1960000,RESOLUTION=1280×720,CODECS=“mp4a.40.2,avc1.77.30”
http://jwpsrv.a.ssl.fastly.net/content/conversions/zWLy8Jer/videos/s1BX6sJr-364768.mp4.m3u8?token=0_562581a7_0x510beea1b9b9ac1d417c1dacffbb42fd90cc0ad0
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=680000,RESOLUTION=640×360,CODECS=“mp4a.40.2,avc1.77.30”
http://jwpsrv.a.ssl.fastly.net/content/conversions/zWLy8Jer/videos/s1BX6sJr-1753142.mp4.m3u8?token=0_562581a7_0x10116ee6053de68de2bd56ce47f8aed0895d15ed
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=380000,RESOLUTION=320×180,CODECS=“mp4a.40.2,avc1.77.30”
http://jwpsrv.a.ssl.fastly.net/content/conversions/zWLy8Jer/videos/s1BX6sJr-364765.mp4.m3u8?token=0_562581a7_0x15346997abd54827b8e3ffaf61adac10698957d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=120000,CODECS=“mp4a.40.2”
http://jwpsrv.a.ssl.fastly.net/content/conversions/zWLy8Jer/videos/s1BX6sJr-588477.m4a.m3u8?token=0_562581a7_0xc82b66f4a8afbf314239b86ea0924ca3bb3fb11d

Then I’m going to curl one of the quality responses:

GSyrimis:~ gsyrimis$ curl http://jwpsrv.a.ssl.fastly.net/content/conversions/zWLy8Jer/videos/s1BX6sJr-588477.m4a.m3u8?token=0_562581a7_0xc82b66f4a8afbf314239b86ea0924ca3bb3fb11d
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:5
#EXTINF:4.017,
s1BX6sJr-588477.m4a-1.aac
#EXTINF:4.017,
s1BX6sJr-588477.m4a-2.aac
#EXTINF:4.017,
s1BX6sJr-588477.m4a-3.aac
#EXTINF:4.017,
s1BX6sJr-588477.m4a-4.aac
#EXTINF:1.954,
s1BX6sJr-588477.m4a-5.aac
#EXT-X-ENDLIST

That last line needs to be there to show an end time. If it’s missing it will show as a livestream.

Let me know if that clarifies things.

webmaster

User  
0 rated :

Actually in my case I am streaming mp3 file and their is no m3u file involved.
So few url where I am seeing this issue
http://www.nirankari.org/intranet/component/muscol/V/149-various/125-voice-divine-2016/1839-bhakti-sangeet-february-2016-episode-the-internet-radio
The MP3 file being played by JWPlayer is question http://www.nirankari.org/intranet/songs/201602_bhaktisangeet.mp3
After running for 5 minutes, the audio would stop and
net::ERR_CONNECTION_RESETC @ jwplayer.html5.js:182S.load @ jwplayer.html5.js:186n @ jwplayer.html5.js:76D @ jwplayer.html5.js:78(anonymous function) @ jwplayer.html5.js:77rb.play @ jwplayer.html5.js:60(anonymous function) @ jwplayer.html5.js:40
jwplayer.js:4 Error playing media: MediaErrorcode: 2__proto__: MediaErrorMEDIA_ERR_ABORTED: 1MEDIA_ERR_DECODE: 3MEDIA_ERR_NETWORK: 2MEDIA_ERR_SRC_NOT_SUPPORTED: 4code: (...)get code: ()arguments: nullcaller: nulllength: 0name: ""__proto__: ()<function scope>constructor: MediaError()__proto__: Object
jwplayer.js:4 CAPTIONS([object Object])
jwplayer.js:4 CAPTIONS([object Object])

webmaster

User  
0 rated :

Also for MP3 file in question http://www.nirankari.org/intranet/songs/201602_bhaktisangeet.mp3

Following are request and response headers.
Request URL:http://www.nirankari.org/intranet/songs/201602_bhaktisangeet.mp3
Request Method:GET
Status Code:200 OK
Remote Address:104.25.107.4:80
Response Headers
view source
Cache-Control:public, max-age=86400
CF-Cache-Status:HIT
CF-RAY:2767c314988a256d-ORD
Connection:keep-alive
Content-Type:audio/mpeg
Date:Thu, 18 Feb 2016 06:44:11 GMT
Expires:Fri, 19 Feb 2016 06:44:11 GMT
Last-Modified:Tue, 16 Feb 2016 05:03:11 GMT
Server:cloudflare-nginx
Transfer-Encoding:chunked
Vary:Accept-Encoding
Request Headers
view source
Accept:*/*
Accept-Encoding:identity;q=1, *;q=0
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:__cfduid=db96b7dd84bc78b15444530ddde928d041453177428; c79cc2e812a6ea1d0edce253ac4940bd=e069a4d4f0317552f977b46806db00fe; bfc5d779cae67bd8aaeee384cde49d6d=97d33f4a84869e96b13b2273f27c3d59; timezone=America/Chicago; jwplayer.volume=57; 5b018bef7e129e8177b0358ecfe1d606=e388b78f9d416b95cc74abda8f663000; f8673b78c994b7d63204a64a7daac518=VnC5FTWCF169wBZu.u0tFbLr2nzOADk9R80Ex; _gat=1; __utmt=1; _ga=GA1.2.2010082089.1453177428; __utma=176495802.2010082089.1453177428.1455771823.1455775800.107; __utmb=176495802.17.10.1455775800; __utmc=176495802; __utmz=176495802.1455289518.86.7.utmcsr=feedburner|utmccn=Feed:%20SnmNews%20(SNM%20News)|utmcmd=email
Host:www.nirankari.org
Range:bytes=0-
Referer:http://www.nirankari.org/intranet/component/muscol/V/149-various/125-voice-divine-2016/1839-bhakti-sangeet-february-2016-episode-the-internet-radio
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36

George

JW Player Support Agent  
0 rated :

Any particular reason you’re not using HLS?

webmaster

User  
0 rated :

I use music collection component for Joomla which is designed to work only with mp3 files and not with HLS

George

JW Player Support Agent  
0 rated :

Try this setup code: Notice I removed the duration block
var playerone = jwplayer(“container”);
playerone.setup({
file: ‘http://www.nirankari.com/intranet/songs/201602_bhaktisangeet.mp3’,
height: ‘36’,
width: ‘100%’,
aspectratio: ‘0’
});

This question has received the maximum number of answers.