webrtc.interfaces.rtc_rtp_sender#

class webrtc.interfaces.rtc_rtp_sender.RTCRtpSender(native_obj=None)#

Bases: webrtc.base.WebRTCObject

The webrtc.MediaStreamTrack interface represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.

property track: Optional[webrtc.MediaStreamTrack]#

The webrtc.MediaStreamTrack which is being handled by the webrtc.RTCRtpSender. If track is None, the webrtc.RTCRtpSender doesn’t transmit anything.

Type

webrtc.MediaStreamTrack, optional

property transport: Optional[webrtc.RTCDtlsTransport]#

An object representing the underlying transport being used by the sender to exchange packets with the remote peer, or null if the sender isn’t yet connected to transport.

Type

webrtc.RTCDtlsTransport