- Clone repo
npm ci
- Build with
npm run build
- Take contents from
dist
and host somewhere publicly accessible (upload to s3 or viangrok
for faster turnaround) - Create new application on the google cast console and point to url form step 1
- Make sure your chromecast device is registered in the google cast console
- Change player config to use newly created application ID from step 2
- Casting device should now be visible in the chrome remote debugger (
chrome://inspect/#devices
) - Whenever you make changes to the sender code you can clear the chromecast cache by calling
window.location.reload()
in the chromecast remote debugger
I've created a new cast application but cannot cast to it
- Make sure to reboot your chromecast device after creating a new application, otherwise your chromecast might not be able to connect.
I am not able to play back DRM protected content
- DRM playback only works if you host the chromecast receiver application via https. (You should see Error code 6001 in the debugger.)