RTCIceTransport
Provides access to information about the ICE transport layer over which the data is being sent and received.
interface RTCIceTransport extends EventTarget {
readonly gatheringState: RTCIceGathererState;
ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
readonly state: RTCIceTransportState;
addEventListener<K extends keyof RTCIceTransportEventMap>(
type: K,
listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof RTCIceTransportEventMap>(
type: K,
listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var RTCIceTransport: {
prototype: RTCIceTransport;
new (): RTCIceTransport;
};§Extends
§Properties
§
readonly gatheringState: RTCIceGathererState
[src]§
ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null
[src]§
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null
[src]§
readonly state: RTCIceTransportState
[src]§Methods
§
addEventListener<K extends keyof RTCIceTransportEventMap>(
[src]type: K,
listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof RTCIceTransportEventMap>(
[src]type: K,
listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void