webrtc.interfaces.rtc_rtp_receiver#
- class webrtc.interfaces.rtc_rtp_receiver.RTCRtpReceiver(native_obj=None)#
Bases:
webrtc.base.WebRTCObject
The
webrtc.RTCRtpReceiver
interface of the WebRTC API manages the reception and decoding of data for awebrtc.MediaStreamTrack
on anwebrtc.RTCPeerConnection
.- property track: webrtc.MediaStreamTrack#
The
webrtc.MediaStreamTrack
associated with the currentwebrtc.RTCRtpReceiver
instance.
- property transport: Optional[webrtc.RTCDtlsTransport]#
An object representing the underlying transport being used by the receiver to exchange packets with the remote peer, or null if the receiver isn’t yet connected to transport.