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

MDN Reference

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

Properties

jitterBufferTarget: null | number
transform: null | RTCRtpScriptTransform
transport: null | RTCDtlsTransport

Methods

  • Returns Promise<RTCStatsReport>