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

Support chromecast streaming #9

Open
jgeurts opened this issue Dec 23, 2020 · 4 comments
Open

Support chromecast streaming #9

jgeurts opened this issue Dec 23, 2020 · 4 comments
Assignees
Labels
Hacktoberfest help wanted Extra attention is needed

Comments

@jgeurts
Copy link
Contributor

jgeurts commented Dec 23, 2020

https://www.npmjs.com/package/chromecast-api

@jgeurts
Copy link
Contributor Author

jgeurts commented Feb 27, 2021

Possible background color: https://github.com/davidkrantz/Colorfy

@jgeurts jgeurts added Hacktoberfest help wanted Extra attention is needed labels Oct 1, 2021
@AlithAnar
Copy link
Contributor

I've did a little research on this and https://www.npmjs.com/package/chromecast-api is not a browser version. It supports only pure node environment (needs tls and fs libs).

You could use https://www.npmjs.com/package/react-chromecast but:

  • it works only on chrome-based browsers
  • you need DEFAULT_MEDIA_RECEIVER_APP_ID

There is also an option to use Cast SDK https://developers.google.com/cast/docs/web_sender/integrate which is also available only for chrome-based browsers

@jgeurts
Copy link
Contributor Author

jgeurts commented Oct 18, 2021

Nice, those are good links to have, thank you! I think it's ok if it's chrome only and the react-chromecast library should work for us. Regarding receiver id, let's do something like

const cast = useCast({
  initialize_media_player: process.env.CHROMECAST_RECEIVER_APP_ID || 'DEFAULT_MEDIA_RECEIVER_APP_ID',
  ...
});

@AlithAnar
Copy link
Contributor

Could you assign me to this task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants