WebRTCPeerConnection

Inherits: RefCounted < Object

Inherited By: WebRTCPeerConnectionExtension

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

Methods

Error

add_ice_candidate ( String media, int index, String name )

void

close ( )

WebRTCDataChannel

create_data_channel ( String label, Dictionary options={} )

Error

create_offer ( )

ConnectionState

get_connection_state ( ) const

GatheringState

get_gathering_state ( ) const

SignalingState

get_signaling_state ( ) const

Error

initialize ( Dictionary configuration={} )

Error

poll ( )

void

set_default_extension ( StringName extension_class ) static

Error

set_local_description ( String type, String sdp )

Error

set_remote_description ( String type, String sdp )


Signals

data_channel_received ( WebRTCDataChannel channel )

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


ice_candidate_created ( String media, int index, String name )

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


session_description_created ( String type, String sdp )

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


Enumerations

enum ConnectionState:

ConnectionState STATE_NEW = 0

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

ConnectionState STATE_CONNECTING = 1

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

ConnectionState STATE_CONNECTED = 2

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

ConnectionState STATE_DISCONNECTED = 3

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

ConnectionState STATE_FAILED = 4

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

ConnectionState STATE_CLOSED = 5

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


enum GatheringState:

GatheringState GATHERING_STATE_NEW = 0

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

GatheringState GATHERING_STATE_GATHERING = 1

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

GatheringState GATHERING_STATE_COMPLETE = 2

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


enum SignalingState:

SignalingState SIGNALING_STATE_STABLE = 0

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

SignalingState SIGNALING_STATE_HAVE_LOCAL_OFFER = 1

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

SignalingState SIGNALING_STATE_HAVE_REMOTE_OFFER = 2

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

SignalingState SIGNALING_STATE_HAVE_LOCAL_PRANSWER = 3

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

SignalingState SIGNALING_STATE_HAVE_REMOTE_PRANSWER = 4

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

SignalingState SIGNALING_STATE_CLOSED = 5

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


Method Descriptions

Error add_ice_candidate ( String media, int index, String name )

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


void close ( )

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


WebRTCDataChannel create_data_channel ( String label, Dictionary options={} )

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


Error create_offer ( )

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


ConnectionState get_connection_state ( ) const

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


GatheringState get_gathering_state ( ) const

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


SignalingState get_signaling_state ( ) const

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


Error initialize ( Dictionary configuration={} )

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


Error poll ( )

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


void set_default_extension ( StringName extension_class ) static

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


Error set_local_description ( String type, String sdp )

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


Error set_remote_description ( String type, String sdp )

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