Skip to main content
Module

x/evt/mod.ts>dom.RTCIceGatherer

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.RTCIceGatherer
implements RTCStatsProvider
import { type dom } from "https://deno.land/x/evt@v2.3.1/mod.ts";
const { RTCIceGatherer } = dom;

Properties

readonly
component: RTCIceComponent
onerror: ((this: RTCIceGatherer, ev: Event) => any) | null
onlocalcandidate: ((this: RTCIceGatherer, ev: RTCIceGathererEvent) => any) | null

Methods

createAssociatedGatherer(): RTCIceGatherer
getLocalCandidates(): RTCIceCandidateDictionary[]
getLocalParameters(): RTCIceParameters
addEventListener<K extends keyof RTCIceGathererEventMap>(
type: K,
listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof RTCIceGathererEventMap>(
type: K,
listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void