:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the WebRTCPeerConnectionExtension.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_WebRTCPeerConnectionExtension: WebRTCPeerConnectionExtension ============================= **Inherits:** :ref:`WebRTCPeerConnection` **<** :ref:`RefCounted` **<** :ref:`Object` Methods ------- +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_add_ice_candidate` **(** :ref:`String` p_sdp_mid_name, :ref:`int` p_sdp_mline_index, :ref:`String` p_sdp_name **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_close` **(** **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`_create_data_channel` **(** :ref:`String` p_label, :ref:`Dictionary` p_config **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_create_offer` **(** **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_connection_state` **(** **)** |virtual| |const| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_initialize` **(** :ref:`Dictionary` p_config **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_poll` **(** **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_set_local_description` **(** :ref:`String` p_type, :ref:`String` p_sdp **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_set_remote_description` **(** :ref:`String` p_type, :ref:`String` p_sdp **)** |virtual| | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`make_default` **(** **)** | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Method Descriptions ------------------- .. _class_WebRTCPeerConnectionExtension_method__add_ice_candidate: - :ref:`int` **_add_ice_candidate** **(** :ref:`String` p_sdp_mid_name, :ref:`int` p_sdp_mline_index, :ref:`String` p_sdp_name **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__close: - void **_close** **(** **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__create_data_channel: - :ref:`Object` **_create_data_channel** **(** :ref:`String` p_label, :ref:`Dictionary` p_config **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__create_offer: - :ref:`int` **_create_offer** **(** **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__get_connection_state: - :ref:`int` **_get_connection_state** **(** **)** |virtual| |const| ---- .. _class_WebRTCPeerConnectionExtension_method__initialize: - :ref:`int` **_initialize** **(** :ref:`Dictionary` p_config **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__poll: - :ref:`int` **_poll** **(** **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__set_local_description: - :ref:`int` **_set_local_description** **(** :ref:`String` p_type, :ref:`String` p_sdp **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method__set_remote_description: - :ref:`int` **_set_remote_description** **(** :ref:`String` p_type, :ref:`String` p_sdp **)** |virtual| ---- .. _class_WebRTCPeerConnectionExtension_method_make_default: - void **make_default** **(** **)** .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`