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

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

Properties

transport: RTCDtlsTransport

Methods

  • Returns Promise<RTCStatsReport>

Generated using TypeDoc