clappr-chromecast-plugin icon indicating copy to clipboard operation
clappr-chromecast-plugin copied to clipboard

ChromeCast Live Streaming

Open PreDeToR opened this issue 7 years ago • 10 comments

Hi Guys

I have a quick question, I have live streams running on my platform that sometimes run for 12-15 hours and I allow you to go all the way back to the start of the stream if you want.

On clappr this works without a issue but opening the stream on chromecast it starts at the start of the livestream instead of going to the current position.

Have you got any ideas/suggestions on how to change this or get it to start at the current time?

Regards Danie

PreDeToR avatar Jul 13 '17 08:07 PreDeToR

@PreDeToR i think that Chromecast default receiver application does not handle hls live source with DVR capabilities. By default, the Clappr Chromecast plugin use 9DFB77C0 receiver application which is a Styled Media Receiver application.

To handle DVR capabilities, i think it is required to create a Custom Receiver application. (and probably also modify the plugin to handle/dispatch DVR events to mediacontrols component).

kslimani avatar Jul 13 '17 08:07 kslimani

@kslimani thank you for the information, I will look into it and see what I can find.

PreDeToR avatar Jul 13 '17 09:07 PreDeToR

I have fight with this. I think that is somehow stream dependent. Something about time metadata in the stream. With my stream it is behaving in Your way, but on the same site/plugin and with differen stream it is working like it should... If you have programming knowlage i can give you test stream...

paralichko avatar Jul 15 '17 20:07 paralichko

Hi @paralichko

if your test stream works correctly and is hls, I would love to have a look at it and see if I can see any differences, would love to get mine working correctly

PreDeToR avatar Jul 20 '17 07:07 PreDeToR

Give me Your skype contact or find me in skype - paralichko

paralichko avatar Jul 20 '17 08:07 paralichko

@kslimani & @towerz with the latest stable version, the player seems to work much better.

I have a theory as to why the live stream (with DVR) is not working correctly.

When I load up the live stream in clappr its all working fine, when I switch over to casting, the seek bar timers all go away, and from what I can see this forces the currenttime to always be 0 when we send notifications to chromecast for seek changes.

Any ideas on where to look to fix this?

PreDeToR avatar Jul 21 '17 13:07 PreDeToR

Hi Guys @kslimani & @towerz any ideas on my question above?

PreDeToR avatar Jul 27 '17 09:07 PreDeToR

@PreDeToR as mentionned above, from my knowledge, handle live stream with DVR in Chromecast, require to create a Custom receiver application (and maybe also modify the playback used by plugin to reproduce the behaviours of HLSJS Clappr playback for live+dvr).

kslimani avatar Jul 27 '17 10:07 kslimani

@kslimani - please check www.elemental.tv - they are using "normal" receiver and it's working. I know this, because if i get their stream, it's working also on my test page...

paralichko avatar Jul 28 '17 06:07 paralichko

@summitsingh And which from this initialisation is fixing the problem ?

paralichko avatar Feb 24 '18 14:02 paralichko