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

Detect and display when event stream is live #34

Open
jmsv opened this issue Sep 21, 2022 · 0 comments
Open

Detect and display when event stream is live #34

jmsv opened this issue Sep 21, 2022 · 0 comments
Labels
low priority Not in a hurry

Comments

@jmsv
Copy link
Member

jmsv commented Sep 21, 2022

Looks like this is possible with this kinda request:

https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=ABCDEF&type=video&eventType=live&key=XXXXXX

replacing the channelId param value with the Fusion channel ID, and the key value with a Google Cloud API key with access to the YouTube Data API v3

We could use a Next.js endpoint to check if the stream is live, and use this in the LiveEvent component

@jmsv jmsv added the low priority Not in a hurry label Sep 21, 2022
@jmsv jmsv modified the milestone: Before September Event Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Not in a hurry
Projects
None yet
Development

No branches or pull requests

1 participant