Interface RTCRtpReceiver

This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.

MDN Reference

interface RTCRtpReceiver {
    track: MediaStreamTrack;
    transform: null | RTCRtpScriptTransform;
    transport: null | RTCDtlsTransport;
    getContributingSources(): RTCRtpContributingSource[];
    getParameters(): RTCRtpReceiveParameters;
    getStats(): Promise<RTCStatsReport>;
    getSynchronizationSources(): RTCRtpSynchronizationSource[];
}

Properties

transform: null | RTCRtpScriptTransform
transport: null | RTCDtlsTransport

Methods

  • Returns Promise<RTCStatsReport>