RTCConnection | WebSocket Client
The RTCPeerConnection creates internally a websocket client with a custom sub-protocol to communicate to a websocket server. In the RTCOptions.WebSocket property you can find the values that define the websocket connection
- Host: dns or ip address of the server, example: 127.0.0.1 or www.esegece.com.
- Port: listening port of websocket server.
- TLS: enable it the server is using a secure connection.
- Channel: the channel name used to exchange data between peers (both peers must have the same channel name and the max number of peers is 2).