Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.RTCRtpSender
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { RTCRtpSender } = dom;

Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.

Properties

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

Methods

getParameters(): RTCRtpSendParameters
getStats(): Promise<RTCStatsReport>
replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>
setParameters(parameters: RTCRtpSendParameters): Promise<void>
setStreams(...streams: MediaStream[]): void