Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RTCRtpReceiver

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

interface RTCRtpReceiver {
readonly track: MediaStreamTrack;
readonly transport: RTCDtlsTransport | null;
getContributingSources(): RTCRtpContributingSource[];
getParameters(): RTCRtpReceiveParameters;
getStats(): Promise<RTCStatsReport>;
getSynchronizationSources(): RTCRtpSynchronizationSource[];
}
var RTCRtpReceiver: {
prototype: RTCRtpReceiver;
new (): RTCRtpReceiver;
getCapabilities(kind: string): RTCRtpCapabilities | null;
}
;

§Properties

§
readonly track: MediaStreamTrack
[src]
§
readonly transport: RTCDtlsTransport | null
[src]

§Methods

§
getContributingSources(): RTCRtpContributingSource[]
[src]
§
getStats(): Promise<RTCStatsReport>
[src]
§
getSynchronizationSources(): RTCRtpSynchronizationSource[]
[src]