restreamer-ui icon indicating copy to clipboard operation
restreamer-ui copied to clipboard

Chromecast not working and how to correct it.

Open badincite opened this issue 2 years ago • 3 comments

Noticed awhile back Chromecast wasn't working. It appears the source origin was missing and the default receiver id is required.

var config = {
	controls: true,
	poster: playerConfig.poster + '?t=' + String(new Date().getTime()),
	autoplay: autoplay ? 'muted' : false,
	muted: true,
	liveui: true,
	responsive: true,
	fluid: true,
	sources: [{ src: window.location.origin + '/' + playerConfig.source, type: 'application/x-mpegURL' }],
	plugins: {
		license: playerConfig.license,
		chromecast: {
			receiverApplicationId: 'CC1AD845'
		},
	},
};

badincite avatar Jul 30 '23 02:07 badincite

@badincite Can you be more specific with the file(s) that you patched with this? I'm currently having some issues with the Chromecast as well and believe this issue has something to do with it.

Using Cactool I'm able to pass the stream M3U from restreamer directly to my Chromecast which would lead me to believe something like what you're pointing out is causing my issue.

SuperGlobal avatar Sep 25 '23 01:09 SuperGlobal

@SuperGlobal the video.js file here https://github.com/datarhei/restreamer-ui/blob/main/public/_playersite/videojs.js

badincite avatar Oct 01 '23 01:10 badincite

This still is an issue with the new update

badincite avatar Dec 04 '23 20:12 badincite