Public Attributes | |
LEAVE_CODE_INIT =(0) | |
LEAVE_CODE_SIG =(1<<1) | |
LEAVE_CODE_NO_USERS =(1<<2) | |
LEAVE_CODE_TIMER_CATCH =(1<<3) | |
LEAVE_CODE_CLIENT_LEAVE =(1<<4) | |
The reasons why the recording server leaves the channel. You can perform a bitwise AND operation on the code and each enum value, and those with non-zero results are the reason for the exit. For example, if you perform a bit-by-bit AND operation on code 6 (0b110) and each enum value, only LEAVE_CODE_SIG
(0b10) and LEAVE_CODE_NO_USERS
(0b100) get a non-zero result. The reasons for exiting, in this case, include a timeout and a signal triggering the exit.
io.agora.recording.common.Common.LEAVE_PATH_CODE.LEAVE_CODE_INIT =(0) |
0: The initialization fails.
io.agora.recording.common.Common.LEAVE_PATH_CODE.LEAVE_CODE_SIG =(1<<1) |
1: The AgoraCoreService process receives the SIGINT signal.
io.agora.recording.common.Common.LEAVE_PATH_CODE.LEAVE_CODE_NO_USERS =(1<<2) |
2: The recording server automatically leaves the channel and stops recording because the channel has no user.
io.agora.recording.common.Common.LEAVE_PATH_CODE.LEAVE_CODE_TIMER_CATCH =(1<<3) |
3: Ignore it.
io.agora.recording.common.Common.LEAVE_PATH_CODE.LEAVE_CODE_CLIENT_LEAVE =(1<<4) |
4: The recording server calls the leaveChannel method to leave the channel.