restreamer
restreamer copied to clipboard
Chromecast Bug and Solution
Noticed awhile back Chromecast wasn't working. It appears the source origin was missing and the default receiver id is required. I had posted this under restreamer-ui a few months back.
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'
},
},
};
Thanks. We will take a look at it.
New version appears to remove changes I make to fix it with portainer volume browser.