connect
Summary
Open the WebSocket signaling channel, create an RTCPeerConnection, and complete the SDP/ICE handshake with the server.Signature
Parameters
No parameters.Returns
Type:Promise<void>
Open the WebSocket signaling channel, create an RTCPeerConnection, and complete the SDP/ICE handshake with the server.
Remarks
Resolves once the offer has been dispatched. The data channel may become open shortly after — checkisConnected.