Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.RTCRtpReceiver

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.RTCRtpReceiver
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { RTCRtpReceiver } = dom;

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

Properties

readonly
rtcpTransport: RTCDtlsTransport | null
readonly
track: MediaStreamTrack
readonly
transport: RTCDtlsTransport | null

Methods

getContributingSources(): RTCRtpContributingSource[]
getParameters(): RTCRtpReceiveParameters
getStats(): Promise<RTCStatsReport>
getSynchronizationSources(): RTCRtpSynchronizationSource[]