webrtc.interfaces.rtc_sctp_transport#

class webrtc.interfaces.rtc_sctp_transport.RTCSctpTransport(native_obj=None)#

Bases: webrtc.base.WebRTCObject

The webrtc.RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security (DTLS) transport over which SCTP packets for all of an webrtc.RTCPeerConnection’s data channels are sent and received.

property maxChannels: Optional[int]#

Alias for max_channels

property maxMessageSize: Optional[float]#

Alias for max_message_size

property max_channels: Optional[int]#

An integer value indicating the maximum number of webrtc.RTCDataChannel that can be open simultaneously.

Type

int, optional

property max_message_size: Optional[float]#

An integer value indicating the maximum size, in bytes, of a message which can be sent using the webrtc.RTCDataChannel.send method.

Type

float, optional

property state: webrtc.SctpTransportState#

A enumerated value indicating the state of the SCTP transport.

Type

webrtc.SctpTransportState

property transport: webrtc.RTCDtlsTransport#

An object representing the DTLS transport used for the transmission and receipt of data packets.

Type

webrtc.RTCDtlsTransport