Click or drag to resize

WebRTCPeerConnectionSetLocalDescription Method

Sets the SDP description of the local peer. This should be called in response to session_description_created.

After calling this function the peer will start emitting ice_candidate_created (unless an Error different from is returned).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error SetLocalDescription(
	string type,
	string sdp
)

Parameters

type
Type: SystemString

[Missing <param name="type"/> documentation for "M:Godot.WebRTCPeerConnection.SetLocalDescription(System.String,System.String)"]

sdp
Type: SystemString

[Missing <param name="sdp"/> documentation for "M:Godot.WebRTCPeerConnection.SetLocalDescription(System.String,System.String)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.WebRTCPeerConnection.SetLocalDescription(System.String,System.String)"]

See Also