Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeCast receiver with dash.js player sample (sender + receiver) #3264

Conversation

jeffcunat
Copy link
Contributor

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...

@dsilhavy dsilhavy added this to the 3.2.0 milestone Nov 18, 2020
@dsilhavy dsilhavy self-requested a review November 18, 2020 12:04
@dsilhavy dsilhavy merged commit c4781dd into Dash-Industry-Forum:development Dec 4, 2020
@bbert bbert deleted the ChromeCast-receiver-dash branch February 19, 2021 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants