/bitmovin-player-caf-receiver

CAF receiver implementation to communication with Bitmovin Player SDKs

Primary LanguageTypeScriptMIT LicenseMIT

CAF Receiver

Getting started

  1. Clone repo
  2. npm ci
  3. Build with npm run build

Debug on a chromecast

  1. Build receiver and host contents from dist folder somewhere publicly accessible (e.g. upload to s3 or host via ngrok)
  2. Create new application on the google cast console and point to url from step 1
  3. Make sure your chromecast device is registered in the google cast console
  4. Change player config to use newly created application ID from step 2
  5. Casting device should now be visible in the chrome remote debugger (chrome://inspect/#devices)
  6. Whenever you make changes to the sender code you can clear the chromecast cache by calling window.location.reload() in the chromecast remote debugger

Troubleshooting

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.
  • If your cast application is unpublished it will only work on registered devices. (See 2. in Debug on a chromecast)

I am not able to play back DRM protected content

  • DRM playback only works if you host the chromecast receiver application via https. (Otherwise you should see Error code 6001 in the debugger.)