ChromeCast receiver with dash.js player sample (sender + receiver) #3264
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
https://github.com/Orange-OpenSource/dash.js/blob/0803bf923a4b350a76210abd14c82b7673ccab21/samples/chromecast/sender/js/CastSenderService.js#L3
It is possible to test this sample without deploying the receiver on the CDN following these steps
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...