SignalingDevice.onNewSignalingChannel

DESCRIPTION

Called when a new signaling channel is made. This happens when the device receives an initial message from a new channelId.

DECLARATION

onNewSignalingChannel?: (channel: SignalingChannel, authorized: boolean) => Promise<void>

PARAMETERS

channel:
The created signaling channel.
authorized:
True if the client has been authorized to connect to the device with centralized access control. @returns