Enumeration Members
CANCEL
CANCEL: 1
REJECT
REJECT: 2
HANGUP
HANGUP: 3
BUSY_LINE
BUSY_LINE: 4
NO_RESPONSE
NO_RESPONSE: 5
ENGINE_UNSUPPORTED
ENGINE_UNSUPPORTED: 6
NETWORK_ERROR
NETWORK_ERROR: 7
GET_MEDIA_RESOURCES_ERROR
GET_MEDIA_RESOURCES_ERROR: 8
PUBLISH_ERROR
PUBLISH_ERROR: 9
SUBSCRIBE_ERROR
SUBSCRIBE_ERROR: 10
REMOTE_CANCEL
REMOTE_CANCEL: 11
REMOTE_REJECT
REMOTE_REJECT: 12
REMOTE_HANGUP
REMOTE_HANGUP: 13
REMOTE_BUSY_LINE
REMOTE_BUSY_LINE: 14
REMOTE_NO_RESPONSE
REMOTE_NO_RESPONSE: 15
REMOTE_ENGINE_UNSUPPORTED
REMOTE_ENGINE_UNSUPPORTED: 16
REMOTE_NETWORK_ERROR
REMOTE_NETWORK_ERROR: 17
REMOTE_GET_MEDIA_RESOURCE_ERROR
REMOTE_GET_MEDIA_RESOURCE_ERROR: 18
REMOTE_PUBLISH_ERROR
REMOTE_PUBLISH_ERROR: 19
REMOTE_SUBSCRIBE_ERROR
REMOTE_SUBSCRIBE_ERROR: 20
OTHER_CLIENT_JOINED_CALL
OTHER_CLIENT_JOINED_CALL: 21
OTHER_CLIENT_IN_CALL
OTHER_CLIENT_IN_CALL: 22
KICKED_BY_SERVER
KICKED_BY_SERVER: 23
ACCEPT_SYSTEM_CALL
ACCEPT_SYSTEM_CALL: 24
REMOTE_OTHER_CLIENT_JOINED_CALL
REMOTE_OTHER_CLIENT_JOINED_CALL: 31
REMOTE_OTHER_CLIENT_IN_CALL
REMOTE_OTHER_CLIENT_IN_CALL: 32
REMOTE_KICKED_BY_SERVER
REMOTE_KICKED_BY_SERVER: 33
REMOTE_ACCEPT_SYSTEM_CALL
REMOTE_ACCEPT_SYSTEM_CALL: 34
ACCEPT_BY_OTHER_CLIENT
ACCEPT_BY_OTHER_CLIENT: 101
HANGUP_BY_OTHER_CLIENT
HANGUP_BY_OTHER_CLIENT: 102
ADDED_TO_BLACKLIST
ADDED_TO_BLACKLIST: 103
SERVICE_NOT_OPENED
SERVICE_NOT_OPENED: 104
挂断原因
根据原有 HangupReason 设计,己方原因与对方原因有相差 10 的差距. 现有本地原因取值范围: 1 ~ 10, 远端原因取值范围: 11 ~ 20. 为便于 HangupReason 扩展,保留 100 以内的取值. 需要再次扩展时,己方原因使用: 21 ~ 30, 对应对方原因使用: 31 ~ 40, 以此类推, 己方原因使用: 41 ~ 50, 对方原因使用: 51 ~ 60, 己方原因使用: 61 ~ 70, 对方原因使用: 71 ~ 80, 己方原因使用: 71 ~ 90, 对方原因使用: 91 ~ 100.
各平台独有字段范围 Android 201 ~ 299 iOS 301 ~ 399 Web 401 ~ 499 详细文档:https://gitbook.rongcloud.net/rtc-docs/#/rtc-client/ios/analysis/calllib/HangupReason