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

HLS casting not working, even on 6.12


Just getting starting trying to get HLS casting working. I've setup a basic example that demonstrates the problem.

http://webtest.telvue.com/jw6/index.html

Maybe there's something about the URL that Chromecast doens't like?

I am able to cast it, but the Chromecast gets stuck on the loading spinner. Using a normal MP4 works fine.

13 Community Answers

mark

User  
0 rated :

?null=&hdntl= appended to the end of index files... I am not sure if this is the problem

I know HLS works fine in 6.12 Chromecast, been testing it all week, works great so it is something about your setup, manifests or coding of URLs

mark

User  
0 rated :

I tested your page and it works on desktop - but not Chromecast

The reason I have found from experience is permissions, in my case a combination of CORs and bucket policy on amazon

It may be that you need to add this URL to your CORS configuration or permitted referer
"https://chromecast.jwpsrv.com/receiver/",

mark

User  
0 rated :

Actually in your case it would not be https but http
"http://chromecast.jwpsrv.com/receiver/",

christian

User  
0 rated :

What server are you using in your implementation mark? I am using wowza streaming engine and have configured the crossdomain there to allow everything and it still doesnt work.

I am having the exact same problem as bosborne is having.

bosborne

User  
0 rated :

I need to add the CORS header to the server with the video player on it? I thought I'd need to add that to the server that has the video on it (in this case Akamai, so I can't).

mark

User  
0 rated :

I am using Amazon S3 for media so my CORS is done from AWS ( Christian it is not crossdomain because Chromecast is not using flash)

bosborne - My player and media are in the same domain until the cloud player is updated, you should do the same or it gets complicated with m3u8 access as well.

mark

User  
0 rated :

bosborne

Your HTML page is in the domain webtest.telvue_abr-f.akamaihd.net/
But your M3U8 is in domain telvue_abr-f.akamaihd.net/

So you also need cors allow for domain webtest.telvue_abr-f.akamaihd.net/ on the domain telvue_abr-f.akamaihd.net/

It gets tricky when html , player, media and chromecast are all in separate domains - BUT it does work

christian

User  
1 rated :

Thanks so much for your help mark, with your clarification i was able to solve the problem with chromecast and wowza, i just had to add this to my livestream application and it worked:

<Property>
<Name>cupertinoUserHTTPHeaders</Name>
<Value>Access-Control-Allow-Origin: *</Value>
<Type>String</Type>
</Property>

(i know i shouldn't use the * but i used it just for the test)

Thanks again for your help mark! :)

bosborne

User  
1 rated :

I've confirmed this is a CORS issue with the server hosting the HLS files. Thanks for the help everyone.

mark

User  
0 rated :

awesome.

mark

User  
0 rated :

I tried the new Wowza Streaming Cloud and while I could get playback on desktop, I too could not get it on Chromecast- I asked in the wowza forum for them to add the cors to default applications, i hope they comply

Cooper Reid

JW Player Support Agent  
0 rated :

Thanks for making us aware of this issue. Hope to see a resolution from Wowza -
Cooper

mark

User  
0 rated :

Turns out Chromecast does work with Wowza Streaming Cloud when you pay for it - the TRIAL does not. I have tested it.

This question has received the maximum number of answers.