Public Attributes

 USER_OFFLINE_QUIT =(0)
 
 USER_OFFLINE_DROPPED =(1)
 
 USER_OFFLINE_BECOME_AUDIENCE =(2)
 

Detailed Description

The reasons why a user leaves the channel or goes offline.

Member Data Documentation

◆ USER_OFFLINE_QUIT

io.agora.recording.common.Common.USER_OFFLINE_REASON_TYPE.USER_OFFLINE_QUIT =(0)

0: The user has quit the call.

◆ USER_OFFLINE_DROPPED

io.agora.recording.common.Common.USER_OFFLINE_REASON_TYPE.USER_OFFLINE_DROPPED =(1)

1: The SDK timed out and the user dropped offline because it has not received any data packet for a period of time. If a user quits the call and the message is not passed to the SDK (due to an unreliable channel), the SDK assumes the user has dropped offline.

◆ USER_OFFLINE_BECOME_AUDIENCE

io.agora.recording.common.Common.USER_OFFLINE_REASON_TYPE.USER_OFFLINE_BECOME_AUDIENCE =(2)

2: The client role has changed from the host to the audience. The option is only valid when you set the channel profile as live broadcast when calling joinChannel.