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 a webrtc.MediaStreamTrack on an webrtc.RTCPeerConnection.

property track: webrtc.MediaStreamTrack#

The webrtc.MediaStreamTrack associated with the current webrtc.RTCRtpReceiver instance.

Type

webrtc.MediaStreamTrack

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.

Type

webrtc.RTCDtlsTransport