I want to control the output of one computer that is connected to my speakers without having to open that computer.
We could allow the server to generate a url that allows remote control from the client in terms of what song is being played on the client that generated the url (and on the client that opens the url, he can see a mirror of the client that plays music in terms of what music is being played and the songs in the library).
The generated url could just be used to establish a webrtc connection between the player client and the controller clients.
In terms of changes to current functionality:
- We would have to change the player.js::saveState to inform the server of the playstate, which we would share with all the connected controller clients. (The server would have to allow to broadcast the player library information and on player.js::saveState it could periodically also broadcast that state, this way the client's could just see copies of the state of the server).
- We would have to make everything that depends on gettings saving to localstorage on the controller clients to just nop.
What do you think? @benkaiser
I want to control the output of one computer that is connected to my speakers without having to open that computer.
We could allow the server to generate a url that allows remote control from the client in terms of what song is being played on the client that generated the url (and on the client that opens the url, he can see a mirror of the client that plays music in terms of what music is being played and the songs in the library).
The generated url could just be used to establish a webrtc connection between the player client and the controller clients.
In terms of changes to current functionality:
What do you think? @benkaiser