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

video stream pass-through #510

Open
totaam opened this issue Feb 2, 2014 · 2 comments
Open

video stream pass-through #510

totaam opened this issue Feb 2, 2014 · 2 comments
Labels
wontfix This will not be worked on
Milestone

Comments

@totaam
Copy link
Collaborator

totaam commented Feb 2, 2014

Similar to #509 and related to #410: we could register a dummy libva video decoder and most video players/browsers would talk to it instead of the X11 server, we can then grab the raw h264 or vp8 stream from it, saving us the cost of decoding it on the server then re-encoding it ourselves!

Potential problems:

  • handling clients (re-)connecting after the stream has started playing: we cannot force key frames to appear when we need them... so we have to wait for the stream to produce one, until then the client won't be able to decode anything.. we can replace it with a static image telling the user to pause/restart the stream
  • sound: each stream has its own sound (usually), so this makes our sound forwarding a little redundant for this use case - this is not a real problem, in fact this makes audio-video synchronization a trivial issue
  • security: this pass-through exposes clients to remote input..
  • bandwidth: we cannot control the video bandwidth used, and if the server has more bandwidth connecting to the Internet server sending the video than it has to the client consuming it... we will have problems. This one is hard to solve.
@totaam
Copy link
Collaborator Author

totaam commented Jan 23, 2017

#56 will have to come first.

@totaam
Copy link
Collaborator Author

totaam commented Mar 28, 2018

Probably easier to just implement a wayland backend (#387) which will give us a surface for video.

@totaam totaam added the wontfix This will not be worked on label Jan 23, 2021
@totaam totaam added this to the future milestone Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant