webrtc.interfaces.rtc_rtp_receiver#
- class webrtc.interfaces.rtc_rtp_receiver.RTCRtpReceiver(native_obj=None)#
Bases:
webrtc.base.WebRTCObjectThe
webrtc.RTCRtpReceiverinterface of the WebRTC API manages the reception and decoding of data for awebrtc.MediaStreamTrackon anwebrtc.RTCPeerConnection.- property track: webrtc.MediaStreamTrack#
The
webrtc.MediaStreamTrackassociated with the currentwebrtc.RTCRtpReceiverinstance.
- 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.