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

Live HLS does not seem to be working for me?


I am not able to get my hls livestream to work through chromecast, though it is able to be played easily through the desktop player. Playing VODs through chromecast is working though so i know the setup partially works. Are there any limitations / requirements on the livestreams that have to be met? can ABR content not be played through chromescast? I currently have 3 qualities in the stream and am using my own wowza server as the delivery system.

I am able to press the button to cast the stream to the chromecast but then loading wheel just spins and the stream never starts?

Thanks in advance, Christian.

16 Community Answers

Andrew

JW Player Support Agent  
0 rated :

ABR content should be able to be accessed. Do you have a link to where you’re running this?

christian

User  
0 rated :

Not right now no, i am not able to have a stream up all the time, do you do support on weekends? I could have it up all Saturday if that is the case as i can't have the test stream up tomorrow either due to it conflicting with other livestreams? :)

Thanks in advance, Christian

Andrew

JW Player Support Agent  
0 rated :

We don’t offer support on weekends unfortunately. Just checking as well, but this is being used with an enterprise subscription, correct?

mark

User  
0 rated :

I will check live chromecast HLS later today and report - but i will use Zencoder

Andrew

JW Player Support Agent  
0 rated :

Okay, but it’s just about 6:00 in New York. We’re not going to be here much longer for today. I’d suggest leaving this up overnight or providing first thing tomorrow.

mark

User  
0 rated :

I tested with Zencoder and it works

christian

User  
0 rated :

okay okay, ill just leave this here then and see if you see anything wrong.

<script src="/jwplayer/jwplayer.js"></script>
<script>
jwplayer.key="XXXJWPlayerKeyXXX";

jwplayer("player").setup({


file: 'http://[WowzaServerIp]:1935/liveedge/amlst:6b6dfa23/playlist.m3u8',
skin: "/jwplayer/beelden.xml",
width: "100%",
height: "100%",
image: "/lib/img/profiles/20844/thumbnails/263.jpg",
"ga":{},
cast:{
appid:"C139DA08",
railcolor:"#e31e76"
},
autostart: true,
sharing: {heading: "Dela sändningen"},
androidhls: true,

});

jwplayer("player").onError(function(){
if(1425025786 < 1425059100){
$('.video-player').html("<h1 class='white-text'><i class='fa fa-refresh pointer' onclick='location.reload();'></i></h1><h2>Sändningen har ännu inte startat</h2><p class='white pointer payment' onclick='location.reload()'>Uppdatera sidan</p>");
}
else{
$('.video-player').html("<h1 class='white-text'><i class='fa fa-refresh pointer' onclick='location.reload();'></i></h1><h2>Sändningen kunde inte starta</h2><a href='/support/checklista/' target='_blank' class='button payment'>Felsök</a>");
}
});

</script>

Andrew

JW Player Support Agent  
0 rated :

Are you using 6.12 here? This is required, as 6.11 doesn’t support HLS.

christian

User  
0 rated :

Yes we are using 6.12 ads edition, so this code should work? i guess i will just have to try again :)

Andrew

JW Player Support Agent  
0 rated :

I’m not seeing anything apparent in the code, so I would like to see a live site with this code being utilized if possible. Otherwise, there is not much else that I can use to troubleshoot.

christian

User  
0 rated :

I now have a test stream i will keep up for the rest of the day (about 12 more hours) you can find it here: https://play.staylive.se/test_stream.php

The stream is using wowza as content provider + DVR + ABR

Andrew

JW Player Support Agent  
0 rated :

Your skin is based on 6.7, which doesn’t provide Chromecast icons. I’d suggest linking to our cdn version or downloading the latest from your account page.

christian

User  
0 rated :

Oh, does this button function differently from the button you get in the top right of the browser with the chromecast plugin?

yeah i was wondering about that button actually because it is on your videos but not on mine, now i guess i know the reason :) I'll get the web developer to update it.

Have you also found distance from router to be a big issue when dealing with chromecast and livestreams? because i am about 20m away from it right now with a wall or two in the way. Do you think it would make a huge difference ?

Andrew

JW Player Support Agent  
0 rated :

Connection shouldn’t necessarily influence timeliness of the stream. This will affect playback quality if a lower quality stream is used, but the actual delivery should not be majorly affected.

mark

User  
0 rated :

Chromecast button in JW player is not required you can use the browser tab. The issue is CORS

christian

User  
0 rated :

Yes, thanks again Mark, the solution to my problem can be found here: http://support.jwplayer.com/customer/en/portal/questions/11502875-hls-casting-not-working-even-on-6-12?new=11502875

This question has received the maximum number of answers.