:github_url: hide .. _class_WebRTCPeerConnectionExtension: WebRTCPeerConnectionExtension ============================= **繼承:** :ref:`WebRTCPeerConnection` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group 方法 ---- .. table:: :widths: auto +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`_add_ice_candidate`\ (\ p_sdp_mid_name\: :ref:`String`, p_sdp_mline_index\: :ref:`int`, p_sdp_name\: :ref:`String`\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`_close`\ (\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`WebRTCDataChannel` | :ref:`_create_data_channel`\ (\ p_label\: :ref:`String`, p_config\: :ref:`Dictionary`\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`_create_offer`\ (\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ConnectionState` | :ref:`_get_connection_state`\ (\ ) |virtual| |required| |const| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GatheringState` | :ref:`_get_gathering_state`\ (\ ) |virtual| |required| |const| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`SignalingState` | :ref:`_get_signaling_state`\ (\ ) |virtual| |required| |const| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`_initialize`\ (\ p_config\: :ref:`Dictionary`\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`_poll`\ (\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`_set_local_description`\ (\ p_type\: :ref:`String`, p_sdp\: :ref:`String`\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`_set_remote_description`\ (\ p_type\: :ref:`String`, p_sdp\: :ref:`String`\ ) |virtual| |required| | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group 方法說明 -------- .. _class_WebRTCPeerConnectionExtension_private_method__add_ice_candidate: .. rst-class:: classref-method :ref:`Error` **_add_ice_candidate**\ (\ p_sdp_mid_name\: :ref:`String`, p_sdp_mline_index\: :ref:`int`, p_sdp_name\: :ref:`String`\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__close: .. rst-class:: classref-method |void| **_close**\ (\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__create_data_channel: .. rst-class:: classref-method :ref:`WebRTCDataChannel` **_create_data_channel**\ (\ p_label\: :ref:`String`, p_config\: :ref:`Dictionary`\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__create_offer: .. rst-class:: classref-method :ref:`Error` **_create_offer**\ (\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__get_connection_state: .. rst-class:: classref-method :ref:`ConnectionState` **_get_connection_state**\ (\ ) |virtual| |required| |const| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__get_gathering_state: .. rst-class:: classref-method :ref:`GatheringState` **_get_gathering_state**\ (\ ) |virtual| |required| |const| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__get_signaling_state: .. rst-class:: classref-method :ref:`SignalingState` **_get_signaling_state**\ (\ ) |virtual| |required| |const| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__initialize: .. rst-class:: classref-method :ref:`Error` **_initialize**\ (\ p_config\: :ref:`Dictionary`\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__poll: .. rst-class:: classref-method :ref:`Error` **_poll**\ (\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__set_local_description: .. rst-class:: classref-method :ref:`Error` **_set_local_description**\ (\ p_type\: :ref:`String`, p_sdp\: :ref:`String`\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_WebRTCPeerConnectionExtension_private_method__set_remote_description: .. rst-class:: classref-method :ref:`Error` **_set_remote_description**\ (\ p_type\: :ref:`String`, p_sdp\: :ref:`String`\ ) |virtual| |required| :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要使用者覆寫才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (本方法沒有副作用。不會修改該實例的任何成員變數。)` .. |vararg| replace:: :abbr:`vararg (本方法除了這裡描述的參數外,還可以接受任意數量的參數。)` .. |constructor| replace:: :abbr:`constructor (本方法用於建構一個型別。)` .. |static| replace:: :abbr:`static (本方法無需實例即可呼叫,因此可以直接使用類別名稱呼叫。)` .. |operator| replace:: :abbr:`operator (本方法描述將本型別作為左運算元時可用的有效運算子。)` .. |bitfield| replace:: :abbr:`BitField (此值是由下列旗標組成的位元遮罩整數。)` .. |void| replace:: :abbr:`void (無回傳值。)`