Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

WebRTCPeerConnectionExtension

Inherits: WebRTCPeerConnection < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Methods

Error

_add_ice_candidate(p_sdp_mid_name: String, p_sdp_mline_index: int, p_sdp_name: String) virtual

void

_close() virtual

WebRTCDataChannel

_create_data_channel(p_label: String, p_config: Dictionary) virtual

Error

_create_offer() virtual

ConnectionState

_get_connection_state() virtual const

GatheringState

_get_gathering_state() virtual const

SignalingState

_get_signaling_state() virtual const

Error

_initialize(p_config: Dictionary) virtual

Error

_poll() virtual

Error

_set_local_description(p_type: String, p_sdp: String) virtual

Error

_set_remote_description(p_type: String, p_sdp: String) virtual


Method Descriptions

Error _add_ice_candidate(p_sdp_mid_name: String, p_sdp_mline_index: int, p_sdp_name: String) virtual 🔗

There is currently no description for this method. Please help us by contributing one!


void _close() virtual 🔗

There is currently no description for this method. Please help us by contributing one!


WebRTCDataChannel _create_data_channel(p_label: String, p_config: Dictionary) virtual 🔗

There is currently no description for this method. Please help us by contributing one!


Error _create_offer() virtual 🔗

There is currently no description for this method. Please help us by contributing one!


ConnectionState _get_connection_state() virtual const 🔗

There is currently no description for this method. Please help us by contributing one!


GatheringState _get_gathering_state() virtual const 🔗

There is currently no description for this method. Please help us by contributing one!


SignalingState _get_signaling_state() virtual const 🔗

There is currently no description for this method. Please help us by contributing one!


Error _initialize(p_config: Dictionary) virtual 🔗

There is currently no description for this method. Please help us by contributing one!


Error _poll() virtual 🔗

There is currently no description for this method. Please help us by contributing one!


Error _set_local_description(p_type: String, p_sdp: String) virtual 🔗

There is currently no description for this method. Please help us by contributing one!


Error _set_remote_description(p_type: String, p_sdp: String) virtual 🔗

There is currently no description for this method. Please help us by contributing one!


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.