webrtc.interfaces.rtc_rtp_sender#
- class webrtc.interfaces.rtc_rtp_sender.RTCRtpSender(native_obj=None)#
Bases:
webrtc.base.WebRTCObjectThe
webrtc.MediaStreamTrackinterface 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.MediaStreamTrackwhich is being handled by thewebrtc.RTCRtpSender. If track isNone, thewebrtc.RTCRtpSenderdoesn’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.