Click or drag to resize

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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error Initialize(
	Dictionary configuration = null
)

Parameters

configuration (Optional)
Type: Godot.CollectionsDictionary
If the parameter is null, then the default value is new Godot.Collections.Dictionary()

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.WebRTCPeerConnection.Initialize(Godot.Collections.Dictionary)"]

See Also