Sets a callback for join confirmation events on the global client
This function is part of the singleton API. The callback is triggered when the join operation is confirmed by the server.
The callback function to invoke
true if the callback was set successfully
rtms.onJoinConfirm((reason) => { console.log(`Join confirmed with reason code: ${reason}`);}); Copy
rtms.onJoinConfirm((reason) => { console.log(`Join confirmed with reason code: ${reason}`);});
Sets a callback for join confirmation events on the global client
This function is part of the singleton API. The callback is triggered when the join operation is confirmed by the server.