ChromeCast receiver with dash.js player sample (sender + receiver)
Created by: jeffcunat
Updated version of the ChromeCast sender and receiver sample. Only Chrome sender has been updated for the moment. The sender is able to initiate a cast session, play a stream, pause, seek, mute, change volume, toggle stats on the TV.
The receiver code should be hosted on the dash.js CDN in order to be available as a published app for ChromeCast. => everything inside samples/chromecast/receiver/**
ChromeCast app registering is done on https://cast.google.com/u/2/publish/ Then the APP_ID of the application will have to be changed in the sender sample
It is possible to test this sample without deploying the receiver on the CDN following these steps
- Register a ChromeCast device for development on the Google Cast SDK Developer Console
- Declare an app with url http://localIP:3000/samples/chromecast/receiver/index.html (with you local IP changed)
- Change the APP_IP in the sample by the one of the newly created app
Further works will come to modify the reference client and the Akamai control bar in order to add a cast button and use the control bar to manage the casted stream.
Feel free to make any suggestions...