RTCDtlsTransport
The DTLS transport that RTP and SCTP packets go over.
- class webrtc.interfaces.rtc_dtls_transport.RTCDtlsTransport(native_obj=None)
The DTLS transport that secures the packets of a
webrtc.RTCPeerConnection.The RTP and RTCP packets of its senders and receivers, and the SCTP packets of its data channels, go over it.
- Events:
statechange (
webrtc.Event) βstatechanged.error (
webrtc.RTCErrorEvent) β The transport failed. The event carries thewebrtc.RTCErrorthat explains why.
Events
statechange:Eventerror:RTCErrorEvent
Handlers are registered with
on().- property ice_transport: RTCIceTransport
The ICE transport the DTLS packets go over.
See MDN: RTCDtlsTransport/iceTransport.
- Type:
- property state: RTCDtlsTransportState
How far the DTLS handshake got, or whether it failed or closed.