Skip to content

Remote control #160

Description

@xtrm0

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions