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

Livestream Cors error #8

Open
rangav opened this issue Apr 18, 2019 · 4 comments
Open

Livestream Cors error #8

rangav opened this issue Apr 18, 2019 · 4 comments

Comments

@rangav
Copy link

rangav commented Apr 18, 2019

Hi

I am getting CORS error for live stream. Is this library works for live stream?

@mtkopone
Copy link
Owner

I'm not sure. I would assume that depends on the cast devices capabilities.
Also a CORS issue sounds like you don't have access to the stream?

If you have an example stream and code you are using to try load it, I can test on my end.

@KalebMatthews
Copy link

I can confirm Live Stream does work. At least with DASH encoding (.mpd files). I am currently using it in my app with a fork of this package.

@rangav
Copy link
Author

rangav commented Apr 19, 2019

I am trying to cast youtube videos, Normal videos are working, but live stream does not work.

This video works
https://www.youtube.com/watch?v=YAF9BWpzwvI

This one does not work - Live Stream
https://www.youtube.com/watch?v=joZGEQhpqhA

@KalebMatthews
Copy link

From the little bit I looked into this I found this SO issue which briefly mentions a permanent URL to use (youtube.com/channel/CHANNEL_ID/live). I recommend trying to use that link instead of the video link. It could be encoded differently or some other weird things under the hood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants