userLeft
Emitted when a user has left the room.
You can discriminate between the local user and remote users by the type
field inside the event data
. The reason
field tells if user was kicked, the session has ended, or it was just a normal (generic) leave.
Sample payload
Sample subscription code
Last updated