webrtc.interfaces.rtc_ice_transport#

class webrtc.interfaces.rtc_ice_transport.RTCIceTransport(native_obj=None)#

Bases: webrtc.base.WebRTCObject

The webrtc.RTCIceTransport interface provides access to information about the ICE transport layer over which the data is being sent and received. This is particularly useful if you need to access state information about the connection.

property component: webrtc.RTCIceComponent#

The ICE component being used by the transport. The value is one of the strings from the webrtc.RTCIceComponent enumerated type: “RTP” or “RTSP”.

property gatheringState: webrtc.CricketIceGatheringState#

Alias for gathering_state

property gathering_state: webrtc.CricketIceGatheringState#

A member of webrtc.CricketIceGatheringState enum, indicating which current gathering state of the ICE agent

property role: webrtc.RTCIceRole#

A member of webrtc.RTCIceRole; this indicates whether the ICE agent is the one that makes the final decision as to the candidate pair to use or not.

property state: webrtc.RTCIceTransportState#

A member of webrtc.RTCIceTransportState indicating what the current state of the ICE agent is.