// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

enum TXLiteAVError {
  ERR_NULL /* 0 */,
  ERR_ROOM_ENTER_FAIL /* -3301 */,
  ERR_ENTER_ROOM_PARAM_NULL /* -3316 */,
  ERR_SDK_APPID_INVALID /* -3317 */,
  ERR_ROOM_ID_INVALID /* -3318 */,
  ERR_USER_ID_INVALID /* -3319 */,
  ERR_USER_SIG_INVALID /* -3320 */,
  ERR_ROOM_REQUEST_ENTER_ROOM_TIMEOUT /* -3308 */,
  ERR_SERVER_INFO_SERVICE_SUSPENDED /* -100013 */,
  ERR_ROOM_REQUEST_QUIT_ROOM_TIMEOUT /* -3325 */,
  ERR_CAMERA_START_FAIL /* -1301 */,
  ERR_CAMERA_NOT_AUTHORIZED /* -1314 */,
  ERR_CAMERA_SET_PARAM_FAIL /* -1315 */,
  ERR_CAMERA_OCCUPY /* -1316 */,
  ERR_MIC_START_FAIL /* -1302 */,
  ERR_MIC_NOT_AUTHORIZED /* -1317 */,
  ERR_MIC_SET_PARAM_FAIL /* -1318 */,
  ERR_MIC_OCCUPY /* -1319 */,
  ERR_MIC_STOP_FAIL /* -1320 */,
  ERR_SPEAKER_START_FAIL /* -1321 */,
  ERR_SPEAKER_SET_PARAM_FAIL /* -1322 */,
  ERR_SPEAKER_STOP_FAIL /* -1323 */,
  ERR_SCREEN_CAPTURE_START_FAIL /* -1308 */,
  ERR_SCREEN_CAPTURE_UNSURPORT /* -1309 */,
  ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_SUB_VIDEO /* -102015 */,
  ERR_SERVER_CENTER_ANOTHER_USER_PUSH_SUB_VIDEO /* -102016 */,
  ERR_SCREEN_CAPTURE_STOPPED /* -7001 */,
  ERR_VIDEO_ENCODE_FAIL /* -1303 */,
  ERR_UNSUPPORTED_RESOLUTION /* -1305 */,
  ERR_AUDIO_ENCODE_FAIL /* -1304 */,
  ERR_UNSUPPORTED_SAMPLERATE /* -1306 */,
  ERR_PIXEL_FORMAT_UNSUPPORTED /* -1327 */,
  ERR_BUFFER_TYPE_UNSUPPORTED /* -1328 */,
  ERR_PUBLISH_CDN_STREAM_REQUEST_TIME_OUT /* -3321 */,
  ERR_CLOUD_MIX_TRANSCODING_REQUEST_TIME_OUT /* -3322 */,
  ERR_PUBLISH_CDN_STREAM_SERVER_FAILED /* -3323 */,
  ERR_CLOUD_MIX_TRANSCODING_SERVER_FAILED /* -3324 */,
  ERR_ROOM_REQUEST_START_PUBLISHING_TIMEOUT /* -3333 */,
  ERR_ROOM_REQUEST_START_PUBLISHING_ERROR /* -3334 */,
  ERR_ROOM_REQUEST_STOP_PUBLISHING_TIMEOUT /* -3335 */,
  ERR_ROOM_REQUEST_STOP_PUBLISHING_ERROR /* -3336 */,
  ERR_ROOM_REQUEST_CONN_ROOM_TIMEOUT /* -3326 */,
  ERR_ROOM_REQUEST_DISCONN_ROOM_TIMEOUT /* -3327 */,
  ERR_ROOM_REQUEST_CONN_ROOM_INVALID_PARAM /* -3328 */,
  ERR_CONNECT_OTHER_ROOM_AS_AUDIENCE /* -3330 */,
  ERR_SERVER_CENTER_CONN_ROOM_NOT_SUPPORT /* -102031 */,
  ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_NUM /* -102032 */,
  ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_RETRY_TIMES /* -102033 */,
  ERR_SERVER_CENTER_CONN_ROOM_REQ_TIMEOUT /* -102034 */,
  ERR_SERVER_CENTER_CONN_ROOM_REQ /* -102035 */,
  ERR_SERVER_CENTER_CONN_ROOM_NO_SIG /* -102036 */,
  ERR_SERVER_CENTER_CONN_ROOM_DECRYPT_SIG /* -102037 */,
  ERR_SERVER_CENTER_CONN_ROOM_NO_KEY /* -102038 */,
  ERR_SERVER_CENTER_CONN_ROOM_PARSE_SIG /* -102039 */,
  ERR_SERVER_CENTER_CONN_ROOM_INVALID_SIG_TIME /* -102040 */,
  ERR_SERVER_CENTER_CONN_ROOM_SIG_GROUPID /* -102041 */,
  ERR_SERVER_CENTER_CONN_ROOM_NOT_CONNED /* -102042 */,
  ERR_SERVER_CENTER_CONN_ROOM_USER_NOT_CONNED /* -102043 */,
  ERR_SERVER_CENTER_CONN_ROOM_FAILED /* -102044 */,
  ERR_SERVER_CENTER_CONN_ROOM_CANCEL_FAILED /* -102045 */,
  ERR_SERVER_CENTER_CONN_ROOM_CONNED_ROOM_NOT_EXIST /* -102046 */,
  ERR_SERVER_CENTER_CONN_ROOM_CONNED_REACH_MAX_ROOM /* -102047 */,
  ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_NOT_EXIST /* -102048 */,
  ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_DELETED /* -102049 */,
  ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_FULL /* -102050 */,
  ERR_SERVER_CENTER_CONN_ROOM_INVALID_SEQ /* -102051 */,
  ERR_RTMP_PUSH_NET_DISCONNECT /* -1307 */,
  ERR_RTMP_PUSH_INVALID_ADDRESS /* -1313 */,
  ERR_RTMP_PUSH_NET_ALLADDRESS_FAIL /* -1324 */,
  ERR_RTMP_PUSH_NO_NETWORK /* -1325 */,
  ERR_RTMP_PUSH_SERVER_REFUSE /* -1326 */,
  ERR_PLAY_LIVE_STREAM_NET_DISCONNECT /* -2301 */,
  ERR_GET_RTMP_ACC_URL_FAIL /* -2302 */,
  ERR_FILE_NOT_FOUND /* -2303 */,
  ERR_HEVC_DECODE_FAIL /* -2304 */,
  ERR_VOD_DECRYPT_FAIL /* -2305 */,
  ERR_GET_VODFILE_MEDIAINFO_FAIL /* -2306 */,
  ERR_PLAY_LIVE_STREAM_SWITCH_FAIL /* -2307 */,
  ERR_PLAY_LIVE_STREAM_SERVER_REFUSE /* -2308 */,
  ERR_RTMP_ACC_FETCH_STREAM_FAIL /* -2309 */,
  ERR_ROOM_HEARTBEAT_FAIL /* -3302 */,
  ERR_ROOM_REQUEST_IP_FAIL /* -3303 */,
  ERR_ROOM_CONNECT_FAIL /* -3304 */,
  ERR_ROOM_REQUEST_AVSEAT_FAIL /* -3305 */,
  ERR_ROOM_REQUEST_TOKEN_HTTPS_TIMEOUT /* -3306 */,
  ERR_ROOM_REQUEST_IP_TIMEOUT /* -3307 */,
  ERR_ROOM_REQUEST_VIDEO_FLAG_TIMEOUT /* -3309 */,
  ERR_ROOM_REQUEST_VIDEO_DATA_ROOM_TIMEOUT /* -3310 */,
  ERR_ROOM_REQUEST_CHANGE_ABILITY_TIMEOUT /* -3311 */,
  ERR_ROOM_REQUEST_STATUS_REPORT_TIMEOUT /* -3312 */,
  ERR_ROOM_REQUEST_CLOSE_VIDEO_TIMEOUT /* -3313 */,
  ERR_ROOM_REQUEST_SET_RECEIVE_TIMEOUT /* -3314 */,
  ERR_ROOM_REQUEST_TOKEN_INVALID_PARAMETER /* -3315 */,
  ERR_ROOM_REQUEST_AES_TOKEN_RETURN_ERROR /* -3329 */,
  ERR_ACCIP_LIST_EMPTY /* -3331 */,
  ERR_ROOM_REQUEST_SEND_JSON_CMD_TIMEOUT /* -3332 */,
  ERR_SERVER_INFO_UNPACKING_ERROR /* -100000 */,
  ERR_SERVER_INFO_TOKEN_ERROR /* -100001 */,
  ERR_SERVER_INFO_ALLOCATE_ACCESS_FAILED /* -100002 */,
  ERR_SERVER_INFO_GENERATE_SIGN_FAILED /* -100003 */,
  ERR_SERVER_INFO_TOKEN_TIMEOUT /* -100004 */,
  ERR_SERVER_INFO_INVALID_COMMAND /* -100005 */,
  ERR_SERVER_INFO_PRIVILEGE_FLAG_ERROR /* -100006 */,
  ERR_SERVER_INFO_GENERATE_KEN_ERROR /* -100007 */,
  ERR_SERVER_INFO_GENERATE_TOKEN_ERROR /* -100008 */,
  ERR_SERVER_INFO_DATABASE /* -100009 */,
  ERR_SERVER_INFO_BAD_ROOMID /* -100010 */,
  ERR_SERVER_INFO_BAD_SCENE_OR_ROLE /* -100011 */,
  ERR_SERVER_INFO_ROOMID_EXCHANGE_FAILED /* -100012 */,
  ERR_SERVER_INFO_STRGROUP_HAS_INVALID_CHARS /* -100014 */,
  ERR_SERVER_INFO_LACK_SDKAPPID /* -100015 */,
  ERR_SERVER_INFO_INVALID /* -100016 */,
  ERR_SERVER_INFO_ECDH_GET_KEY /* -100017 */,
  ERR_SERVER_INFO_ECDH_GET_TINYID /* -100018 */,
  ERR_SERVER_ACC_TOKEN_TIMEOUT /* -101000 */,
  ERR_SERVER_ACC_SIGN_ERROR /* -101001 */,
  ERR_SERVER_ACC_SIGN_TIMEOUT /* -101002 */,
  ERR_SERVER_ACC_ROOM_NOT_EXIST /* -101003 */,
  ERR_SERVER_ACC_ROOMID /* -101004 */,
  ERR_SERVER_ACC_LOCATIONID /* -101005 */,
  ERR_SERVER_ACC_TOKEN_EORROR /* -101006 */,
  ERR_SERVER_CENTER_SYSTEM_ERROR /* -102000 */,
  ERR_SERVER_CENTER_INVALID_ROOMID /* -102001 */,
  ERR_SERVER_CENTER_CREATE_ROOM_FAILED /* -102002 */,
  ERR_SERVER_CENTER_SIGN_ERROR /* -102003 */,
  ERR_SERVER_CENTER_SIGN_TIMEOUT /* -102004 */,
  ERR_SERVER_CENTER_ROOM_NOT_EXIST /* -102005 */,
  ERR_SERVER_CENTER_ADD_USER_FAILED /* -102006 */,
  ERR_SERVER_CENTER_FIND_USER_FAILED /* -102007 */,
  ERR_SERVER_CENTER_SWITCH_TERMINATION_FREQUENTLY /* -102008 */,
  ERR_SERVER_CENTER_LOCATION_NOT_EXIST /* -102009 */,
  ERR_SERVER_CENTER_NO_PRIVILEDGE_CREATE_ROOM /* -102010 */,
  ERR_SERVER_CENTER_NO_PRIVILEDGE_ENTER_ROOM /* -102011 */,
  ERR_SERVER_CENTER_INVALID_PARAMETER_SUB_VIDEO /* -102012 */,
  ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_VIDEO /* -102013 */,
  ERR_SERVER_CENTER_ROUTE_TABLE_ERROR /* -102014 */,
  ERR_SERVER_CENTER_NOT_PUSH_SUB_VIDEO /* -102017 */,
  ERR_SERVER_CENTER_USER_WAS_DELETED /* -102018 */,
  ERR_SERVER_CENTER_NO_PRIVILEDGE_REQUEST_VIDEO /* -102019 */,
  ERR_SERVER_CENTER_INVALID_PARAMETER /* -102023 */,
  ERR_SERVER_CENTER_I_FRAME_UNKNOW_TYPE /* -102024 */,
  ERR_SERVER_CENTER_I_FRAME_INVALID_PACKET /* -102025 */,
  ERR_SERVER_CENTER_I_FRAME_DEST_USER_NOT_EXIST /* -102026 */,
  ERR_SERVER_CENTER_I_FRAME_ROOM_TOO_BIG /* -102027 */,
  ERR_SERVER_CENTER_I_FRAME_RPS_INVALID_PARAMETER /* -102028 */,
  ERR_SERVER_CENTER_INVALID_ROOM_ID /* -102029 */,
  ERR_SERVER_CENTER_ROOM_ID_TOO_LONG /* -102030 */,
  ERR_SERVER_CENTER_ROOM_FULL /* -102052 */,
  ERR_SERVER_CENTER_DECODE_JSON_FAIL /* -102053 */,
  ERR_SERVER_CENTER_UNKNOWN_SUB_CMD /* -102054 */,
  ERR_SERVER_CENTER_INVALID_ROLE /* -102055 */,
  ERR_SERVER_CENTER_REACH_PROXY_MAX /* -102056 */,
  ERR_SERVER_CENTER_RECORDID_STORE /* -102057 */,
  ERR_SERVER_CENTER_PB_SERIALIZE /* -102058 */,
  ERR_SERVER_SSO_SIG_EXPIRED /* -70001 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_1 /* -70003 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_2 /* -70004 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_3 /* -70005 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_4 /* -70006 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_5 /* -70007 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_6 /* -70008 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_7 /* -70009 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_8 /* -70010 */,
  ERR_SERVER_SSO_SIG_VERIFICATION_ID_NOT_MATCH /* -70013 */,
  ERR_SERVER_SSO_APPID_NOT_MATCH /* -70014 */,
  ERR_SERVER_SSO_VERIFICATION_EXPIRED /* -70017 */,
  ERR_SERVER_SSO_VERIFICATION_FAILED /* -70018 */,
  ERR_SERVER_SSO_APPID_NOT_FOUND /* -70020 */,
  ERR_SERVER_SSO_ACCOUNT_IN_BLACKLIST /* -70051 */,
  ERR_SERVER_SSO_SIG_INVALID /* -70052 */,
  ERR_SERVER_SSO_LIMITED_BY_SECURITY /* -70114 */,
  ERR_SERVER_SSO_INVALID_LOGIN_STATUS /* -70221 */,
  ERR_SERVER_SSO_APPID_ERROR /* -70252 */,
  ERR_SERVER_SSO_TICKET_VERIFICATION_FAILED /* -70346 */,
  ERR_SERVER_SSO_TICKET_EXPIRED /* -70347 */,
  ERR_SERVER_SSO_ACCOUNT_EXCEED_PURCHASES /* -70398 */,
  ERR_SERVER_SSO_INTERNAL_ERROR /* -70500 */
}

extension TXLiteAVErrorToX on TXLiteAVError {
  int toValue() {
    switch (this) {
      case TXLiteAVError.ERR_NULL: return 0;
      case TXLiteAVError.ERR_ROOM_ENTER_FAIL: return -3301;
      case TXLiteAVError.ERR_ENTER_ROOM_PARAM_NULL: return -3316;
      case TXLiteAVError.ERR_SDK_APPID_INVALID: return -3317;
      case TXLiteAVError.ERR_ROOM_ID_INVALID: return -3318;
      case TXLiteAVError.ERR_USER_ID_INVALID: return -3319;
      case TXLiteAVError.ERR_USER_SIG_INVALID: return -3320;
      case TXLiteAVError.ERR_ROOM_REQUEST_ENTER_ROOM_TIMEOUT: return -3308;
      case TXLiteAVError.ERR_SERVER_INFO_SERVICE_SUSPENDED: return -100013;
      case TXLiteAVError.ERR_ROOM_REQUEST_QUIT_ROOM_TIMEOUT: return -3325;
      case TXLiteAVError.ERR_CAMERA_START_FAIL: return -1301;
      case TXLiteAVError.ERR_CAMERA_NOT_AUTHORIZED: return -1314;
      case TXLiteAVError.ERR_CAMERA_SET_PARAM_FAIL: return -1315;
      case TXLiteAVError.ERR_CAMERA_OCCUPY: return -1316;
      case TXLiteAVError.ERR_MIC_START_FAIL: return -1302;
      case TXLiteAVError.ERR_MIC_NOT_AUTHORIZED: return -1317;
      case TXLiteAVError.ERR_MIC_SET_PARAM_FAIL: return -1318;
      case TXLiteAVError.ERR_MIC_OCCUPY: return -1319;
      case TXLiteAVError.ERR_MIC_STOP_FAIL: return -1320;
      case TXLiteAVError.ERR_SPEAKER_START_FAIL: return -1321;
      case TXLiteAVError.ERR_SPEAKER_SET_PARAM_FAIL: return -1322;
      case TXLiteAVError.ERR_SPEAKER_STOP_FAIL: return -1323;
      case TXLiteAVError.ERR_SCREEN_CAPTURE_START_FAIL: return -1308;
      case TXLiteAVError.ERR_SCREEN_CAPTURE_UNSURPORT: return -1309;
      case TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_SUB_VIDEO: return -102015;
      case TXLiteAVError.ERR_SERVER_CENTER_ANOTHER_USER_PUSH_SUB_VIDEO: return -102016;
      case TXLiteAVError.ERR_SCREEN_CAPTURE_STOPPED: return -7001;
      case TXLiteAVError.ERR_VIDEO_ENCODE_FAIL: return -1303;
      case TXLiteAVError.ERR_UNSUPPORTED_RESOLUTION: return -1305;
      case TXLiteAVError.ERR_AUDIO_ENCODE_FAIL: return -1304;
      case TXLiteAVError.ERR_UNSUPPORTED_SAMPLERATE: return -1306;
      case TXLiteAVError.ERR_PIXEL_FORMAT_UNSUPPORTED: return -1327;
      case TXLiteAVError.ERR_BUFFER_TYPE_UNSUPPORTED: return -1328;
      case TXLiteAVError.ERR_PUBLISH_CDN_STREAM_REQUEST_TIME_OUT: return -3321;
      case TXLiteAVError.ERR_CLOUD_MIX_TRANSCODING_REQUEST_TIME_OUT: return -3322;
      case TXLiteAVError.ERR_PUBLISH_CDN_STREAM_SERVER_FAILED: return -3323;
      case TXLiteAVError.ERR_CLOUD_MIX_TRANSCODING_SERVER_FAILED: return -3324;
      case TXLiteAVError.ERR_ROOM_REQUEST_START_PUBLISHING_TIMEOUT: return -3333;
      case TXLiteAVError.ERR_ROOM_REQUEST_START_PUBLISHING_ERROR: return -3334;
      case TXLiteAVError.ERR_ROOM_REQUEST_STOP_PUBLISHING_TIMEOUT: return -3335;
      case TXLiteAVError.ERR_ROOM_REQUEST_STOP_PUBLISHING_ERROR: return -3336;
      case TXLiteAVError.ERR_ROOM_REQUEST_CONN_ROOM_TIMEOUT: return -3326;
      case TXLiteAVError.ERR_ROOM_REQUEST_DISCONN_ROOM_TIMEOUT: return -3327;
      case TXLiteAVError.ERR_ROOM_REQUEST_CONN_ROOM_INVALID_PARAM: return -3328;
      case TXLiteAVError.ERR_CONNECT_OTHER_ROOM_AS_AUDIENCE: return -3330;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NOT_SUPPORT: return -102031;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_NUM: return -102032;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_RETRY_TIMES: return -102033;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REQ_TIMEOUT: return -102034;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REQ: return -102035;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NO_SIG: return -102036;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_DECRYPT_SIG: return -102037;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NO_KEY: return -102038;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_PARSE_SIG: return -102039;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_INVALID_SIG_TIME: return -102040;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_SIG_GROUPID: return -102041;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NOT_CONNED: return -102042;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_USER_NOT_CONNED: return -102043;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_FAILED: return -102044;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CANCEL_FAILED: return -102045;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_ROOM_NOT_EXIST: return -102046;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_REACH_MAX_ROOM: return -102047;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_NOT_EXIST: return -102048;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_DELETED: return -102049;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_FULL: return -102050;
      case TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_INVALID_SEQ: return -102051;
      case TXLiteAVError.ERR_RTMP_PUSH_NET_DISCONNECT: return -1307;
      case TXLiteAVError.ERR_RTMP_PUSH_INVALID_ADDRESS: return -1313;
      case TXLiteAVError.ERR_RTMP_PUSH_NET_ALLADDRESS_FAIL: return -1324;
      case TXLiteAVError.ERR_RTMP_PUSH_NO_NETWORK: return -1325;
      case TXLiteAVError.ERR_RTMP_PUSH_SERVER_REFUSE: return -1326;
      case TXLiteAVError.ERR_PLAY_LIVE_STREAM_NET_DISCONNECT: return -2301;
      case TXLiteAVError.ERR_GET_RTMP_ACC_URL_FAIL: return -2302;
      case TXLiteAVError.ERR_FILE_NOT_FOUND: return -2303;
      case TXLiteAVError.ERR_HEVC_DECODE_FAIL: return -2304;
      case TXLiteAVError.ERR_VOD_DECRYPT_FAIL: return -2305;
      case TXLiteAVError.ERR_GET_VODFILE_MEDIAINFO_FAIL: return -2306;
      case TXLiteAVError.ERR_PLAY_LIVE_STREAM_SWITCH_FAIL: return -2307;
      case TXLiteAVError.ERR_PLAY_LIVE_STREAM_SERVER_REFUSE: return -2308;
      case TXLiteAVError.ERR_RTMP_ACC_FETCH_STREAM_FAIL: return -2309;
      case TXLiteAVError.ERR_ROOM_HEARTBEAT_FAIL: return -3302;
      case TXLiteAVError.ERR_ROOM_REQUEST_IP_FAIL: return -3303;
      case TXLiteAVError.ERR_ROOM_CONNECT_FAIL: return -3304;
      case TXLiteAVError.ERR_ROOM_REQUEST_AVSEAT_FAIL: return -3305;
      case TXLiteAVError.ERR_ROOM_REQUEST_TOKEN_HTTPS_TIMEOUT: return -3306;
      case TXLiteAVError.ERR_ROOM_REQUEST_IP_TIMEOUT: return -3307;
      case TXLiteAVError.ERR_ROOM_REQUEST_VIDEO_FLAG_TIMEOUT: return -3309;
      case TXLiteAVError.ERR_ROOM_REQUEST_VIDEO_DATA_ROOM_TIMEOUT: return -3310;
      case TXLiteAVError.ERR_ROOM_REQUEST_CHANGE_ABILITY_TIMEOUT: return -3311;
      case TXLiteAVError.ERR_ROOM_REQUEST_STATUS_REPORT_TIMEOUT: return -3312;
      case TXLiteAVError.ERR_ROOM_REQUEST_CLOSE_VIDEO_TIMEOUT: return -3313;
      case TXLiteAVError.ERR_ROOM_REQUEST_SET_RECEIVE_TIMEOUT: return -3314;
      case TXLiteAVError.ERR_ROOM_REQUEST_TOKEN_INVALID_PARAMETER: return -3315;
      case TXLiteAVError.ERR_ROOM_REQUEST_AES_TOKEN_RETURN_ERROR: return -3329;
      case TXLiteAVError.ERR_ACCIP_LIST_EMPTY: return -3331;
      case TXLiteAVError.ERR_ROOM_REQUEST_SEND_JSON_CMD_TIMEOUT: return -3332;
      case TXLiteAVError.ERR_SERVER_INFO_UNPACKING_ERROR: return -100000;
      case TXLiteAVError.ERR_SERVER_INFO_TOKEN_ERROR: return -100001;
      case TXLiteAVError.ERR_SERVER_INFO_ALLOCATE_ACCESS_FAILED: return -100002;
      case TXLiteAVError.ERR_SERVER_INFO_GENERATE_SIGN_FAILED: return -100003;
      case TXLiteAVError.ERR_SERVER_INFO_TOKEN_TIMEOUT: return -100004;
      case TXLiteAVError.ERR_SERVER_INFO_INVALID_COMMAND: return -100005;
      case TXLiteAVError.ERR_SERVER_INFO_PRIVILEGE_FLAG_ERROR: return -100006;
      case TXLiteAVError.ERR_SERVER_INFO_GENERATE_KEN_ERROR: return -100007;
      case TXLiteAVError.ERR_SERVER_INFO_GENERATE_TOKEN_ERROR: return -100008;
      case TXLiteAVError.ERR_SERVER_INFO_DATABASE: return -100009;
      case TXLiteAVError.ERR_SERVER_INFO_BAD_ROOMID: return -100010;
      case TXLiteAVError.ERR_SERVER_INFO_BAD_SCENE_OR_ROLE: return -100011;
      case TXLiteAVError.ERR_SERVER_INFO_ROOMID_EXCHANGE_FAILED: return -100012;
      case TXLiteAVError.ERR_SERVER_INFO_STRGROUP_HAS_INVALID_CHARS: return -100014;
      case TXLiteAVError.ERR_SERVER_INFO_LACK_SDKAPPID: return -100015;
      case TXLiteAVError.ERR_SERVER_INFO_INVALID: return -100016;
      case TXLiteAVError.ERR_SERVER_INFO_ECDH_GET_KEY: return -100017;
      case TXLiteAVError.ERR_SERVER_INFO_ECDH_GET_TINYID: return -100018;
      case TXLiteAVError.ERR_SERVER_ACC_TOKEN_TIMEOUT: return -101000;
      case TXLiteAVError.ERR_SERVER_ACC_SIGN_ERROR: return -101001;
      case TXLiteAVError.ERR_SERVER_ACC_SIGN_TIMEOUT: return -101002;
      case TXLiteAVError.ERR_SERVER_ACC_ROOM_NOT_EXIST: return -101003;
      case TXLiteAVError.ERR_SERVER_ACC_ROOMID: return -101004;
      case TXLiteAVError.ERR_SERVER_ACC_LOCATIONID: return -101005;
      case TXLiteAVError.ERR_SERVER_ACC_TOKEN_EORROR: return -101006;
      case TXLiteAVError.ERR_SERVER_CENTER_SYSTEM_ERROR: return -102000;
      case TXLiteAVError.ERR_SERVER_CENTER_INVALID_ROOMID: return -102001;
      case TXLiteAVError.ERR_SERVER_CENTER_CREATE_ROOM_FAILED: return -102002;
      case TXLiteAVError.ERR_SERVER_CENTER_SIGN_ERROR: return -102003;
      case TXLiteAVError.ERR_SERVER_CENTER_SIGN_TIMEOUT: return -102004;
      case TXLiteAVError.ERR_SERVER_CENTER_ROOM_NOT_EXIST: return -102005;
      case TXLiteAVError.ERR_SERVER_CENTER_ADD_USER_FAILED: return -102006;
      case TXLiteAVError.ERR_SERVER_CENTER_FIND_USER_FAILED: return -102007;
      case TXLiteAVError.ERR_SERVER_CENTER_SWITCH_TERMINATION_FREQUENTLY: return -102008;
      case TXLiteAVError.ERR_SERVER_CENTER_LOCATION_NOT_EXIST: return -102009;
      case TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_CREATE_ROOM: return -102010;
      case TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_ENTER_ROOM: return -102011;
      case TXLiteAVError.ERR_SERVER_CENTER_INVALID_PARAMETER_SUB_VIDEO: return -102012;
      case TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_VIDEO: return -102013;
      case TXLiteAVError.ERR_SERVER_CENTER_ROUTE_TABLE_ERROR: return -102014;
      case TXLiteAVError.ERR_SERVER_CENTER_NOT_PUSH_SUB_VIDEO: return -102017;
      case TXLiteAVError.ERR_SERVER_CENTER_USER_WAS_DELETED: return -102018;
      case TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_REQUEST_VIDEO: return -102019;
      case TXLiteAVError.ERR_SERVER_CENTER_INVALID_PARAMETER: return -102023;
      case TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_UNKNOW_TYPE: return -102024;
      case TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_INVALID_PACKET: return -102025;
      case TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_DEST_USER_NOT_EXIST: return -102026;
      case TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_ROOM_TOO_BIG: return -102027;
      case TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_RPS_INVALID_PARAMETER: return -102028;
      case TXLiteAVError.ERR_SERVER_CENTER_INVALID_ROOM_ID: return -102029;
      case TXLiteAVError.ERR_SERVER_CENTER_ROOM_ID_TOO_LONG: return -102030;
      case TXLiteAVError.ERR_SERVER_CENTER_ROOM_FULL: return -102052;
      case TXLiteAVError.ERR_SERVER_CENTER_DECODE_JSON_FAIL: return -102053;
      case TXLiteAVError.ERR_SERVER_CENTER_UNKNOWN_SUB_CMD: return -102054;
      case TXLiteAVError.ERR_SERVER_CENTER_INVALID_ROLE: return -102055;
      case TXLiteAVError.ERR_SERVER_CENTER_REACH_PROXY_MAX: return -102056;
      case TXLiteAVError.ERR_SERVER_CENTER_RECORDID_STORE: return -102057;
      case TXLiteAVError.ERR_SERVER_CENTER_PB_SERIALIZE: return -102058;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_EXPIRED: return -70001;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_1: return -70003;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_2: return -70004;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_3: return -70005;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_4: return -70006;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_5: return -70007;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_6: return -70008;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_7: return -70009;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_8: return -70010;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_ID_NOT_MATCH: return -70013;
      case TXLiteAVError.ERR_SERVER_SSO_APPID_NOT_MATCH: return -70014;
      case TXLiteAVError.ERR_SERVER_SSO_VERIFICATION_EXPIRED: return -70017;
      case TXLiteAVError.ERR_SERVER_SSO_VERIFICATION_FAILED: return -70018;
      case TXLiteAVError.ERR_SERVER_SSO_APPID_NOT_FOUND: return -70020;
      case TXLiteAVError.ERR_SERVER_SSO_ACCOUNT_IN_BLACKLIST: return -70051;
      case TXLiteAVError.ERR_SERVER_SSO_SIG_INVALID: return -70052;
      case TXLiteAVError.ERR_SERVER_SSO_LIMITED_BY_SECURITY: return -70114;
      case TXLiteAVError.ERR_SERVER_SSO_INVALID_LOGIN_STATUS: return -70221;
      case TXLiteAVError.ERR_SERVER_SSO_APPID_ERROR: return -70252;
      case TXLiteAVError.ERR_SERVER_SSO_TICKET_VERIFICATION_FAILED: return -70346;
      case TXLiteAVError.ERR_SERVER_SSO_TICKET_EXPIRED: return -70347;
      case TXLiteAVError.ERR_SERVER_SSO_ACCOUNT_EXCEED_PURCHASES: return -70398;
      case TXLiteAVError.ERR_SERVER_SSO_INTERNAL_ERROR: return -70500;
      default: return 0;
    }
  }
}

extension TXLiteAVErrorFromX on int {
  TXLiteAVError toTXLiteAVError() {
    switch (this) {
      case 0: return TXLiteAVError.ERR_NULL;
      case -3301: return TXLiteAVError.ERR_ROOM_ENTER_FAIL;
      case -3316: return TXLiteAVError.ERR_ENTER_ROOM_PARAM_NULL;
      case -3317: return TXLiteAVError.ERR_SDK_APPID_INVALID;
      case -3318: return TXLiteAVError.ERR_ROOM_ID_INVALID;
      case -3319: return TXLiteAVError.ERR_USER_ID_INVALID;
      case -3320: return TXLiteAVError.ERR_USER_SIG_INVALID;
      case -3308: return TXLiteAVError.ERR_ROOM_REQUEST_ENTER_ROOM_TIMEOUT;
      case -100013: return TXLiteAVError.ERR_SERVER_INFO_SERVICE_SUSPENDED;
      case -3325: return TXLiteAVError.ERR_ROOM_REQUEST_QUIT_ROOM_TIMEOUT;
      case -1301: return TXLiteAVError.ERR_CAMERA_START_FAIL;
      case -1314: return TXLiteAVError.ERR_CAMERA_NOT_AUTHORIZED;
      case -1315: return TXLiteAVError.ERR_CAMERA_SET_PARAM_FAIL;
      case -1316: return TXLiteAVError.ERR_CAMERA_OCCUPY;
      case -1302: return TXLiteAVError.ERR_MIC_START_FAIL;
      case -1317: return TXLiteAVError.ERR_MIC_NOT_AUTHORIZED;
      case -1318: return TXLiteAVError.ERR_MIC_SET_PARAM_FAIL;
      case -1319: return TXLiteAVError.ERR_MIC_OCCUPY;
      case -1320: return TXLiteAVError.ERR_MIC_STOP_FAIL;
      case -1321: return TXLiteAVError.ERR_SPEAKER_START_FAIL;
      case -1322: return TXLiteAVError.ERR_SPEAKER_SET_PARAM_FAIL;
      case -1323: return TXLiteAVError.ERR_SPEAKER_STOP_FAIL;
      case -1308: return TXLiteAVError.ERR_SCREEN_CAPTURE_START_FAIL;
      case -1309: return TXLiteAVError.ERR_SCREEN_CAPTURE_UNSURPORT;
      case -102015: return TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_SUB_VIDEO;
      case -102016: return TXLiteAVError.ERR_SERVER_CENTER_ANOTHER_USER_PUSH_SUB_VIDEO;
      case -7001: return TXLiteAVError.ERR_SCREEN_CAPTURE_STOPPED;
      case -1303: return TXLiteAVError.ERR_VIDEO_ENCODE_FAIL;
      case -1305: return TXLiteAVError.ERR_UNSUPPORTED_RESOLUTION;
      case -1304: return TXLiteAVError.ERR_AUDIO_ENCODE_FAIL;
      case -1306: return TXLiteAVError.ERR_UNSUPPORTED_SAMPLERATE;
      case -1327: return TXLiteAVError.ERR_PIXEL_FORMAT_UNSUPPORTED;
      case -1328: return TXLiteAVError.ERR_BUFFER_TYPE_UNSUPPORTED;
      case -3321: return TXLiteAVError.ERR_PUBLISH_CDN_STREAM_REQUEST_TIME_OUT;
      case -3322: return TXLiteAVError.ERR_CLOUD_MIX_TRANSCODING_REQUEST_TIME_OUT;
      case -3323: return TXLiteAVError.ERR_PUBLISH_CDN_STREAM_SERVER_FAILED;
      case -3324: return TXLiteAVError.ERR_CLOUD_MIX_TRANSCODING_SERVER_FAILED;
      case -3333: return TXLiteAVError.ERR_ROOM_REQUEST_START_PUBLISHING_TIMEOUT;
      case -3334: return TXLiteAVError.ERR_ROOM_REQUEST_START_PUBLISHING_ERROR;
      case -3335: return TXLiteAVError.ERR_ROOM_REQUEST_STOP_PUBLISHING_TIMEOUT;
      case -3336: return TXLiteAVError.ERR_ROOM_REQUEST_STOP_PUBLISHING_ERROR;
      case -3326: return TXLiteAVError.ERR_ROOM_REQUEST_CONN_ROOM_TIMEOUT;
      case -3327: return TXLiteAVError.ERR_ROOM_REQUEST_DISCONN_ROOM_TIMEOUT;
      case -3328: return TXLiteAVError.ERR_ROOM_REQUEST_CONN_ROOM_INVALID_PARAM;
      case -3330: return TXLiteAVError.ERR_CONNECT_OTHER_ROOM_AS_AUDIENCE;
      case -102031: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NOT_SUPPORT;
      case -102032: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_NUM;
      case -102033: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_RETRY_TIMES;
      case -102034: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REQ_TIMEOUT;
      case -102035: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_REQ;
      case -102036: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NO_SIG;
      case -102037: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_DECRYPT_SIG;
      case -102038: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NO_KEY;
      case -102039: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_PARSE_SIG;
      case -102040: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_INVALID_SIG_TIME;
      case -102041: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_SIG_GROUPID;
      case -102042: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_NOT_CONNED;
      case -102043: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_USER_NOT_CONNED;
      case -102044: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_FAILED;
      case -102045: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CANCEL_FAILED;
      case -102046: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_ROOM_NOT_EXIST;
      case -102047: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_REACH_MAX_ROOM;
      case -102048: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_NOT_EXIST;
      case -102049: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_DELETED;
      case -102050: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_FULL;
      case -102051: return TXLiteAVError.ERR_SERVER_CENTER_CONN_ROOM_INVALID_SEQ;
      case -1307: return TXLiteAVError.ERR_RTMP_PUSH_NET_DISCONNECT;
      case -1313: return TXLiteAVError.ERR_RTMP_PUSH_INVALID_ADDRESS;
      case -1324: return TXLiteAVError.ERR_RTMP_PUSH_NET_ALLADDRESS_FAIL;
      case -1325: return TXLiteAVError.ERR_RTMP_PUSH_NO_NETWORK;
      case -1326: return TXLiteAVError.ERR_RTMP_PUSH_SERVER_REFUSE;
      case -2301: return TXLiteAVError.ERR_PLAY_LIVE_STREAM_NET_DISCONNECT;
      case -2302: return TXLiteAVError.ERR_GET_RTMP_ACC_URL_FAIL;
      case -2303: return TXLiteAVError.ERR_FILE_NOT_FOUND;
      case -2304: return TXLiteAVError.ERR_HEVC_DECODE_FAIL;
      case -2305: return TXLiteAVError.ERR_VOD_DECRYPT_FAIL;
      case -2306: return TXLiteAVError.ERR_GET_VODFILE_MEDIAINFO_FAIL;
      case -2307: return TXLiteAVError.ERR_PLAY_LIVE_STREAM_SWITCH_FAIL;
      case -2308: return TXLiteAVError.ERR_PLAY_LIVE_STREAM_SERVER_REFUSE;
      case -2309: return TXLiteAVError.ERR_RTMP_ACC_FETCH_STREAM_FAIL;
      case -3302: return TXLiteAVError.ERR_ROOM_HEARTBEAT_FAIL;
      case -3303: return TXLiteAVError.ERR_ROOM_REQUEST_IP_FAIL;
      case -3304: return TXLiteAVError.ERR_ROOM_CONNECT_FAIL;
      case -3305: return TXLiteAVError.ERR_ROOM_REQUEST_AVSEAT_FAIL;
      case -3306: return TXLiteAVError.ERR_ROOM_REQUEST_TOKEN_HTTPS_TIMEOUT;
      case -3307: return TXLiteAVError.ERR_ROOM_REQUEST_IP_TIMEOUT;
      case -3309: return TXLiteAVError.ERR_ROOM_REQUEST_VIDEO_FLAG_TIMEOUT;
      case -3310: return TXLiteAVError.ERR_ROOM_REQUEST_VIDEO_DATA_ROOM_TIMEOUT;
      case -3311: return TXLiteAVError.ERR_ROOM_REQUEST_CHANGE_ABILITY_TIMEOUT;
      case -3312: return TXLiteAVError.ERR_ROOM_REQUEST_STATUS_REPORT_TIMEOUT;
      case -3313: return TXLiteAVError.ERR_ROOM_REQUEST_CLOSE_VIDEO_TIMEOUT;
      case -3314: return TXLiteAVError.ERR_ROOM_REQUEST_SET_RECEIVE_TIMEOUT;
      case -3315: return TXLiteAVError.ERR_ROOM_REQUEST_TOKEN_INVALID_PARAMETER;
      case -3329: return TXLiteAVError.ERR_ROOM_REQUEST_AES_TOKEN_RETURN_ERROR;
      case -3331: return TXLiteAVError.ERR_ACCIP_LIST_EMPTY;
      case -3332: return TXLiteAVError.ERR_ROOM_REQUEST_SEND_JSON_CMD_TIMEOUT;
      case -100000: return TXLiteAVError.ERR_SERVER_INFO_UNPACKING_ERROR;
      case -100001: return TXLiteAVError.ERR_SERVER_INFO_TOKEN_ERROR;
      case -100002: return TXLiteAVError.ERR_SERVER_INFO_ALLOCATE_ACCESS_FAILED;
      case -100003: return TXLiteAVError.ERR_SERVER_INFO_GENERATE_SIGN_FAILED;
      case -100004: return TXLiteAVError.ERR_SERVER_INFO_TOKEN_TIMEOUT;
      case -100005: return TXLiteAVError.ERR_SERVER_INFO_INVALID_COMMAND;
      case -100006: return TXLiteAVError.ERR_SERVER_INFO_PRIVILEGE_FLAG_ERROR;
      case -100007: return TXLiteAVError.ERR_SERVER_INFO_GENERATE_KEN_ERROR;
      case -100008: return TXLiteAVError.ERR_SERVER_INFO_GENERATE_TOKEN_ERROR;
      case -100009: return TXLiteAVError.ERR_SERVER_INFO_DATABASE;
      case -100010: return TXLiteAVError.ERR_SERVER_INFO_BAD_ROOMID;
      case -100011: return TXLiteAVError.ERR_SERVER_INFO_BAD_SCENE_OR_ROLE;
      case -100012: return TXLiteAVError.ERR_SERVER_INFO_ROOMID_EXCHANGE_FAILED;
      case -100014: return TXLiteAVError.ERR_SERVER_INFO_STRGROUP_HAS_INVALID_CHARS;
      case -100015: return TXLiteAVError.ERR_SERVER_INFO_LACK_SDKAPPID;
      case -100016: return TXLiteAVError.ERR_SERVER_INFO_INVALID;
      case -100017: return TXLiteAVError.ERR_SERVER_INFO_ECDH_GET_KEY;
      case -100018: return TXLiteAVError.ERR_SERVER_INFO_ECDH_GET_TINYID;
      case -101000: return TXLiteAVError.ERR_SERVER_ACC_TOKEN_TIMEOUT;
      case -101001: return TXLiteAVError.ERR_SERVER_ACC_SIGN_ERROR;
      case -101002: return TXLiteAVError.ERR_SERVER_ACC_SIGN_TIMEOUT;
      case -101003: return TXLiteAVError.ERR_SERVER_ACC_ROOM_NOT_EXIST;
      case -101004: return TXLiteAVError.ERR_SERVER_ACC_ROOMID;
      case -101005: return TXLiteAVError.ERR_SERVER_ACC_LOCATIONID;
      case -101006: return TXLiteAVError.ERR_SERVER_ACC_TOKEN_EORROR;
      case -102000: return TXLiteAVError.ERR_SERVER_CENTER_SYSTEM_ERROR;
      case -102001: return TXLiteAVError.ERR_SERVER_CENTER_INVALID_ROOMID;
      case -102002: return TXLiteAVError.ERR_SERVER_CENTER_CREATE_ROOM_FAILED;
      case -102003: return TXLiteAVError.ERR_SERVER_CENTER_SIGN_ERROR;
      case -102004: return TXLiteAVError.ERR_SERVER_CENTER_SIGN_TIMEOUT;
      case -102005: return TXLiteAVError.ERR_SERVER_CENTER_ROOM_NOT_EXIST;
      case -102006: return TXLiteAVError.ERR_SERVER_CENTER_ADD_USER_FAILED;
      case -102007: return TXLiteAVError.ERR_SERVER_CENTER_FIND_USER_FAILED;
      case -102008: return TXLiteAVError.ERR_SERVER_CENTER_SWITCH_TERMINATION_FREQUENTLY;
      case -102009: return TXLiteAVError.ERR_SERVER_CENTER_LOCATION_NOT_EXIST;
      case -102010: return TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_CREATE_ROOM;
      case -102011: return TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_ENTER_ROOM;
      case -102012: return TXLiteAVError.ERR_SERVER_CENTER_INVALID_PARAMETER_SUB_VIDEO;
      case -102013: return TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_VIDEO;
      case -102014: return TXLiteAVError.ERR_SERVER_CENTER_ROUTE_TABLE_ERROR;
      case -102017: return TXLiteAVError.ERR_SERVER_CENTER_NOT_PUSH_SUB_VIDEO;
      case -102018: return TXLiteAVError.ERR_SERVER_CENTER_USER_WAS_DELETED;
      case -102019: return TXLiteAVError.ERR_SERVER_CENTER_NO_PRIVILEDGE_REQUEST_VIDEO;
      case -102023: return TXLiteAVError.ERR_SERVER_CENTER_INVALID_PARAMETER;
      case -102024: return TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_UNKNOW_TYPE;
      case -102025: return TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_INVALID_PACKET;
      case -102026: return TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_DEST_USER_NOT_EXIST;
      case -102027: return TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_ROOM_TOO_BIG;
      case -102028: return TXLiteAVError.ERR_SERVER_CENTER_I_FRAME_RPS_INVALID_PARAMETER;
      case -102029: return TXLiteAVError.ERR_SERVER_CENTER_INVALID_ROOM_ID;
      case -102030: return TXLiteAVError.ERR_SERVER_CENTER_ROOM_ID_TOO_LONG;
      case -102052: return TXLiteAVError.ERR_SERVER_CENTER_ROOM_FULL;
      case -102053: return TXLiteAVError.ERR_SERVER_CENTER_DECODE_JSON_FAIL;
      case -102054: return TXLiteAVError.ERR_SERVER_CENTER_UNKNOWN_SUB_CMD;
      case -102055: return TXLiteAVError.ERR_SERVER_CENTER_INVALID_ROLE;
      case -102056: return TXLiteAVError.ERR_SERVER_CENTER_REACH_PROXY_MAX;
      case -102057: return TXLiteAVError.ERR_SERVER_CENTER_RECORDID_STORE;
      case -102058: return TXLiteAVError.ERR_SERVER_CENTER_PB_SERIALIZE;
      case -70001: return TXLiteAVError.ERR_SERVER_SSO_SIG_EXPIRED;
      case -70003: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_1;
      case -70004: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_2;
      case -70005: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_3;
      case -70006: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_4;
      case -70007: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_5;
      case -70008: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_6;
      case -70009: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_7;
      case -70010: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_8;
      case -70013: return TXLiteAVError.ERR_SERVER_SSO_SIG_VERIFICATION_ID_NOT_MATCH;
      case -70014: return TXLiteAVError.ERR_SERVER_SSO_APPID_NOT_MATCH;
      case -70017: return TXLiteAVError.ERR_SERVER_SSO_VERIFICATION_EXPIRED;
      case -70018: return TXLiteAVError.ERR_SERVER_SSO_VERIFICATION_FAILED;
      case -70020: return TXLiteAVError.ERR_SERVER_SSO_APPID_NOT_FOUND;
      case -70051: return TXLiteAVError.ERR_SERVER_SSO_ACCOUNT_IN_BLACKLIST;
      case -70052: return TXLiteAVError.ERR_SERVER_SSO_SIG_INVALID;
      case -70114: return TXLiteAVError.ERR_SERVER_SSO_LIMITED_BY_SECURITY;
      case -70221: return TXLiteAVError.ERR_SERVER_SSO_INVALID_LOGIN_STATUS;
      case -70252: return TXLiteAVError.ERR_SERVER_SSO_APPID_ERROR;
      case -70346: return TXLiteAVError.ERR_SERVER_SSO_TICKET_VERIFICATION_FAILED;
      case -70347: return TXLiteAVError.ERR_SERVER_SSO_TICKET_EXPIRED;
      case -70398: return TXLiteAVError.ERR_SERVER_SSO_ACCOUNT_EXCEED_PURCHASES;
      case -70500: return TXLiteAVError.ERR_SERVER_SSO_INTERNAL_ERROR;
      default: return TXLiteAVError.values[this + 0];
    }
  }
}