Readonly
clientReadonly
isIndicates whether the WebRTC connection is live or not.
Accepts a WebRTC answer. This is the third (and last) step in the WebRTC handshake process.
Accepts a WebRTC offer and creates a WebRTC answer. This is the second step in the WebRTC handshake process.
Create a WebRTC offer. This is the first step in the WebRTC handshake process.
Remove all internal state to free up resources.
Send a message to the other peer in the WebRTC connection. This will throw an error if the connection has not been established yet.
A single peer-to-peer WebRTC controller. It is to be used like this:
If everything went well, after those 3 steps you'll now have a live WebRTC connection!