datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.64k stars 430 forks source link

Chromecast Bug and Solution #689

Open badincite opened 4 months ago

badincite commented 4 months ago

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'
        },
    },
};
ioppermann commented 4 months ago

Thanks. We will take a look at it.

badincite commented 1 month ago

New version appears to remove changes I make to fix it with portainer volume browser.