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

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

Properties

transport: null | RTCDtlsTransport

Methods

  • Returns Promise<RTCStatsReport>

Generated using TypeDoc