node-datachannel
Version:
WebRTC For Node.js and Electron. libdatachannel node bindings.
16 lines (13 loc) • 584 B
TypeScript
import RTCDataChannel from './RTCDataChannel.js';
declare class RTCPeerConnectionIceEvent extends Event implements globalThis.RTCPeerConnectionIceEvent {
#private;
constructor(candidate: globalThis.RTCIceCandidate);
get candidate(): globalThis.RTCIceCandidate;
get url(): string;
}
declare class RTCDataChannelEvent extends Event implements globalThis.RTCDataChannelEvent {
#private;
constructor(type: string, eventInitDict: globalThis.RTCDataChannelEventInit);
get channel(): RTCDataChannel;
}
export { RTCDataChannelEvent, RTCPeerConnectionIceEvent };