websound / midisocket

Remote Performance example using WebMIDI and WebRTC
6 stars 3 forks source link

'Swap' socket.io server for peer.js server #2

Closed obensource closed 8 months ago

obensource commented 8 years ago
  1. Update Bower dependencies to support needed modules from example
  2. Replace socket.io server for a peer.js server starting with the one in David's example
obensource commented 8 years ago

@diasdavid valuable convo copied over here:

@diasdavid: How we can connect both peers through peerJS if we don't know ahead the other peer ID in the peerJS world?

@obensource: that's a good question. To be practical we'd need a user registry broadcast to all clients based on who has the app open (in order to choose a peer to ask to connect to) which we can later add auth and a 'friends' service to. For the first simple demo though we'll have to have the user get the peer ID from the other person they intend to play with and manually enter it in a form on a splash page? If you have a better idea let me know, but it doesn't have to be better than that for demoing, imo. We just need to connect two of us as easily as possible atm.

obensource commented 8 years ago

This Issue is up for review and will be addressed or closed soon.