[RFC] Session sharing via streaming
andersevenrud opened this issue · 1 comments
There's been quite a few discussion about this topic, and I think it would be useful to have an out of the box solution to share a desktop session for collaboration and remote debugging.
Since most of the internal effects emits events, it's possible to relay and broadcast these via the back-end.
The challenge here is to create some sort of queue system that correctly plays back all of these events on a client that is listening for these broadcasts.
User input can be recorded from the DOM, which means that the root elements of these events needs to have a unique ID that is available in all of the clients. Application launches happens as a side-effect, so any DOM events that depends on an application window etc. would have to be postponed until visible.
I will come back to this issue and write a more thorough article as well as some pseudo implementation code.
Closing because I have no time to look into this. If anyone sees this, feel free to pick up.