USER_OFFLINE_REASON_TYPE
Reason for user going offline.
Enumerations
- USER_OFFLINE_QUIT
- 0: User left voluntarily.
- USER_OFFLINE_DROPPED
- 1: Timed out due to not receiving packets from the peer for a long time.
Note: Since the SDK uses an unreliable channel, it is also possible that the peer left the channel voluntarily, but the local side did not receive the leave message and mistakenly judged it as a timeout.
- USER_OFFLINE_BECOME_AUDIENCE
- 2: The user's role switched from host to audience.