WebRTCPeerConnection.initialize

Re-initialize this peer connection, closing any previously active connection, and going back to state constant STATE_NEW. A dictionary of options can be passed to configure the peer connection. Valid options are:

More...
struct WebRTCPeerConnection
@nogc nothrow
GodotError
initialize
(
in Dictionary configuration = Dictionary.make()
)

Detailed Description

{ "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. } ] }

Meta