Click or drag to resize

WebRTCPeerConnectionSetRemoteDescription Method

Sets the SDP description of the remote peer. This should be called with the values generated by a remote peer and received over the signaling server.

If type is offer the peer will emit session_description_created with the appropriate answer.

If type is answer the peer will start emitting ice_candidate_created.

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

Parameters

type
Type: SystemString

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

sdp
Type: SystemString

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

Return Value

Type: Error

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

See Also