onUserJoined property
Callback when a remote user (in communication) or host (in live streaming) joins the current channel.
In communication scenarios, this callback indicates that a remote user has joined the channel. If other users are already in the channel, the newly joined user also receives callbacks for those existing users. In live streaming scenarios, this callback indicates that a host has joined the channel. If other hosts are already in the channel, the newly joined user also receives callbacks for those existing hosts. It is recommended that the number of co-hosts does not exceed 32 (including no more than 17 video co-hosts).
connectionConnection information. See RtcConnection.remoteUidThe ID of the remote user/host who joined the channel.elapsedThe time elapsed (in milliseconds) from the local user calling joinChannel to the triggering of this callback.
Implementation
final void Function(RtcConnection connection, int remoteUid, int elapsed)?
onUserJoined;