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 support #5

Closed
Zero3K opened this issue Jul 14, 2018 · 7 comments · Fixed by #44
Closed

Livestream support #5

Zero3K opened this issue Jul 14, 2018 · 7 comments · Fixed by #44

Comments

@Zero3K
Copy link

Zero3K commented Jul 14, 2018

It would be nice if it supported the playback of Livestreams. Right now I get a "No compatible source was found for this media" error message when trying to view one.

@omarroth
Copy link
Contributor

The main issue with this is that YouTube adds CORS headers on all assets, which functionally means you can't make XHR requests (which are required for viewing livestreams). There is already a feature in Invidious that allows you to get around this, but it's not been tested fully.

@Zero3K
Copy link
Author

Zero3K commented Jul 15, 2018

The feature should be added/enabled on the site so I can test it.

@omarroth
Copy link
Contributor

omarroth commented Jul 16, 2018

I misspoke: there are a couple of issues with that are still being fixed. Namely: how to properly generate a working manifest and serve the necessary assets. You can generate a manifest for the given video by asking /api/manifest/dash/id/:id. It will also probably be necessary to append ?local=true to swap the links in the manifest with those that have a corrected header. Currently it seems like only youtube-dl can use it. If you have youtube-dl installed you can run youtube-dl https://invidio.us/api/manifest/dash/id/:id?local=true.

There are still some issues that need to be worked out, but expect it to be added soon.

@Zero3K
Copy link
Author

Zero3K commented Jul 19, 2018

I wonder if it is possible to view the chat along with the livestream. If it is, please consider implementing it.

@Zero3K
Copy link
Author

Zero3K commented Jul 27, 2018

How much longer until they are supported?

@Zero3K
Copy link
Author

Zero3K commented Aug 3, 2018

So, is it possible to view the chat of a live stream or not?

@omarroth
Copy link
Contributor

omarroth commented Aug 3, 2018

Not currently, although I would recommend opening that as a new issue "Add live chat" or similar.
In addition, it seems pretty closely related to #68. Most of the value of live chat it seems to me would be in being able to respond to the video and others in real time, which requires a Google account.

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

Successfully merging a pull request may close this issue.

2 participants