pi-webrtc

Reference

How devices and viewers talk to the worker. Read these to write your own client. pi-webrtc and @mazupo/client already do all of this.

  • Token API: get an access token with a public key.
  • Messages: the socket messages, close codes and error codes.
  • Data channels: send messages between a device and its viewers.
  • Voice: viewers talk, and devices play their voices.
Edit on GitHub