We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 122950d commit 29f1679Copy full SHA for 29f1679
src/lib/index.ts
@@ -8,7 +8,7 @@ export function preload(): void { nodeDataChannel.preload(); }
8
export function initLogger(level: LogLevel): void { nodeDataChannel.initLogger(level); }
9
export function cleanup(): void { nodeDataChannel.cleanup(); }
10
export function setSctpSettings(settings: SctpSettings): void { nodeDataChannel.setSctpSettings(settings); }
11
-export function listenIceUdpMux(port: number, cb?: (req: { ufrag: string, host: string, port: number }) => void, host?: string): void { nodeDataChannel.listenIceUdpMux(port, cb, host); }
+export function listenIceUdpMux(port: number, cb?: (req: { ufrag: string, host: string, port: number }) => void | null, host?: string | null): void { nodeDataChannel.listenIceUdpMux(port, cb, host); }
12
13
export interface Audio {
14
addAudioCodec(payloadType: number, codec: string, profile?: string): void;
0 commit comments