WebRTCPeerConnectionInitialize Method |
Re-initialize this peer connection, closing any previously active connection, and going back to state . A dictionary of options can be passed to configure the peer connection.
Valid options are:
{
"iceServers": [
{
"urls": [ "stun:stun.example.com:3478" ], # One or more STUN servers.
},
{
"urls": [ "turn:turn.example.com:3478" ], # One or more TURN servers.
"username": "a_username", # Optional username for the TURN server.
"credential": "a_password", # Optional password for the TURN server.
}
]
}Namespace: Godot
public Error Initialize( Dictionary configuration = null )
[Missing <returns> documentation for "M:Godot.WebRTCPeerConnection.Initialize(Godot.Collections.Dictionary)"]