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

Live Stream AWS Cloudfront JWPlayer6 Not Working


Hi, I have no idea what I'm doing with this so any help would be appreciated!

I have this page:
http://ves.id.au/secure/Events/Live/dataFolder/index2.html

The top player is an instance of jwplayer, the bottom one is the code from the AWS Cloudformation page.

Any ideas what I'm doing wrong with the JW code?

Thanks,
Nath.

14 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You are loading an F4M here (HDS), which we do not support.

JW Player

User  
0 rated :

Hi Ethan, thanks for your reply.

I now have it trying to play the HLS stream and still nothing...

Ethan Feldman

JW Player Support Agent  
0 rated :

Are you using premium?

JW Player

User  
0 rated :

So I've upgraded to premium, and this still isn't working. I'm now getting a "crossdomain access denied" error on PC, and "File could not be played" on iPad.





JW Player

User  
0 rated :

This is the crossdomail.xml that seems to be retrieved:

bc.. <cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"></site-control>
<allow-access-from domain="*.osmf.org"></allow-access-from>
<allow-access-from domain="*.adobe.com"></allow-access-from>
<allow-access-from domain="*.macromedia.com"></allow-access-from>
</cross-domain-policy>

JW Player

User  
0 rated :

So I've managed to change the crossdomain.xml by editing the cloudfront template. It's now:

<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"></site-control>
<allow-access-from domain="*"></allow-access-from>
</cross-domain-policy>

However it's now throwing 500 server errors all over the place. The HDS stream on the above page works fine.

Any ideas?

Remco van Bree

JW Player Support Agent  
0 rated :

It looks like Cloudfront is throwing errors when ts segments from the m3u8 manifest are requested (like http://d3d7gjoa311p3w.cloudfront.net/hls-live/streams/livepkgr/events/definst/liveevent/livestreamNum73.ts)

I also get errors if I request the HLS stream http://d3d7gjoa311p3w.cloudfront.net/hls-live/livepkgr/definst/liveevent/livestream.m3u8 directly on an iPad, so there is some issue with your server configuration. You should look into Amazon resources to resolve this first.

Ethan Feldman

JW Player Support Agent  
0 rated :

Also, note, in Flash, I get this debug error on your site now:

Error: Could not parse TS file: sync byte not found.
	at com.longtailvideo.adaptive.muxing::TS/_readPacket()
	at com.longtailvideo.adaptive.muxing::TS/readData()
	at com.longtailvideo.adaptive.streaming::FragmentLoader/_readHandler()
	at com.longtailvideo.adaptive.streaming::FragmentLoader/_completeHandler()
	at com.longtailvideo.adaptive.streaming::FragmentLoader/_progressHandler()


JW Player

User  
0 rated :

OK thanks guys, I'll chase it up with Amazon. I shall post back once they've sorted it.


Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

hey we are facing same problem nathan have sort out it ?if yes then colud you please help me

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

JW Player

User  
0 rated :

So my current setup is:

Atem 1 ME->USB3 to HP Z420 (Texas Instruments USB3 Chip)->FMLE 3.2->AWS Cluodfront->jwplayer6

I got it working by setting FMLE to encode h.264 instead of VP6 which got rid of the 500 server errors. Still no idea why it happens and AWS support's about as useful as...

There was also an issue where if you stop the stream and restart it AWS freaks out and starts playing old frames. Apparently setting the stream in FMLE to "livestream?adbe-live-event=liveevent*&adbe-record-mode=record*" is supposed to fix that. If you leave it for a bit (8 mins according to the post I was reading) it does start to stream live again.

FMLE was also encounting an error where by it would stop and restart publishing (resulting in the above issue and confusion), this was caused by the audio stream, verified by stopping everything and unchecking the audio box in FMLE, so as to only stream video. I played around with the blackmagic control panel by clicking the audio spanner in fmle, and got it to work. Not real sure how unfortunately.

Cheers for your help guys, all working now... I think.

Ethan Feldman

JW Player Support Agent  
0 rated :

Cheers, thanks for sharing this. Glad you got it working.

This question has received the maximum number of answers.