ZegoErrorCode Constants Reference

Declared in ZegoExpressErrorCode.h

ZegoErrorCode

Definition

typedef NS_ENUM(NSUInteger, ZegoErrorCode ) {
   ZegoErrorCodeCommonSuccess = 0,
   ZegoErrorCodeCommonEngineNotCreate = 1000001,
   ZegoErrorCodeCommonNotLoginRoom = 1000002,
   ZegoErrorCodeCommonEngineNotStarted = 1000003,
   ZegoErrorCodeCommonUnsupportedPlatform = 1000006,
   ZegoErrorCodeCommonInvalidAndroidEnvironment = 1000007,
   ZegoErrorCodeCommonEventHandlerExists = 1000008,
   ZegoErrorCodeCommonSdkNoModule = 1000010,
   ZegoErrorCodeCommonStreamIdTooLong = 1000014,
   ZegoErrorCodeCommonStreamIdNull = 1000015,
   ZegoErrorCodeCommonStreamIdInvalidCharacter = 1000016,
   ZegoErrorCodeCommonIllegalParam = 1000017,
   ZegoErrorCodeCommonCdnUrlTooLong = 1000018,
   ZegoErrorCodeCommonCdnAuthParamTooLong = 1000019,
   ZegoErrorCodeCommonUserNotSame = 1000020,
   ZegoErrorCodeCommonAppOfflineError = 1000037,
   ZegoErrorCodeCommonAppFlexiableConfigError = 1000038,
   ZegoErrorCodeCommonAppAccessDeniedError = 1000039,
   ZegoErrorCodeCommonCdnUrlInvalid = 1000055,
   ZegoErrorCodeCommonDnsResolveError = 1000060,
   ZegoErrorCodeCommonDispatchError = 1000065,
   ZegoErrorCodeCommonConfigAfterEngineStarted = 1000066,
   ZegoErrorCodeCommonConfigAfterRoomLoggedIn = 1000067,
   ZegoErrorCodeCommonLoadLibraryFailed = 1000070,
   ZegoErrorCodeCommonLoadLibraryFuncNotFound = 1000071,
   ZegoErrorCodeCommonLoadLibraryNotSupport = 1000072,
   ZegoErrorCodeCommonInnerNullptr = 1000090,
   ZegoErrorCodeEngineAppidZero = 1001000,
   ZegoErrorCodeEngineAppsignInvalidLength = 1001001,
   ZegoErrorCodeEngineAppsignInvalidCharacter = 1001002,
   ZegoErrorCodeEngineAppsignNull = 1001003,
   ZegoErrorCodeEngineAppidIncorrectOrNotOnline = 1001004,
   ZegoErrorCodeEngineAppsignIncorrect = 1001005,
   ZegoErrorCodeEngineLicenseNull = 1001006,
   ZegoErrorCodeEngineLogNoWritePermission = 1001014,
   ZegoErrorCodeEngineLogPathTooLong = 1001015,
   ZegoErrorCodeEngineSetRoomModeErrorTime = 1001020,
   ZegoErrorCodeEngineSetGeoFenceErrorTime = 1001021,
   ZegoErrorCodeEngineExperimentalJsonStrInvalid = 1001091,
   ZegoErrorCodeRoomCountExceed = 1002001,
   ZegoErrorCodeRoomRoomidIncorrect = 1002002,
   ZegoErrorCodeRoomUserIdNull = 1002005,
   ZegoErrorCodeRoomUserIdInvalidCharacter = 1002006,
   ZegoErrorCodeRoomUserIdTooLong = 1002007,
   ZegoErrorCodeRoomUserNameNull = 1002008,
   ZegoErrorCodeRoomUserNameInvalidCharacter = 1002009,
   ZegoErrorCodeRoomUserNameTooLong = 1002010,
   ZegoErrorCodeRoomRoomidNull = 1002011,
   ZegoErrorCodeRoomRoomidInvalidCharacter = 1002012,
   ZegoErrorCodeRoomRoomidTooLong = 1002013,
   ZegoErrorCodeRoomRoomExtraInfoKeyEmpty = 1002014,
   ZegoErrorCodeRoomRoomExtraInfoKeyTooLong = 1002015,
   ZegoErrorCodeRoomRoomExtraInfoValueTooLong = 1002016,
   ZegoErrorCodeRoomRoomExtraInfoExceedKeys = 1002017,
   ZegoErrorCodeRoomMultiRoomLoginUserNotSame = 1002018,
   ZegoErrorCodeRoomMultiRoomSwtichRoomInvalid = 1002019,
   ZegoErrorCodeRoomErrorConnectFailed = 1002030,
   ZegoErrorCodeRoomErrorLoginTimeout = 1002031,
   ZegoErrorCodeRoomErrorAuthenticationFailed = 1002033,
   ZegoErrorCodeRoomErrorExceedMaximumMember = 1002034,
   ZegoErrorCodeRoomErrorExceedMaximumRoomCount = 1002035,
   ZegoErrorCodeRoomErrorLoginMultiRoomNotOpen = 1002036,
   ZegoErrorCodeRoomErrorMultiRoomExceedMaximumRoomCount = 1002037,
   ZegoErrorCodeRoomKickedOut = 1002050,
   ZegoErrorCodeRoomConnectTemporaryBroken = 1002051,
   ZegoErrorCodeRoomDisconnect = 1002052,
   ZegoErrorCodeRoomRetryTimeout = 1002053,
   ZegoErrorCodeRoomManualKickedOut = 1002055,
   ZegoErrorCodeRoomTokenExpiredKickedOut = 1002056,
   ZegoErrorCodeRoomSessionExceptionKickedOut = 1002057,
   ZegoErrorCodeRoomWrongLoginSequence = 1002061,
   ZegoErrorCodeRoomWrongLogoutSequence = 1002062,
   ZegoErrorCodeRoomNoMultiRoomPermission = 1002063,
   ZegoErrorCodeRoomRoomIdHasBeenUsed = 1002064,
   ZegoErrorCodeRoomMultiRoomDeprecated = 1002065,
   ZegoErrorCodeRoomUserInBlacklist = 1002066,
   ZegoErrorCodeRoomNoToken = 1002067,
   ZegoErrorCodeRoomAppCallApiTooFrequent = 1002071,
   ZegoErrorCodeRoomRoomCallApiTooFrequent = 1002072,
   ZegoErrorCodeRoomAppCallTooFrequent = 1002073,
   ZegoErrorCodeRoomTokenInnerError = 1002074,
   ZegoErrorCodeRoomTokenFormatError = 1002075,
   ZegoErrorCodeRoomTokenAppidError = 1002076,
   ZegoErrorCodeRoomTokenUseridError = 1002077,
   ZegoErrorCodeRoomTokenExpireError = 1002078,
   ZegoErrorCodeRoomTokenVersionError = 1002079,
   ZegoErrorCodeRoomTokenNoncetypeError = 1002080,
   ZegoErrorCodeRoomMultiRoomRequired = 1002081,
   ZegoErrorCodeRoomRenewTokenNoPublishAuthError = 1002082,
   ZegoErrorCodeRoomRoomLoginCustomDataLengthError = 1002083,
   ZegoErrorCodeRoomRoomLoginLicenseNotFound = 1002084,
   ZegoErrorCodeRoomRoomLoginLicenseExpired = 1002085,
   ZegoErrorCodeRoomRoomLoginOther = 1002086,
   ZegoErrorCodeRoomRoomLicenseFeatureLimit = 1002087,
   ZegoErrorCodeRoomInnerError = 1002099,
   ZegoErrorCodePublisherPublishStreamFailed = 1003001,
   ZegoErrorCodePublisherBitrateInvalid = 1003002,
   ZegoErrorCodePublisherTrafficModeInvalid = 1003005,
   ZegoErrorCodePublisherErrorH265EncoderNotSupported = 1003010,
   ZegoErrorCodePublisherObjectSegmentationPerformanceWarning = 1003011,
   ZegoErrorCodePublisherObjectSegmentationDeviceNotSupport = 1003012,
   ZegoErrorCodePublisherObjectSegmentationNoAuth = 1003013,
   ZegoErrorCodePublisherObjectSegmentationParamError = 1003014,
   ZegoErrorCodePublisherObjectSegmentationImageLoadError = 1003015,
   ZegoErrorCodePublisherErrorNetworkInterrupt = 1003020,
   ZegoErrorCodePublisherErrorRetryTimeout = 1003021,
   ZegoErrorCodePublisherErrorAlreadyDoPublish = 1003023,
   ZegoErrorCodePublisherErrorServerForbid = 1003025,
   ZegoErrorCodePublisherErrorRepetitivePublishStream = 1003028,
   ZegoErrorCodePublisherRtmpServerDisconnect = 1003029,
   ZegoErrorCodePublisherTakePublishStreamSnapshotFailed = 1003030,
   ZegoErrorCodePublisherUpdateCdnTargetError = 1003040,
   ZegoErrorCodePublisherSeiDataNull = 1003043,
   ZegoErrorCodePublisherSeiDataTooLong = 1003044,
   ZegoErrorCodePublisherAudioSideDataNull = 1003045,
   ZegoErrorCodePublisherAudioSideDataTooLong = 1003046,
   ZegoErrorCodePublisherExtraInfoNull = 1003050,
   ZegoErrorCodePublisherExtraInfoTooLong = 1003051,
   ZegoErrorCodePublisherUpdateExtraInfoFailed = 1003053,
   ZegoErrorCodePublisherWatermarkUrlNull = 1003055,
   ZegoErrorCodePublisherWatermarkUrlTooLong = 1003056,
   ZegoErrorCodePublisherWatermarkUrlInvalid = 1003057,
   ZegoErrorCodePublisherWatermarkLayoutInvalid = 1003058,
   ZegoErrorCodePublisherEncryptionKeyInvalid = 1003060,
   ZegoErrorCodePublisherErrorPublishWhenUsingMultiRoom = 1003070,
   ZegoErrorCodePublisherErrorPublishWithRoomIdIsNullWhenUsingMultiRoom = 1003071,
   ZegoErrorCodePublisherErrorDispatchAuthError = 1003072,
   ZegoErrorCodePublisherDummyCaptureImagePathError = 1003073,
   ZegoErrorCodePublisherVideoEncoderNoSupportted = 1003080,
   ZegoErrorCodePublisherVideoEncoderFail = 1003081,
   ZegoErrorCodePublisherInnerError = 1003099,
   ZegoErrorCodePlayerPlayStreamFailed = 1004001,
   ZegoErrorCodePlayerPlayStreamNotExist = 1004002,
   ZegoErrorCodePlayerErrorDispatchAuthError = 1004003,
   ZegoErrorCodePlayerSuperResolutionDeviceNotSupport = 1004004,
   ZegoErrorCodePlayerSuperResolutionMaxCountExceed = 1004005,
   ZegoErrorCodePlayerSuperResolutionVideoSizeNotSupport = 1004006,
   ZegoErrorCodePlayerSuperResolutionDevicePerformanceError = 1004007,
   ZegoErrorCodePlayerSuperResolutionNotInitError = 1004008,
   ZegoErrorCodePlayerCountExceed = 1004010,
   ZegoErrorCodePlayerStreamWasNotPlayed = 1004011,
   ZegoErrorCodePlayerErrorNetworkInterrupt = 1004020,
   ZegoErrorCodePlayerErrorServerForbid = 1004025,
   ZegoErrorCodePlayerTakePlayStreamSnapshotFailed = 1004030,
   ZegoErrorCodePlayerDecryptionKeyInvalid = 1004060,
   ZegoErrorCodePlayerDecryptionFailed = 1004061,
   ZegoErrorCodePlayerErrorPlayStreamWhenUsingMultiRoom = 1004070,
   ZegoErrorCodePlayerErrorPlayStreamWithRoomIdIsNullWhenUsingMultiRoom = 1004071,
   ZegoErrorCodePlayerNotConfigL3 = 1004072,
   ZegoErrorCodePlayerVideoDecoderNoSupportted = 1004080,
   ZegoErrorCodePlayerVideoDecoderFail = 1004081,
   ZegoErrorCodePlayerInnerError = 1004099,
   ZegoErrorCodeMixerNoServices = 1005000,
   ZegoErrorCodeMixerTaskIdNull = 1005001,
   ZegoErrorCodeMixerTaskIdTooLong = 1005002,
   ZegoErrorCodeMixerTaskIdInvalidCharacter = 1005003,
   ZegoErrorCodeMixerNoOutputTarget = 1005005,
   ZegoErrorCodeMixerOutputTargetInvalid = 1005006,
   ZegoErrorCodeMixerStartRequestError = 1005010,
   ZegoErrorCodeMixerStopRequestError = 1005011,
   ZegoErrorCodeMixerNotOwnerStopMixer = 1005012,
   ZegoErrorCodeMixerStartQpsOverload = 1005015,
   ZegoErrorCodeMixerStopQpsOverload = 1005016,
   ZegoErrorCodeMixerInputListInvalid = 1005020,
   ZegoErrorCodeMixerOutputListInvalid = 1005021,
   ZegoErrorCodeMixerVideoConfigInvalid = 1005023,
   ZegoErrorCodeMixerAudioConfigInvalid = 1005024,
   ZegoErrorCodeMixerExceedMaxInputCount = 1005025,
   ZegoErrorCodeMixerInputStreamNotExists = 1005026,
   ZegoErrorCodeMixerInputParametersError = 1005027,
   ZegoErrorCodeMixerInputLabelTextTooLong = 1005028,
   ZegoErrorCodeMixerOutputTargetTooLongError = 1005029,
   ZegoErrorCodeMixerExceedMaxOutputCount = 1005030,
   ZegoErrorCodeMixerExceedMaxAudioFocusStreamCount = 1005031,
   ZegoErrorCodeMixerAdvancedConfigTooLongError = 1005032,
   ZegoErrorCodeMixerWatermarkTooLong = 1005033,
   ZegoErrorCodeMixerInputImageUrlTooLong = 1005034,
   ZegoErrorCodeMixerInputImageUrlFormatError = 1005035,
   ZegoErrorCodeMixerInputImageUrlSizeError = 1005036,
   ZegoErrorCodeMixerAuthenticationFailed = 1005050,
   ZegoErrorCodeMixerWatermarkNull = 1005061,
   ZegoErrorCodeMixerWatermarkParametersError = 1005062,
   ZegoErrorCodeMixerWatermarkUrlInvalid = 1005063,
   ZegoErrorCodeMixerBackgroundImageUrlTooLong = 1005066,
   ZegoErrorCodeMixerBackgroundImageUrlInvalid = 1005067,
   ZegoErrorCodeMixerUserDataTooLong = 1005068,
   ZegoErrorCodeMixerAutoMixStreamServerNotFound = 1005070,
   ZegoErrorCodeMixerInnerError = 1005099,
   ZegoErrorCodeDeviceErrorTypeGeneric = 1006001,
   ZegoErrorCodeDeviceErrorTypeInvalidId = 1006002,
   ZegoErrorCodeDeviceErrorTypeNoAuthorization = 1006003,
   ZegoErrorCodeDeviceErrorTypeZeroFps = 1006004,
   ZegoErrorCodeDeviceErrorTypeInUseByOther = 1006005,
   ZegoErrorCodeDeviceErrorTypeUnplugged = 1006006,
   ZegoErrorCodeDeviceErrorTypeRebootRequired = 1006007,
   ZegoErrorCodeDeviceErrorMediaServicesLost = 1006008,
   ZegoErrorCodeDeviceFreeDeviceListNull = 1006020,
   ZegoErrorCodeDeviceSouldLevelIntervalInvalid = 1006031,
   ZegoErrorCodeDeviceAudioSpectrumIntervalInvalid = 1006032,
   ZegoErrorCodeDeviceZoomFactorInvalid = 1006040,
   ZegoErrorCodeDeviceExposureCompensationValueInvalid = 1006041,
   ZegoErrorCodeDeviceAudioVadStableStateMonitorTypeInvalid = 1006042,
   ZegoErrorCodeDeviceInnerError = 1006099,
   ZegoErrorCodePreprocessPreprocessUnknownError = 1007001,
   ZegoErrorCodePreprocessBeautifyOptionInvalid = 1007005,
   ZegoErrorCodePreprocessReverbParamNull = 1007006,
   ZegoErrorCodePreprocessVoiceChangerParamNull = 1007007,
   ZegoErrorCodePreprocessReverbParamRoomSizeInvalid = 1007011,
   ZegoErrorCodePreprocessReverbParamReverberanceInvalid = 1007012,
   ZegoErrorCodePreprocessReverbParamDampingInvalid = 1007013,
   ZegoErrorCodePreprocessReverbParamDryWetRatioInvalid = 1007014,
   ZegoErrorCodePreprocessVirtualStereoAngleInvalid = 1007015,
   ZegoErrorCodePreprocessVoiceChangerParamInvalid = 1007016,
   ZegoErrorCodePreprocessReverbEchoParamNull = 1007017,
   ZegoErrorCodePreprocessReverbEchoParamInvalid = 1007018,
   ZegoErrorCodePreprocessElectronicEffectsTonalInvalid = 1007019,
   ZegoErrorCodePreprocessEnableEffectsEnvFailed = 1007020,
   ZegoErrorCodePreprocessEnableEffectsBeautyFailed = 1007021,
   ZegoErrorCodePreprocessSetEffectsParamFailed = 1007022,
   ZegoErrorCodePreprocessNotSupportEffectsBufferType = 1007023,
   ZegoErrorCodePreprocessEnableSpeechEnhanceParamInvalid = 1007024,
   ZegoErrorCodeMediaPlayerNoInstance = 1008001,
   ZegoErrorCodeMediaPlayerNoFilePath = 1008003,
   ZegoErrorCodeMediaPlayerFilePathTooLong = 1008004,
   ZegoErrorCodeMediaPlayerFileFormatError = 1008005,
   ZegoErrorCodeMediaPlayerFilePathNotExists = 1008006,
   ZegoErrorCodeMediaPlayerFileDecodeError = 1008007,
   ZegoErrorCodeMediaPlayerFileNoSupportedStream = 1008008,
   ZegoErrorCodeMediaPlayerFileExpired = 1008009,
   ZegoErrorCodeMediaPlayerDemuxError = 1008010,
   ZegoErrorCodeMediaPlayerResourceExpired = 1008011,
   ZegoErrorCodeMediaPlayerResourceIdTooLong = 1008012,
   ZegoErrorCodeMediaPlayerSeekError = 1008016,
   ZegoErrorCodeMediaPlayerPlatformFormatNotSupported = 1008020,
   ZegoErrorCodeMediaPlayerExceedMaxCount = 1008030,
   ZegoErrorCodeMediaPlayerSetAudioTrackIndexError = 1008040,
   ZegoErrorCodeMediaPlayerSetVoiceChangerParamInvalid = 1008041,
   ZegoErrorCodeMediaPlayerTakeSnapshotTimingError = 1008042,
   ZegoErrorCodeMediaPlayerParamValueRangeIllegal = 1008043,
   ZegoErrorCodeMediaPlayerLocalCacheFailed = 1008044,
   ZegoErrorCodeMediaPlayerInnerError = 1008099,
   ZegoErrorCodeIMContentNull = 1009001,
   ZegoErrorCodeIMContentTooLong = 1009002,
   ZegoErrorCodeIMDataTooLong = 1009003,
   ZegoErrorCodeIMInconsistentRoomId = 1009005,
   ZegoErrorCodeIMSendFailed = 1009010,
   ZegoErrorCodeIMUserIdEmpty = 1009011,
   ZegoErrorCodeIMUserIdTooLong = 1009012,
   ZegoErrorCodeIMInputParamsLengthLimit = 1009013,
   ZegoErrorCodeIMBroadcastMessageQpsOverload = 1009015,
   ZegoErrorCodeIMManagerCreationFailed = 1009031,
   ZegoErrorCodeIMNoManagerInstance = 1009032,
   ZegoErrorCodeIMNoAvailableBroadcastChannel = 1009033,
   ZegoErrorCodeIMNoAvailableStreamId = 1009034,
   ZegoErrorCodeIMRepeatBroadcast = 1009035,
   ZegoErrorCodeIMNoBroadcatingStream = 1009036,
   ZegoErrorCodeIMNoSubscribingStream = 1009037,
   ZegoErrorCodeIMRepeatSubscribe = 1009038,
   ZegoErrorCodeIMRealTimeSequentialDataSendFailed = 1009039,
   ZegoErrorCodeRecorderFileSuffixNameFormatNotSupport = 1010002,
   ZegoErrorCodeRecorderCommonLiveroomApiError = 1010003,
   ZegoErrorCodeRecorderFilePathTooLong = 1010011,
   ZegoErrorCodeRecorderInnerVeError = 1010012,
   ZegoErrorCodeRecorderOpenFileFailed = 1010013,
   ZegoErrorCodeRecorderWriteFileError = 1010014,
   ZegoErrorCodeRecorderNoEnoughSpareCapacity = 1010017,
   ZegoErrorCodeRecorderFileHandleExceptions = 1010018,
   ZegoErrorCodeRecorderIoExceptions = 1010019,
   ZegoErrorCodeCustomVideoIOCapturerNotCreated = 1011001,
   ZegoErrorCodeCustomVideoIONoCustomVideoCapture = 1011002,
   ZegoErrorCodeCustomVideoIOEnableCustomIoFailed = 1011003,
   ZegoErrorCodeCustomVideoIOProcessModuleNotCreated = 1011004,
   ZegoErrorCodeCustomVideoIONoCustomVideoProcessing = 1011005,
   ZegoErrorCodeCustomVideoIONotSupportedFormat = 1011010,
   ZegoErrorCodeCustomVideoIONotSupportedBufferType = 1011011,
   ZegoErrorCodeCustomAudioIOUnsupportedAudioSourceType = 1012001,
   ZegoErrorCodeCustomAudioIOCapturerNotCreated = 1012002,
   ZegoErrorCodeCustomAudioIORendererNotCreated = 1012003,
   ZegoErrorCodeCustomAudioIOEnableCustomAudioIoFailed = 1012004,
   ZegoErrorCodeCustomAudioIOAudioDataCallbackSampleRateNoSupport = 1012010,
   ZegoErrorCodeMediaDataPublisherNoInstance = 1013000,
   ZegoErrorCodeMediaDataPublisherFileParseError = 1013001,
   ZegoErrorCodeMediaDataPublisherFilePathError = 1013002,
   ZegoErrorCodeMediaDataPublisherFileCodecError = 1013003,
   ZegoErrorCodeMediaDataPublisherTimestampGoBackError = 1013004,
   ZegoErrorCodeMediaDataPublisherExceedMaxCount = 1013005,
   ZegoErrorCodeAudioEffectPlayerNoInstance = 1014000,
   ZegoErrorCodeAudioEffectPlayerLoadFailed = 1014001,
   ZegoErrorCodeAudioEffectPlayerPlayFailed = 1014002,
   ZegoErrorCodeAudioEffectPlayerSeekFailed = 1014003,
   ZegoErrorCodeAudioEffectPlayerExceedMaxCount = 1014004,
   ZegoErrorCodeUtilitiesNetworkConnectivityTestFailed = 1015001,
   ZegoErrorCodeUtilitiesNetworkToolConnectServerFailed = 1015002,
   ZegoErrorCodeUtilitiesNetworkToolRtpTimeoutError = 1015003,
   ZegoErrorCodeUtilitiesNetworkToolEngineDenied = 1015004,
   ZegoErrorCodeUtilitiesNetworkToolStoppedByPublishingStream = 1015005,
   ZegoErrorCodeUtilitiesNetworkToolStoppedByPlayingStream = 1015006,
   ZegoErrorCodeUtilitiesNetworkToolInnerError = 1015009,
   ZegoErrorCodeUtilitiesPerformanceMonitorIntervalInvalid = 1015031,
   ZegoErrorCodeUtilitiesStopByLoginRoom = 1015032,
   ZegoErrorCodeUtilitiesStartDumpAudioDataFailed = 1015033,
   ZegoErrorCodeUtilitiesAlreadyStartDumpDataError = 1015034,
   ZegoErrorCodeUtilitiesNoDumpDataError = 1015035,
   ZegoErrorCodeUtilitiesCreateDumpDataFolderError = 1015036,
   ZegoErrorCodeUtilitiesUploadModuleInnerError = 1015037,
   ZegoErrorCodeUtilitiesDumpDataExceedMaxSizeError = 1015038,
   ZegoErrorCodeRangeAudioNoInstance = 1016000,
   ZegoErrorCodeRangeAudioExceedMaxCount = 1016001,
   ZegoErrorCodeRangeAudioNotSupportMultiRoom = 1016002,
   ZegoErrorCodeRangeAudioTeamIdTooLong = 1016003,
   ZegoErrorCodeRangeAudioTeamIdInvalidCharacter = 1016004,
   ZegoErrorCodeCopyrightedMusicCommandInvalid = 1017000,
   ZegoErrorCodeCopyrightedMusicParamsInvalid = 1017001,
   ZegoErrorCodeCopyrightedMusicSongIdInvalid = 1017002,
   ZegoErrorCodeCopyrightedMusicShareTokenInvalid = 1017003,
   ZegoErrorCodeCopyrightedMusicResourceIdInvalid = 1017004,
   ZegoErrorCodeCopyrightedMusicStartPositionInvalid = 1017005,
   ZegoErrorCodeCopyrightedMusicPositionInvalid = 1017006,
   ZegoErrorCodeCopyrightedMusicVolumeInvalid = 1017007,
   ZegoErrorCodeCopyrightedMusicKrcTokenInvalid = 1017008,
   ZegoErrorCodeCopyrightedMusicCopyrightedMusicAuthParamInvalid = 1017009,
   ZegoErrorCodeCopyrightedMusicCopyrightedServerFail = 1017010,
   ZegoErrorCodeCopyrightedMusicFreeSpaceLimit = 1017011,
   ZegoErrorCodeCopyrightedMusicDownloading = 1017012,
   ZegoErrorCodeCopyrightedMusicResourceFileNotExist = 1017013,
   ZegoErrorCodeCopyrightedMusicResourceFileExpired = 1017014,
   ZegoErrorCodeCopyrightedMusicResourceFileInvalid = 1017015,
   ZegoErrorCodeCopyrightedMusicDownloadCanceled = 1017016,
   ZegoErrorCodeCopyrightedMusicResourceIdUnauthorized = 1017018,
   ZegoErrorCodeCopyrightedMusicResourceExpired = 1017019,
   ZegoErrorCodeCopyrightedMusicResourceNotSupportFunction = 1017020,
   ZegoErrorCodeCopyrightedMusicNoCopyright = 1017030,
   ZegoErrorCodeCopyrightedMusicNoPermissionsOfLyricsAndMusic = 1017031,
   ZegoErrorCodeCopyrightedMusicNonMonthlyMembership = 1017032,
   ZegoErrorCodeCopyrightedMusicNoAccompany = 1017033,
   ZegoErrorCodeCopyrightedMusicResourceNotExist = 1017034,
   ZegoErrorCodeCopyrightedMusicIllegalParam = 1017040,
   ZegoErrorCodeCopyrightedMusicAppidInvalid = 1017041,
   ZegoErrorCodeCopyrightedMusicBillingModeInvalid = 1017042,
   ZegoErrorCodeCopyrightedMusicUnreasonableAccess = 1017043,
   ZegoErrorCodeCopyrightedMusicShareTokenExpired = 1017044,
   ZegoErrorCodeCopyrightedMusicShareTokenIllegal = 1017045,
   ZegoErrorCodeCopyrightedMusicKrcTokenIllegal = 1017046,
   ZegoErrorCodeCopyrightedMusicKrcTokenExpired = 1017047,
   ZegoErrorCodeCopyrightedMusicGetLyricFail = 1017048,
   ZegoErrorCodeCopyrightedMusicGetPitchFail = 1017049,
   ZegoErrorCodeCopyrightedMusicNotSharedResource = 1017050,
   ZegoErrorCodeCopyrightedMusicGetSharedResourceTimesOver = 1017051,
   ZegoErrorCodeCopyrightedMusicVendorIdNotAvaliable = 1017052,
   ZegoErrorCodeCopyrightedMusicVendorNotSupportFunction = 1017053,
   ZegoErrorCodeCopyrightedMusicRoomNoLogin = 1017054,
   ZegoErrorCodeCopyrightedMusicVendorIdInvalid = 1017071,
   ZegoErrorCodeCopyrightedMusicSongIdNotSupport = 1017072,
   ZegoErrorCodeCopyrightedMusicMasterIdInvalid = 1017073,
   ZegoErrorCodeCopyrightedMusicPageInvalid = 1017074,
   ZegoErrorCodeCopyrightedMusicNoPitch = 1017075,
   ZegoErrorCodeCopyrightedMusicSceneIdInvalid = 1017076,
   ZegoErrorCodeCopyrightedMusicTopIdInvalid = 1017077,
   ZegoErrorCodeCopyrightedMusicLoadPluginFail = 1017094,
   ZegoErrorCodeCopyrightedMusicNotSupportMethod = 1017095,
   ZegoErrorCodeCopyrightedMusicNoInit = 1017096,
   ZegoErrorCodeCopyrightedMusicSystemBusy = 1017097,
   ZegoErrorCodeCopyrightedMusicNetworkError = 1017098,
   ZegoErrorCodeCopyrightedMusicInnerError = 1017099,
   ZegoErrorCodeAudioVADClientInnerNullptr = 1018000,
   ZegoErrorCodeAudioVADClientNoInstance = 1018001,
   ZegoErrorCodeRangeSceneCallFunctionFailed = 1019000,
   ZegoErrorCodeRangeSceneNoInstance = 1019001,
   ZegoErrorCodeRangeSceneNotLoginScene = 1019002,
   ZegoErrorCodeRangeSceneNotSupport = 1019003,
   ZegoErrorCodeRangeSceneRetryTimeout = 1019004,
   ZegoErrorCodeRangeSceneNetworkInterrupt = 1019005,
   ZegoErrorCodeRangeSceneTokenIllegal = 1019006,
   ZegoErrorCodeRangeSceneTokenExpire = 1019007,
   ZegoErrorCodeRangeSceneCoordinateOutOfRange = 1019020,
   ZegoErrorCodeRangeSceneItemHasBeenCreated = 1019021,
   ZegoErrorCodeRangeSceneItemBindExceedLimit = 1019022,
   ZegoErrorCodeRangeSceneItemNotExist = 1019023,
   ZegoErrorCodeRangeSceneItemNotBind = 1019024,
   ZegoErrorCodeRangeSceneItemCasFailed = 1019025,
   ZegoErrorCodeRangeSceneItemCapacityExceedLimit = 1019026,
   ZegoErrorCodeRangeSceneUserBindItemExceedLimit = 1019027,
   ZegoErrorCodeRangeSceneItemOutOfUserView = 1019028,
   ZegoErrorCodeRangeSceneExceedMaxCount = 1019030,
   ZegoErrorCodeRangeSceneTeamExceedMaxCount = 1019031,
   ZegoErrorCodeRangeSceneTeamIdOccupied = 1019032,
   ZegoErrorCodeRangeSceneTeamIdIncorrect = 1019033,
   ZegoErrorCodeRangeSceneInnerError = 1019099,
   ZegoErrorCodeScreenCapturePermissionDenied = 1020000,
   ZegoErrorCodeScreenCaptureNotSupport = 1020001,
   ZegoErrorCodeScreenCaptureSdkNoModule = 1020002,
   ZegoErrorCodeScreenCaptureNoInstance = 1020003,
   ZegoErrorCodeScreenCaptureExceedMaxCount = 1020004,
   ZegoErrorCodeScreenCaptureInnerError = 1020005,
   ZegoErrorCodeAIVoiceChangerNoInstance = 1021000,
   ZegoErrorCodeAIVoiceChangerExceedMaxCount = 1021001,
   ZegoErrorCodeAIVoiceChangerInnerError = 1021002,
};

Constants

ZegoErrorCodeCommonSuccess

Execution successful.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonEngineNotCreate

Description: The engine is not initialized and cannot call non-static functions.
Cause: Engine not created.
Solutions: Please call the [createEngine] function to create the engine first, and then call the current function.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonNotLoginRoom

Description: Not logged in to the room, unable to support function implementation.
Cause: Not logged in to the room.
Solutions: Please call [loginRoom] to log in to the room first, and use related functions during the online period after entering the room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonEngineNotStarted

Description: The audio and video module of the engine is not started and cannot support function realization.
Cause: Audio and video modules with no engine started.
Solutions: Please call [startPreviewView] [startPublishingStream] [startPlayingStream] to start the audio and video module first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonUnsupportedPlatform

Description: Call functions that are not supported on the current system/platform.
Cause: For example, calling the function of setting the Android context environment on a non-Android system.
Solutions: Check if the system environment matches.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonInvalidAndroidEnvironment

Description: Invalid Android context.
Cause: Not set or set the wrong Android context environment.
Solutions: Set the correct Android context.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonEventHandlerExists

Description: setEventHandler has been called to set the handler, please do not set it repeatedly.
Cause: Call setEventHandler repeatedly to set the handler.
Solutions: If you need to repeat the settings, please call setEventHandler first to empty the previous handler.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonSdkNoModule

Description: The current SDK does not support this feature.
Cause: The SDK version used does not include this feature.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonStreamIdTooLong

Description: The input streamID is too long.
Cause: The length of the streamID parameter passed in when calling [startPublishingStream] or [startPlayingStream] exceeds the limit.
Solutions: The streamID should be less than 256 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonStreamIdNull

Description: The input StreamID is null.
Cause: The streamID parameter passed in when calling [startPublishingStream] or [startPlayingStream] is null or empty string.
Solutions: Check whether the streamID parameter passed in when calling the function is normal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonStreamIdInvalidCharacter

Description: The input streamID contains invalid characters.
Cause: The streamID parameter passed in when calling [startPublishingStream] or [startPlayingStream] contains invalid characters.
Solutions: Check whether the streamID parameter passed in when calling the function is normal, only support numbers, English characters and ‘-’, ‘_’.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonIllegalParam

Description: Illegal param.
Cause: The parameter is empty, or the parameter is an illegal value.
Solutions: Please check param when entered function to make sure it is correct.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonCdnUrlTooLong

Description: The Input CDN URL is too long.
Cause: The length of URL parameter passed in when calling [enablePublishDirectToCDN] or [startPlayingStream] exceeds the limit.
Solutions: URL length should be less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonCdnAuthParamTooLong

Description: The Input CDN auth param is too long.
Cause: The length of auth parameter passed in when calling [enablePublishDirectToCDN] or [startPlayingStream] exceeds the limit.
Solutions: Auth param length should be less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonUserNotSame

Description: When login room or login scene, userID or user name is different.
Cause: Login room, login scene use different user id or user name.
Solutions: Use same user id and user name when login room, login scene.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonAppOfflineError

Description: This AppID has been removed from production.
Solutions: Please check the status of the AppID on the ZEGO official website console or contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonAppFlexiableConfigError

Description: The backend configuration of the server is incorrect.
Cause: 1. The domain name configuration is incorrect; 2. The media network is abnormal; 3. The media network link is empty.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonAppAccessDeniedError

Description: Server access denied.
Cause: 1.The APP has enabled the restriction of access from foreign IP addresses, and the current client is outside of the domain.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonCdnUrlInvalid

Description: Incorrect CDN address.
Cause: The set CDN URL is not a standard RTMP or FLV protocol.
Solutions: Please check the supported protocol and format.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonDnsResolveError

DNS resolution failed. Please check network configurations. This error code is deprecated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonDispatchError

Server dispatching exception. Please contact ZEGO technical support to solve the problem. This error code is deprecated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonConfigAfterEngineStarted

Description: The engine audio and video module has been activated, and this setting is not supported.
Cause: Only supports setting before starting the audio and video module of the engine.
Solutions: Please set it before calling [startPreviewView] [startPublishingStream] [startPlayingStream] to start the audio and video module.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonConfigAfterRoomLoggedIn

Description: The room is logged in, this setting is not supported.
Cause: Only supports setting before logging into the room.
Solutions: Please set it before calling [loginRoom] or after calling [logoutRoom]. Note that if you log in to multiple rooms, you need to log out of all rooms before setting.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonLoadLibraryFailed

Description: Failed to load SDK dynamic library.
Cause: Incorrect SDK dynamic path passed in.
Solutions: Please pass in the correct SDK dynamic library path.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonLoadLibraryFuncNotFound

Description: Failed to obtain SDK export function when loading SDK dynamic library.
Cause: SDK dynamic library version does not match.
Solutions: Please load the matching version of the SDK dynamic library.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonLoadLibraryNotSupport

Description: This call is not supported.
Cause: ZEGOEXP_EXPLICIT macro is not enabled.
Solutions: Please add the ZEGOEXP_EXPLICIT macro to the preprocessor.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCommonInnerNullptr

Description: SDK internal null pointer error.
Cause: The Android JVM environment is abnormal.
Solutions: Please check whether the Android JVM environment is normal or contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineAppidZero

AppID cannot be 0. Please check if the AppID is correct.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineAppsignInvalidLength

The length of the input AppSign must be 64 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineAppsignInvalidCharacter

The input AppSign contains invalid characters. Only ‘0’-‘9’, ‘a’-‘f’, ‘A’-‘F’ are valid.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineAppsignNull

The input AppSign is empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineAppidIncorrectOrNotOnline

Description: Authentication failed.
Cause: Incorrect AppID; using AppID in wrong environment.
Solutions: Please check AppID is correct or not on ZEGO manage console, or check whether the environment configured by AppID is consistent with the environment set by SDK.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineAppsignIncorrect

Description: Authentication failed.
Cause: Incorrect AppSign.
Solutions: Please check AppSign is correct or not on ZEGO manage console.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineLicenseNull

The input License is empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineLogNoWritePermission

Description: No write permission to the log file.
Cause: App has no write permission to log file folder.
Solutions: Please check has grant write permission to App or not; check log folder is protected or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineLogPathTooLong

Description: The log file path is too long.
Cause: The length of log file path exceeds limit.
Solutions: Please check the length of log file path.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineSetRoomModeErrorTime

Description: Set room mode failed.
Cause: Set room mode after initialize the SDK.
Solutions: Please set room mode before initialize the SDK.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineSetGeoFenceErrorTime

Description: Set geo fence failed.
Cause: Set geo fence after initialize the SDK.
Solutions: Please set geo fence before initialize the SDK.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeEngineExperimentalJsonStrInvalid

Description: The experimental API json parameter parsing failed.
Cause: Invalid json format; wrong function name or parameter.
Solutions: Please check json format is valid or not; check function name or parameter is correct or not, contact ZEGO technical support for specific function name and parameters.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomCountExceed

Description: The number of rooms the user attempted to log into simultaneously exceeds the maximum number allowed. Currently, a user can only be logged in to one main room.
Cause: In single-room mode, log in to multiple main rooms at the same time (including repeated calls to log in to the same room A without exiting room A).
Solutions: Please check is login multiple rooms simultaneously or not under single room mode.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomidIncorrect

Description: Haven’t login with the input room ID.
Cause: Haven’t login with the input room ID before call [logoutRoom] or [switchRoom] or [renewToken] or [setRoomExtraInfo].
Solutions: Please check has login with the room ID or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserIdNull

Description: The input user ID is empty.
Cause: The input user ID is empty.
Solutions: Please check the input user ID is empty or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserIdInvalidCharacter

Description: The input user ID contains invalid characters.
Cause: The input user ID contains invalid characters.
Solutions: User ID can only contains numbers, English characters and ‘~’, ‘!’, ‘@’, ‘#’, ‘$’, ‘%’, ‘^’, ‘&’, ‘*’, ‘(’, ‘)’, ‘_’, ‘+’, ‘=’, ‘-’, ‘`’, ‘;’, ‘,’, ‘.’, ‘<’, ‘>’, ‘\’.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserIdTooLong

The input user ID is too long.
The length of the user ID input by the [loginRoom] function is greater than or equal to 64 bytes.
Please check the user ID entered when calling the [loginRoom] function to ensure that its length is less than 64 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserNameNull

The input user name is empty.
The user name entered by the [loginRoom] function is empty.
Please check the user name entered when calling the [loginRoom] function to make sure it is not empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserNameInvalidCharacter

The input user name contains invalid characters.
The user name entered by the [loginRoom] function contains illegal characters.
Please check the user name entered when calling the [loginRoom] function to ensure that it is only contain numbers, English characters and ‘~’, ‘!’, ‘@’, ‘#’, ‘$’, ‘%’, ‘^’, ‘&’, ‘*’, ‘(’, ‘)’, ‘_’, ‘+’, ‘=’, ‘-’, ‘`’, ‘;’, ‘,’, ‘.’, ‘<’, ‘>’, ‘/’, ‘\’.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserNameTooLong

The input user name is too long.
The length of the user name input by the [loginRoom] function is greater than or equal to 256 bytes.
Please check the user name entered when calling the [loginRoom] function to ensure that its length is less than 256 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomidNull

The input room ID is empty.
The room ID entered by the [loginRoom] function is empty.
Please check the room ID entered when calling the [loginRoom] function to make sure it is not empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomidInvalidCharacter

The input room ID contains invalid characters.
The room ID entered by the [loginRoom] function contains illegal characters.
Please check the room ID entered when calling the [loginRoom] function to ensure that it is only contain numbers, English characters and ‘~’, ‘!’, ‘@’, ‘#’, ‘$’, ‘%’, ‘^’, ‘&’, ‘*’, ‘(’, ‘)’, ‘_’, ‘+’, ‘=’, ‘-’, ‘`’, ‘;’, ‘,’, ‘.’, ‘<’, ‘>’, ‘\’.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomidTooLong

The input room ID is too long.
The length of the room ID input by the [loginRoom] function is greater than or equal to 128 bytes.
Please check the room ID entered when calling the [loginRoom] function to ensure that its length is less than 128 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomExtraInfoKeyEmpty

The key for room extra info is empty.
The key for room extra info entered by the [setRoomExtraInfo] function is empty.
Please check the key for room extra info entered when calling the [setRoomExtraInfo] function to make sure it is not empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomExtraInfoKeyTooLong

The key for room extra info is too long.
The length of the key for room extra info input by the [setRoomExtraInfo] function is greater than or equal to 128 bytes.
Please check the key for room extra info entered when calling the [setRoomExtraInfo] function to ensure that its length is less than 128 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomExtraInfoValueTooLong

The value for room extra info is too long.
The length of the value for room extra info input by the [setRoomExtraInfo] function is greater than or equal to 4096 bytes.
Please check the value for room extra info entered when calling the [setRoomExtraInfo] function to ensure that its length is less than 4096 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomExtraInfoExceedKeys

Description: The number of keys set in the room additional message exceeds the maximum number of supported limits.
Cause: called setRoomExtraInfo Different keys have been passed in multiple times.
Solutions: please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomMultiRoomLoginUserNotSame

Description: set multi room mode, userID or user name is different.
Cause: set multi room mode, login multi room use different user id or user name.
Solutions: Currently supports at most one key, if you need to support multiple, contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomMultiRoomSwtichRoomInvalid

Description: The [switchRoom] function cannot be used in multi-room mode.
Cause: multi room mode SDK not support.
Solutions: first call [logoutRoom] then call [loginRoom].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorConnectFailed

Description: Login failed, possibly due to network problems.
Cause: The current network is abnormal.
Solutions: It is recommended to switch the network to try.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorLoginTimeout

Description: Login timed out, possibly due to network problems.
Cause: The current network delay is large.
Solutions: It is recommended to switch the network to try.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorAuthenticationFailed

Description: Room login authentication failed.
Cause: login set token error or token expired.
Solutions: set new token.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorExceedMaximumMember

Description: The number of users logging into the room exceeds the maximum number of concurrent users configured for the room. (In the test environment, the default maximum number of users in the room is 50).
Cause: too much user in room.
Solutions: contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorExceedMaximumRoomCount

Description: in test environment The total number of rooms logged in at the same time exceeds the limit. (In the test environment, the maximum number of concurrent rooms is 10).
Cause: Too many rooms logged in at the same time.
Solutions: logout some room, login room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorLoginMultiRoomNotOpen

Description: login failed, multi-room mode is not activate.
Cause: multi-room mode is not activate.
Solutions: please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomErrorMultiRoomExceedMaximumRoomCount

The total number of rooms logged in at the same time exceeds the limit, Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomKickedOut

Description: The user was kicked out of the room.
Cause: Possibly because the same user ID is logged in on another device.
Solutions: Use a unique user ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomConnectTemporaryBroken

Description: Room connection is temporarily interrupted and is retrying.
Cause: Possibly due to network problems.
Solutions: Please wait or check whether the network is normal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomDisconnect

Description: Room connection disconnected.
Cause: Possibly due to network problems.
Solutions: Please check whether the network is working or switch the network environment.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRetryTimeout

Description: Room login retry has exceeded the maximum retry time.
Cause: Possibly due to network problems.
Solutions: Please check whether the network is working or switch the network environment.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomManualKickedOut

Description: The business server has sent a signal to kick the user out of the room.
Cause: The business server has sent a signal to kick the user out of the room.
Solutions: Contact the business server for processing.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenExpiredKickedOut

Description: The business server has sent a signal to kick the user out of the room.
Cause: The business server has sent a signal to kick the user out of the room because the token expired.
Solutions: Please update the token in time after receiving the callback notification that the token is about to expire.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomSessionExceptionKickedOut

Description: The business server has sent a signal to kick the user out of the room.
Cause: The business server has sent a signal to kick the user out of the room because the internal session was abnormal.
Solutions: Contact the business server for processing.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomWrongLoginSequence

Description: Wrong order of login rooms.
Cause: Log in multi room without log in the main room.
Solutions: Please log in to the main room with loginRoom before logging in to multi room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomWrongLogoutSequence

Description: Wrong order of logout rooms.
Cause: Log out the main room without log out multi room.
Solutions: Please log out of the multi room before logging out of the main room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomNoMultiRoomPermission

Description: No multi-room permission.
Cause: No multi-room permission.
Solutions: Please contact ZEGO technical support to enable it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomIdHasBeenUsed

Description: The room ID has been used by other login room interface. Current user can not login room with the room ID before release the room ID.
Cause: The room ID has been used by other login room interface.
Solutions: Logout the room with the same room ID first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomMultiRoomDeprecated

Description: This method has been deprecated after version 2.9.0.
Cause: This method has been deprecated after version 2.9.0.
Solutions: Please set [setRoomMode] to select multi-room mode before the engine started, and then call [loginRoom] to use multi-room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomUserInBlacklist

Description: If the user is in the server blacklist when logging in to the room, this error code will be returned, indicating that it is forbidden to log in to the room.
Cause: The user is currently in the server blacklist.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomNoToken

Description: This error code is returned if the user does not pass [AppSign] when creating the engine or [Token] when logging in to the room.
Cause: The Token is not transmitted in the login room.
Solutions: Set the [Token] when you login to the room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomAppCallApiTooFrequent

Description: The interface is called more frequently than the upper limit.
Cause: This application calls this interface too often.
Solutions: Please control the frequency of calls to this interface. Please refer to https://docs.zegocloud.com/article/7612 for details.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomCallApiTooFrequent

Description: The frequency of calls to the interface by users in the room exceeds the upper limit.
Cause: The interface is called too often by users in the room.
Solutions: Please control the frequency of calls to this interface by users in the room. Please refer to https://docs.zegocloud.com/article/7612 for details.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomAppCallTooFrequent

Description: Room signalling type interfaces are called more frequently than the upper limit.
Cause: This application calls the room signalling type interface too often. (e.g., [sendCustomCommand] [sendBroadcastMessage])
Solutions: Please control the frequency of application calls to the room signalling type interface. Please refer to https://docs.zegocloud.com/article/7612 for details.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenInnerError

Description: Token inner error.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it..

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenFormatError

Description: Token Format error.
Cause: The generated Token transmission parameter payload is in non-JSON format.
Solutions: The payload is correctly transmitted in json format when the Token is generated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenAppidError

Description: Token Appid error.
Cause: The generated Token Appid is inconsistent with the SDK used Appid, Or the appID type is incorrect.
Solutions: Use the Appid of the generated Token.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenUseridError

Description: Token userID error.
Cause: The generated Token userID is inconsistent with the login used userID Or the userID type is incorrect.
Solutions: Login using the userID that generates the Token.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenExpireError

Description: Token expire.
Cause: Token expire Or the generated Token validity period parameter type is incorrect.
Solutions: Regenerate the Token.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenVersionError

Description: Token version error.
Cause: Description The Token Version was generated incorrectly.
Solutions: Generate the Token with the correct version.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomTokenNoncetypeError

Description: The Token Nonce parameter type is incorrect.
Cause: The nonce parameter type of the generated Token is incorrect.
Solutions: Ensure that nonce is int64 data.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomMultiRoomRequired

Description: Multi-room mode required.
Cause: Wrong room mode been used, e.g. single-room.
Solutions: Please use [setRoomMode] to select multi-room mode before the engine started.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRenewTokenNoPublishAuthError

Description: Update room Token has no push permission.
Cause: Token Does not have the push permission.
Solutions: Pass in the Token with the push permission.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomLoginCustomDataLengthError

Description: The length of the custom data attached during login exceeded the limit. Procedure.
Cause: The login custom callback data is too long.
Solutions: The length of user-defined login data cannot exceed 128 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomLoginLicenseNotFound

Description: login room used license auth, but can’t find the license on zego server.
Cause: input wrong license.
Solutions: used the right license.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomLoginLicenseExpired

Description: login room used license auth, but the license is expired.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomLoginOther

Description: The user has logged in elsewhere.
Solutions: Check whether the user has logged in elsewhere.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomRoomLicenseFeatureLimit

Description: License authentication is used, and when using the relevant function, the license is configured with a functional limitation that does not allow the use of the function.
Solutions: Proofread the license’s functionality limitations and use the functionality appropriately.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRoomInnerError

Description: Room login failed due to internal system exceptions.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherPublishStreamFailed

Description: Publishing failed due to no data in the stream.
Cause: No data in the stream.
Solutions: Check whether the video, audio capture module is working properly.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherBitrateInvalid

Description: Publishing failed due to wrong bitrate setting.
Cause: The set video bitrate, audio bitrate, or minimum video bitrate threshold for traffic control exceeds the upper limit.
Solutions: Please check if the bitrate value is in the correct unit (kbps).Adjust the bitrate setting.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherTrafficModeInvalid

Description: The property param of the traffic control is set incorrectly.
Cause: The property param of the traffic control is less than 0 or exceeds all combinations.
Solutions: Check the settings of the property param of the traffic control.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorH265EncoderNotSupported

Description: Streaming failed, H.265 encoding is not supported.
Cause: The hardware device does not support H.265 encoding, or the SDK does not include H.265 encoding module.
Solutions: Contact ZEGO technical support to confirm whether the SDK contains the H.265 encoding module, if the hardware device does not support it, it is recommended to upgrade the hardware.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherObjectSegmentationPerformanceWarning

Description: The performance of object segmentation device is not enough.
Caution: The performance of device is not enough.
Solutions: Please replace the device.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherObjectSegmentationDeviceNotSupport

Description: This device does not support object segmentation.
Caution: The device is not supported, or the object segmentation of multiple channels is enabled.
Solutions: Please change the device or only open the object segmentation of one channel.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherObjectSegmentationNoAuth

Description: Object segmentation unauthorized.
Caution: The appid is not configured with object segmentation.
Solutions: Please contact ZEGO technical support to configure the object segmentation function.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherObjectSegmentationParamError

Description: Object segmentation parameter error.
Caution: Object segmentation is set to green screen type, background blur is not allowed.
Solutions: Please use the correct parameters to enable object segmentation.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherObjectSegmentationImageLoadError

Description: Object segmentation background loading error.
Caution: The background video or image path is incorrect, or the content is incorrect..
Solutions: Please set the correct background image or video.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorNetworkInterrupt

Description:Stream publishing is temporarily interrupted and is retrying.
Cause: The network fluctuates or the network signal is bad.
Solutions: Please wait or check whether the network is normal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorRetryTimeout

Description: Stream publish retry has exceeds the maximum retry time.
Cause: The the network signal is bad, and the maximum retry time is exceeded.
Solutions: Check the network status or switch to another network.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorAlreadyDoPublish

Description: Failed to publish the stream. The publish channel is already publishing streams.
Cause: The publish channel is already publishing streams.
Solutions: Please check the business logic to avoid repeating the publish for publish channel which is publishing.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorServerForbid

Description: Failed to publish the stream. Publishing of this stream is prohibited by backend configuration.
Cause: Publishing of this stream is prohibited by backend configuration.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorRepetitivePublishStream

Description: Failed to publish the stream. The same stream already exists in the room.
Cause: The same stream already exists in the room.
Solutions: Replace with a new stream ID. Adjust the stream ID generation strategy to ensure uniqueness.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherRtmpServerDisconnect

Description: Failed to publish the stream. The connection to the RTMP server is interrupted.
Cause: The publish address is wrong, or the network signal is bad.
Solutions: Please check whether there is any problem with the network connection or the stream publishing URL.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherTakePublishStreamSnapshotFailed

Description: Failed to take a screenshot of the publis stream screen.
Cause: The preview is stopped and the push is abnormal.
Solutions: Turn on preview or re-publish.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherUpdateCdnTargetError

Description: Failed to update the relay CDN status.
Cause: The URL of the relay address is incorrect.
Solutions: Check whether the input URL is valid.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherSeiDataNull

Description: Failed to send SEI.
Cause: data is empty.
Solutions: Incoming non-empty data.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherSeiDataTooLong

Description: Failed to send SEI.
Cause: The input data exceeds the length limit.
Solutions: The length of the sent SEI data should be less than 4096 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherAudioSideDataNull

Description: Failed to send audio side info.
Cause: data is empty.
Solutions: Incoming non-empty data.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherAudioSideDataTooLong

Description: Failed to send audio side info.
Cause: The input data exceeds the length limit.
Solutions: The length of the sent audio side data should be less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherExtraInfoNull

The extra info of the stream is null.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherExtraInfoTooLong

The extra info of the stream is too long. The maximum length should be less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherUpdateExtraInfoFailed

Failed to update the extra info of the stream. Please check the network connection.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherWatermarkUrlNull

Description: Failed to set publish watermark.
Cause: The incoming watermark path is empty.
Solutions: Incoming non-empty path.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherWatermarkUrlTooLong

Description: Failed to set publish watermark.
Cause: The incoming watermark path exceeds the byte size limit.
Solutions: The incoming watermark path should be less than 512 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherWatermarkUrlInvalid

Description: Failed to set publish watermark.
Cause: The incoming watermark path was entered incorrectly or the image format is not supported.
Solutions: Incoming the correct watermark path, only jpg and png image formats are supported.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherWatermarkLayoutInvalid

Description: Incorrect watermark layout.
Caution: The layout area exceed the encoding resolution.
Solutions: Make sure the layout area cannot exceed the encoding resolution and call current interface.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherEncryptionKeyInvalid

Description: The publish stream encryption key is invalid.
Caution: The set encryption key length is not supported.
Solutions: The Publish-stream encryption key length to be 16/24/32 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorPublishWhenUsingMultiRoom

Description: StartPlayingStream failed.
Caution: In multi-room mode, the publish-stream function is called incorrectly.
Solutions: In multi-room mode, A publish-stream function with the parameter ‘ZegoPublisherConfig’ needs to be called.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorPublishWithRoomIdIsNullWhenUsingMultiRoom

Description: StartPlayingStream failed.
Caution: In multi-room mode, the publish-stream function is called incorrectly.
Solutions: In multi-room mode, A publish-stream function parameter ‘roomID’ cannot be empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherErrorDispatchAuthError

Description: Push-pull flow authentication is incorrect.
Caution: An [appSign] error was passed when creating the engine, or a Token error or timeout was passed when logging into the room.
Solutions: Pass the correct [Token] upon login, or invoke [renewToken] when recive [onRoomTokenWillExpire] callback.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherDummyCaptureImagePathError

Description: The specified path for displaying static images when the camera is turned off is incorrect.
Caution: The path may be misspelled or there may be no read permission.
Solutions: Please check if the designated image path is correct and if there is read permission.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherVideoEncoderNoSupportted

Description: Unsupported video encoder.
Caution: There is no selected video encoder in the current SDK.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherVideoEncoderFail

Description: Video encoder error.
Caution: Video encoder error.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePublisherInnerError

Description: Stream publishing failed due to system internal exceptions.
Caution: Stream publishing failed due to system internal exceptions.
Solutions: Please contact ZEGO technical support to solve the problem.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerPlayStreamFailed

Description: Stream playing failed.
Caution: Possibly due to no data in the stream.
Solutions: Check to see if the publish-stream is working or try to play stream again, and if the problem is still not resolved, please contact ZEGO technical support to solve the problem.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerPlayStreamNotExist

Description: Stream playing failed.
Caution: The stream does not exist.
Solutions: Please check whether the remote end publish is indeed successful, or whether the publish and play environment are inconsistent.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerErrorDispatchAuthError

Description: Play stream authentication is incorrect.
Caution: The [Token] error or timeout required to playing stream across APP.
Solutions: Playing the stream to pass the correct [Token], or update the [Token] in time.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerSuperResolutionDeviceNotSupport

Description: This device does not support super resolution.
Caution: The device configured on the server does not support super resolution, or the configuration on the server failed to pull.
Solutions: replace the device and try again or contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerSuperResolutionMaxCountExceed

Description: The number of super resolution streams exceeds the limit.
Caution: The number of super resolution streams exceeds the limit.
Solutions: Currently, super resolution support up to 1 playing steam at the same time.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerSuperResolutionVideoSizeNotSupport

Description: The number of super resolution streams exceeds the limit.
Caution: The number of super resolution streams exceeds the limit.
Solutions: contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerSuperResolutionDevicePerformanceError

Description: The performance of super resolution device is not enough.
Caution: The performance of device is not enough.
Solutions: Please replace the device.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerSuperResolutionNotInitError

Description: Super resolution uninitialized.
Caution: Super resolution uninitialized.
Solutions: Please initialize super resolution.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerCountExceed

Description: Stream playing error.
Caution: The number of streams the user attempted to play simultaneously exceeds the maximum number allowed.
Solutions: Currently, up to 12 steams can be played at the same time. Please contact ZEGO technical support to increase the capacity if necessary.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerStreamWasNotPlayed

Description: The stream was not played.
Caution: The stream was not played.
Solutions: Please confirm that the stream has been played through the [onPlayerStateUpdate] or [onUserStreamStateUpdate] callback.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerErrorNetworkInterrupt

Description: Stream playing is temporarily interrupted.
Caution: Network exception.
Solutions: Please wait or check whether the network is normal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerErrorServerForbid

Description: Failed to play the stream.
Caution: Publishing of this stream is prohibited by backend configuration.
Solutions: Please contact ZEGO technical support to solve the problem.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerTakePlayStreamSnapshotFailed

Description: Failed to capture the screenshot of the streaming screen, please check whether the stream to be captured is normal.
Cause: The stream is not pulled.
Solutions: Check whether it starts to play the stream, and whether there is an abnormality in the process of playing the stream.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerDecryptionKeyInvalid

Description: The play stream decryption key is invalid, the key length only supports 16/24/32 bytes.
Cause: The input key length is not 16/24/32 bytes.
Solutions: Adjust the input key length to 16/24/32 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerDecryptionFailed

Description: Pull stream decryption failed, please check whether the decryption key is correct.
Cause: Incorrect decryption key entered.
Solutions: Enter the correct decryption key.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerErrorPlayStreamWhenUsingMultiRoom

Description: Calling the wrong function after enabling the multi-room function causes playing stream fail.
Cause: Called the playing stream function that only works for joining a single room mode.
Solutions: Please use the function of the same name with ZegoPlayerConfig and specify the room ID to play the stream.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerErrorPlayStreamWithRoomIdIsNullWhenUsingMultiRoom

Description: In the multi-room mode, the roomID parameter of the play stream cannot be empty.
Cause: The roomID parameter of the pull stream is empty.
Solutions: Please enter the correct roomID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerNotConfigL3

Description: When using the SDK to play the latency of live streaming, this error code will be returned if you have not subscribed to the low latency live streaming service.
Cause: Low-latency live broadcast service is not activated.
Solutions: Please contact ZEGO technical support staff to open the low-latency live broadcast service.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerVideoDecoderNoSupportted

Description: Unsupported video decoder.
Caution: There is no selected video decoder in the current SDK.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerVideoDecoderFail

Description: Video decoder fail.
Caution: Video decoder fail.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePlayerInnerError

Description: An internal system exception causes a failure to pull the stream.
Cause: SDK internal error.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerNoServices

Description: Does not support the use of stream mixing service.
Cause: No stream mixing service configured.
Solutions: Please open the service on the console or contact ZEGO business staff.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerTaskIdNull

Description: The mixing task ID is null.
Cause: The mixing task ID input when starting mixing task is empty.
Solutions: Please enter the correct mixing task ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerTaskIdTooLong

Description: The stream mixing task ID is too long.
Cause: The stream mixing task ID is greater than 256 bytes.
Solutions: Please enter a mixing task ID less than 256 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerTaskIdInvalidCharacter

Description: Invalid mixed flow task ID.
Cause: Illegal characters in the stream mixing task ID.
Solutions: Stream mixing task ID only supports numbers, English characters and'~‘,’!‘,’@‘,’$‘,’%‘,’^‘,’&‘,’*‘,’(‘,’)‘, ’_‘,’+‘,’=‘,’-‘,’`‘,’;‘,’‘’,‘,’,‘.’,‘<’,‘>’,‘/’,‘\’, please enter the stream mixing task ID in the correct format.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerNoOutputTarget

Description: Illegal parameters exist in mixing task configuration.
Cause: 1. The mixing task ID is empty; 2. The mixing room ID is empty; 3. The mixing custom data length exceeds 1000 bytes; 4. The mixing output target stream is empty.
Solutions: Please check the configuration parameters of the mixing task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerOutputTargetInvalid

Description: Illegal format of mixed stream output target parameter.
Cause: When the target of the mixed stream output target is streamID, an illegal character is passed in.
Solutions: Please check whether the target of the mixed stream output target is of streamID type, if so, target only support numbers, English characters and ‘-’, ‘_’.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerStartRequestError

Description: Failed to start the stream mixing task.
Cause: Requests are too frequent, exceeding the qps limit of the service.
Solutions: Please ensure that the qps of the mixing request is less than 100.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerStopRequestError

Description: Failed to stop the stream mixing task.
Cause: May be the cause of the network error.
Solutions: Please check the network ring.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerNotOwnerStopMixer

The stream mixing task must be stopped by the user who started the task. This error code is deprecated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerStartQpsOverload

Description: Starts stream mixing tasks too frequently.
Cause: Requests are too frequent, exceeding the qps limit of the service.
Solutions: Please ensure that the qps of the mixing request is less than 100.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerStopQpsOverload

Description: Stop stream mixing tasks too frequently.
Cause: Requests are too frequent, exceeding the qps limit of the service.
Solutions: Please ensure that the qps of the stop mixing request is less than 100.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputListInvalid

Description: The input stream list of the stream mixing task is empty.
Cause: The input stream list of the stream mixing task is empty.
Solutions: Please check the input stream list of the mixing task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerOutputListInvalid

Description: The output stream list of the stream mixing task is empty.
Cause: The output stream list of the stream mixing task is empty.
Solutions: Please check the output stream list of the mixing task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerVideoConfigInvalid

Description: The video configuration of the stream mixing task is invalid.
Cause: The video configuration of the stream mixing task is invalid.
Solutions: Please check the video configuration of the stream mixing task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerAudioConfigInvalid

Description: The video configuration of the stream mixing task is invalid.
Cause: 1. An unsupported audio codec format is used. 2. The audio bit rate exceeds 192 kbps.
Solutions: Please check the audio configuration of the stream mixing task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerExceedMaxInputCount

Description: The number of input streams exceeds the maximum number allowed.
Cause: Supports up to 9 input streams, and may pass more than 9 input streams.
Solutions: Please check the input stream configuration of the mixing task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputStreamNotExists

Description: Failed to start mixed stream.
Cause: The input stream does not exist.
Solutions: Please make sure that the stream corresponding to the entered streamID is being pushed.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputParametersError

Description: Failed to start mixed stream.
Cause: The mixed stream input parameter is wrong, it may be that the layout of the input stream exceeds the canvas range.
Solutions: Please enter the correct mixed stream parameters. [ZegoMixerTask]

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputLabelTextTooLong

Description: Mixed input text watermark is too long.
Cause: The length of the text watermark of the mixed stream input parameter exceeds the limit.
Solutions: Please make sure the input text watermark length does not exceed 512 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerOutputTargetTooLongError

Description: Mixed stream output target is too long.
Cause: The length of the target parameter of the mixed stream output exceeds the limit.
Solutions: Please make sure that the output destination length does not exceed 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerExceedMaxOutputCount

Description: Failed to start mixed stream.
Cause: Exceeding the maximum number of output streams.
Solutions: Support up to 3 output streams.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerExceedMaxAudioFocusStreamCount

Description: Failed to start mixed stream.
Cause: The maximum number of focus voice input streams is exceeded.
Solutions: Support up to 4 input streams to set the focus voice.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerAdvancedConfigTooLongError

Description: The mixed-flow advanced configuration is too long.
Cause: The length of the mixed stream advanced configuration parameter exceeds the limit.
Solutions: Please make sure that the advanced configuration length does not exceed 512 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerWatermarkTooLong

Description: The mixed stream watermark path is too long.
Cause: The length of the mixed stream watermark path parameter exceeds the limit.
Solution: Please make sure the watermark path length does not exceed 512 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputImageUrlTooLong

Description: The link to the muxed input image is too long.
Cause: The length of the image link of the mixed stream input parameter exceeds the limit.
Solution: Please make sure that the length of the input image link does not exceed 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputImageUrlFormatError

Description: Failed to mix stream input image.
Cause: The image format of the mixed stream input parameter is incorrect.
Solution: Use JPG and PNG formats. There are 2 ways to use it: 1. URI: Provide the picture to ZEGO technical support for configuration. After the configuration is complete, the picture URI will be provided, for example: preset-id://xxx.jpg. 2. URL: Only HTTP protocol is supported.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInputImageUrlSizeError

Description: Failed to mux input image.
Cause: The image size of the mixed stream input parameter exceeds the limit.
Solution: Image size is limited to 1M.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerAuthenticationFailed

Description: Failed to start mixed stream.
Cause: Mixed-stream authentication failed.
Solutions: Contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerWatermarkNull

Description: Failed to start mixed stream.
Cause: The input image watermark is empty.
Solutions: Please enter the correct watermark parameters [ZegoWatermark].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerWatermarkParametersError

Description: Failed to start mixed stream.
Cause: The input image watermark parameter is wrong, it may be that the layout exceeds the canvas range.
Solutions: Please enter the correct watermark parameters [ZegoWatermark].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerWatermarkUrlInvalid

Description: Failed to start mixed stream.
Cause: The input watermark URL is illegal.
Solutions: The watermark URL must start with preset-id:// and end with .jpg or .png.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerBackgroundImageUrlTooLong

Description: The mixed stream background image url is too long.
Cause: The length of the mixed stream background url parameter exceeds the limit.
Solution: Please make sure the background image url length does not exceed 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerBackgroundImageUrlInvalid

Description: Failed to start mixed stream.
Cause: The URL of the background image entered is illegal.
Solutions: The URL of the background image must start with preset-id:// and end with .jpg or .png.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerUserDataTooLong

Description: Failed to start mixed stream.
Cause: The user-defined data is too long.
Solutions: The maximum length of the custom input should not exceed 1000 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerAutoMixStreamServerNotFound

Description: Failed to start mixed stream.
Cause: The auto-mixing server was not found.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMixerInnerError

Description: Stream mixing internal error.
Cause: Unknown error occured in stream mixing internal.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeGeneric

Description: Generic device error.
Cause: Device dose not work normally.
Solutions: Use the system’s video or audio recording application to check whether the device can work normally. If the device is normal, please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeInvalidId

Description: The device ID does not exist.
Cause: The device ID is spelled incorrectly, or the corresponding device is unplugged.
Solutions: Please use the SDK interface to obtain the device ID, and check whether the device is properly connected.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeNoAuthorization

Description: No permission to access the device.
Cause: Did not apply for or obtain the permission to use the corresponding device.
Solutions: Please check whether the application has correctly applied for the camera or microphone permission, and whether the user has granted the corresponding permission.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeZeroFps

Description: The frame rate of the capture device is 0.
Cause: Device error, or device does not have permission.
Solutions: Please use the system’s video or audio recording application to check whether the device can work normally. Please check whether the application has correctly applied for the camera or microphone permission, and whether the user has granted the corresponding permission. If the device is normal and the application has obtained the corresponding device permissions, please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeInUseByOther

Description: The device is occupied.
Cause: The device is occupied by other programs.
Solutions: Please use the system’s video or audio recording application to check whether the device is working properly and make sure that the device is not occupied by other applications.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeUnplugged

Description: The device is unplugged.
Cause: The device is unplugged or not properly connected.
Solutions: Check the device wiring and reconnect the device.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorTypeRebootRequired

Description: The device needs to be restarted.
Cause: Device driver update, or device error requires restart.
Solutions: Restart device.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceErrorMediaServicesLost

Description: The device media is lost.
Cause: Media service cannot be restored.
Solutions: Restart device.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceFreeDeviceListNull

Description: The device list cannot be empty when trying to release devices.
Cause: The device list has been released or has not been initialized.
Solutions: Ignore it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceSouldLevelIntervalInvalid

Description: The set sound level monitoring interval is out of range.
Cause: The set sound level monitoring interval is less than 100 milliseconds, or greater than 3000 milliseconds.
Solutions: Reset the effective sound level monitoring interval, the effective sound level monitoring interval is [100, 3000], in milliseconds.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceAudioSpectrumIntervalInvalid

Description: The set audio spectrum monitoring interval is out of range.
Cause: The set audio spectrum monitoring interval is less than 10 milliseconds.
Solutions: Reset audio spectrum monitoring interval which is not less than 10 milliseconds.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceZoomFactorInvalid

Description: Failed to set the camera zoom.
Cause: The set camera zoom factor is out of range.
Solutions: The set camera zoom factor cannot exceed the maximum range obtained, the maximum range can be obtained through [getCameraMaxZoomFactor].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceExposureCompensationValueInvalid

Description: Failed to set the camera exposure compensation.
Cause: The set camera exposure compensation value is out of range.
Solutions: Set the camera exposure compensation range between [-1,1].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceAudioVadStableStateMonitorTypeInvalid

invalid audio VAD monitor type

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeDeviceInnerError

Description: Internal error of the device.
Solutions: Contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessPreprocessUnknownError

Description: Unknown error of the pre-processing module.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessBeautifyOptionInvalid

Description: Failed to set the beauty configuration.
Cause: The incoming beauty parameters are incorrect.
Solutions: Please check the passed in [ZegoBeautifyOption] type parameter.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbParamNull

The reverberation parameter is null. Please check the input parameter. This error code is deprecated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessVoiceChangerParamNull

The voice changer parameter is null. Please check the input parameter. This error code is deprecated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbParamRoomSizeInvalid

Description: Failed to set the reverberation parameters.
Cause: the reverberation room size parameter is invalid.
Solutions: The normal range of the reverberation room size parameter is 0.0 ~ 1.0

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbParamReverberanceInvalid

Description: Failed to set the reverberation parameters.
Cause: The reverberance parameter is invalid.
Solutions: The normal range of the reverberance parameter is 0.0 ~ 0.5

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbParamDampingInvalid

Description: Failed to set the reverberation parameters.
Cause: the reverberation damping parameter is invalid.
Solutions: The normal range of the reverberation damping parameter is 0.0 ~ 2.0

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbParamDryWetRatioInvalid

Description: Failed to set the reverberation parameters.
Cause: The dry_wet_ratio parameter of the reverberation is invalid.
Solutions: The normal range of the dry_wet_ratio parameter of reverberation is greater than 0.0

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessVirtualStereoAngleInvalid

Description: Failed to start virtual stereo.
Cause: The virtual stereo angle parameter is invalid.
Solutions: The normal range of angle parameter is -1 ~ 360.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessVoiceChangerParamInvalid

Description: Failed to set the voice changing parameters.
Cause: The param setting of the voice changing parameter is invalid.
Solutions: The normal range of parameter param is -12.0 ~ 12.0

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbEchoParamNull

The reverberation echo parameters is null. Please check the input parameter.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessReverbEchoParamInvalid

Description: Set reverberation echo parameters failed .
Cause: The reverberation echo parameters is invalid.
Solutions: Input the correct reverb echo parameters [setReverbEchoParam].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessElectronicEffectsTonalInvalid

Description: Failed to turn on or turn off the electronic sound effect.
Cause: the initial pitch parameter tonal of the electronic tone is invalid.
Solutions: The normal range of the starting pitch parameter of the electronic tone is 0 ~ 11.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessEnableEffectsEnvFailed

Description: Failed to open or close the beauty environment.
Cause: The beauty environment was not turned on or off before the engine started.
Solutions: Please make sure to turn on or turn off the beauty environment before the engine starts, for example: before calling (startPreview), (startPublishingStream), (startPlayingStream), (createMediaPlayer) or (createAudioEffectPlayer).

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessEnableEffectsBeautyFailed

Description: Failed to turn on or turn off the beauty effect.
Cause: The beauty environment is not activated.
Solutions: Please call [startEffectsEnv] to start the beauty environment first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessSetEffectsParamFailed

Description: Failed to set beauty parameters.
Cause: The beauty environment is not activated.
Solutions: Please call [startEffectsEnv] to start the beauty environment first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessNotSupportEffectsBufferType

Description: Effects Beauty does not support the currently set video data type.
Cause: [enableCustomVideoProcessing] interface, Windows platform only supports raw_data, Apple device only supports cv_pixel_buffer, Android platform supports gl_texture_2d.
Solutions: select the correct video data type.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodePreprocessEnableSpeechEnhanceParamInvalid

Description: Failed to enable speech enhancement.
Cause: speech enhancement level parameter is invalid.
Solutions: speech enhancement level ranges from 0 to 10. Use the correct parameter value.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerNoInstance

Description: The MediaPlayer failed to play the media.
Cause: The resource file is not loaded.
Solutions: Create a media player instance before using media players [createMediaPlayer].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerNoFilePath

Description: The MediaPlayer failed to play the media.
Cause: The resource file is not loaded.
Solutions: The media player loads the media resource [loadResource] before starting.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerFilePathTooLong

Description: The specified media file path is too long.
Cause: The specified media file path is too long. The maximum length should be less than 1024 bytes.
Solutions: Please specify media file path less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerFileFormatError

Description: The MediaPlayer failed to load the file.
Cause: File formats are not supported.
Solutions: Files in this format are not supported, please use files in the supporting format.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerFilePathNotExists

Description: The MediaPlayer failed to load the file.
Cause: The file path does not exist.
Solutions: Check the validity of the media file path.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerFileDecodeError

Description: The MediaPlayer failed to load the file.
Cause: The file decoding failed.
Solutions: Check that the media file is corrupted or contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerFileNoSupportedStream

Description: The MediaPlayer failed to load the file.
Cause: No supported audio/video stream exists.
Solutions: Check that the media file data is empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerFileExpired

Description: The copyrighted music resource file has expired.
Cause: The resource file has expired.
Solutions: Please request song or accompaniment again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerDemuxError

Description: The MediaPlayer failed to load the file.
Cause: There was an error during file resolution.
Solutions: Try again or contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerResourceExpired

Description: The copyrighted music resource has expired.
Cause: The copyrighted music resource has expired.
Solutions: Please request the copyrighted music resource again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerResourceIdTooLong

Description: The copyrighted music resource ID is too long.
Cause: The copyrighted music resource ID is too long. The maximum length should be less than 512 bytes.
Solutions: Please copyrighted music resource ID less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerSeekError

Description: The MediaPlayer failed to seek.
Cause: The file hasn’t been loaded yet.
Solutions: The media player loads the media resource [loadResource] before seeking [seekTo].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerPlatformFormatNotSupported

Description: The MediaPlayer is configured with a video data format not supported by the platform.
Cause: The MediaPlayer is configured with a video data format not supported by the platform (e.g., CVPixelBuffer on iOS does not support NV21).
Solutions: Check the data format [setVideoHandler] supported by the current media player platform and set the correct data format.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerExceedMaxCount

Description: The number of MediaPlayer instances exceeds the maximum number allowed.
Cause: The number of MediaPlayer instances exceeds the maximum number allowed. Up to 4 instances can be created.
Solutions: Media players can create up to 4 instances, and make sure that the number of media player instances is not exceeded the maximum limit.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerSetAudioTrackIndexError

Description: The media player failed to specify the audio track index.
Cause: The audio track index not exist.
Solutions: Check file audio track index call [getAudioTrackCount] can get.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerSetVoiceChangerParamInvalid

Description: Media player setting sound change parameter invalid.
Cause: Error setting parameters.
Solutions: Checking setting parameters control during -12.0 to 12.0

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerTakeSnapshotTimingError

Description: takeSnapshot screenshot failed
Cause: The video is not playing or ‘setPlayerCanvas’ is not called to display the video to the control.
Solutions: Check whether the video plays normally(check [onPlayStart] callback) and the screen is displayed normally.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerParamValueRangeIllegal

Description: the passed parameter is not in the valid value range.
Cause: error setting parameters.
Solutions: Review the interface comment and pass in a value within the legal range.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerLocalCacheFailed

Description: Failed to cache network resource file.
Cause: During playback, [seekTo] operation will cause cache failure, and network reasons or incomplete playback caused by active stop will also cause cache failure.
Solutions: Check whether there is a [seekTo] operation, whether the playback failed due to network reasons, or whether the playback stopped actively.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaPlayerInnerError

Description: MediaPlayer internal error.
Cause: internal error.
Solutions: Contact Technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMContentNull

Description: the input message content is empty
Cause: imessage content is empty
Solutions: Input a non-empty message.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMContentTooLong

Description: The input message content is too long
Cause: message more than 1024 bytes.
Solutions: The maximum length should be less than 1024 byte

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMDataTooLong

Description: The input real-time sequential data is too long.
Cause: The length of the input data is greater than 4096 bytes.
Solution: Check the length of the input data, consider splitting the large data packet into multiple small data and sending it multiple times.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMInconsistentRoomId

Description: The room where the message is sent is different from the room currently logged in.
Cause: The room where the message is sent is different from the room currently logged in.
Solutions: Send a message to the current logged-in room ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMSendFailed

Description: Failed to send the message.
Cause: network problems.
Solutions: Check the network.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMUserIdEmpty

Description: Failed to send custom command.
Cause: The entered user ID is empty.
Solutions: Please enter the correct user ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMUserIdTooLong

Description: Failed to send custom signaling.
Cause: The entered user ID is too long.
Solutions: Please enter the correct user ID, the maximum user ID cannot exceed 64 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMInputParamsLengthLimit

Description: Failed to send message.
Cause: The message input length exceeds the limit.
Solutions: Check the input content length or contact ZEGO technical support to expand the message content length.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMBroadcastMessageQpsOverload

Description: Failed to send broadcast message,.
Cause: QPS exceeds the limit.
Solutions: Control the maximum QPS is 2 .

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMManagerCreationFailed

Description: The real-time sequential data manager instance creation failed.
Cause: A manager instance with this room ID has already been created.
Solution: A maximum of 1 instance can be created for each room ID. If you need to create multiple instances, please use other room IDs.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMNoManagerInstance

Description: The specified real-time sequential data manager instance could not be found.
Cause: This manager instance has not been created yet.
Solution: Please call the [createRealTimeSequentialDataManager] function to create a manager instance first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMNoAvailableBroadcastChannel

Description: No publish channel available for broadcasting.
Cause: The developer has used all publish channels.
Solution: Do not use all the publish channels, check if there are any streams that can stop publsihing, or contact ZEGO technical support to increase the available publish channels.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMNoAvailableStreamId

Description: The stream ID to start broadcasting is not available.
Cause: The stream ID has been used in this device for RTC business (e.g. [startPublishingStream] / [startPlayingStream]).
Solution: Please use another stream ID for broadcasting.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMRepeatBroadcast

Description: Repeat broadcast.
Cause: The developer repeatedly calls the [startBroadcasting] function.
Solution: Please check the business logic to avoid repeating the broadcast for the stream which is broadcasting.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMNoBroadcatingStream

Description: The stream to stop broadcasting does not exist.
Cause: The stream ID set [stopBroadcasting] function is not in broadcasting.
Solution: Check if the stream ID is correct, or if the stream ID is not in broadcasting.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMNoSubscribingStream

Description: The stream to stop subscribing does not exist.
Cause: The stream ID set [stopSubscribing] function is not in subscribing.
Solution: Check if the stream ID is correct, or if the stream ID is not in subscribing.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMRepeatSubscribe

Description: Repeat broadcast.
Cause: The developer repeatedly calls the [startBroadcasting] function.
Solution: Please check the business logic to avoid repeating the subscribe for the stream which is subscribing.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeIMRealTimeSequentialDataSendFailed

Description: Failed to send real-time sequential data.
Cause: The broadcast has not started yet, or the broadcast has encountered network problems.
Solution: Check whether [startBroadcasting] has been called to start broadcasting, or check whether the network is normal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderFileSuffixNameFormatNotSupport

Description: the file name suffix is not supported.
Cause: the file name suffix is not supported.
Solutions: only support .mp4/.aac/.flv.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderCommonLiveroomApiError

Description: Generic recording API error.
Cause: Invalid input parameter.
Solutions: Please check the record file path parameter or the record file format parameter is valid or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderFilePathTooLong

Description: The specified recorded file path is too long.
Cause: The specified recorded file path is too long. The maximum length should be less than 1024 bytes.
Solutions: Please specify recorded file path less than 1024 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderInnerVeError

Description: SDK internal error.
Cause: Internal error.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderOpenFileFailed

Description: Open file failed.
Cause: Invalid file path or no permissions to read/write file.
Solutions: Please specify a valid file path and has proper permissions to read/write.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderWriteFileError

Description: Write file failed.
Cause: No permissions to write file.
Solutions: Please specify a valid file path and has proper permissions to write.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderNoEnoughSpareCapacity

Description: Insufficient disk space.
Cause: Insufficient disk space.
Solutions: Please ensure sufficient disk space.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderFileHandleExceptions

Description: File handle exception.
Cause: File handle exception.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRecorderIoExceptions

Description: I/O exception.
Cause: I/O exception.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIOCapturerNotCreated

Description: The custom video capturer is not created.
Cause: Create custom video capturer before onStart callback received.
Solutions: Please create custom video capturer after received onStart callback.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIONoCustomVideoCapture

Description: The custom video capture module is not enabled.
Cause: Custom video capture module is not enabled in initialization configurations.
Solutions: Please contact ZEGO technical support, make sure custom video capture module is enabled in initialization configurations.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIOEnableCustomIoFailed

Description: Failed to enable/disable custom video capture/rendering.
Cause: Not enable/disable custom video capture/rendering before engine is started.
Solutions: Please make sure to enable/disable custom video capture/rendering before engine is started, i.e., before calling (startPreview), (startPublishingStream), (startPlayingStream), (createMediaPlayer) or (createAudioEffectPlayer).

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIOProcessModuleNotCreated

Description: The custom video capturer is not created.
Cause: Internal video-related modules are not created.
Solutions: Please call [startPreview] or [startPublishingStream] first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIONoCustomVideoProcessing

Description: The custom video process module is not enabled.
Cause: The custom video process module is not enabled.
Solutions: Call [enableCustomVideoProcessing] to enable a custom video capturermodule.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIONotSupportedFormat

Description: The currently configured custom video capture format does not support this API.
Cause: The currently configured custom video capture format does not support this API.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomVideoIONotSupportedBufferType

Description: Custom video rendering does not support the currently set video buffer type.
Cause: The buffer_type in the config parameter of [enableCustomVideoRender] only supports raw_data, cv_pixel_buffer, encoded_data. For [enableCustomVideoProcessing], only raw_data is supported on Windows platform, only cv_pixel_buffer is supported on Apple devices, and gl_texture_2d and surface_texture are supported on Android platform.
Solutions: Select the correct video buffer type.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomAudioIOUnsupportedAudioSourceType

Description: Unsupported custom audio source type.
Cause: Only channel_aux supports zego_audio_source_type_media_player.
Solutions: Select the correct custom audio source type.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomAudioIOCapturerNotCreated

Description: The custom audio capture feature is not enabled.
Cause: The custom audio capture feature is not enabled.
Solutions: Please make sure that the custom audio IO module is enabled for the specified stream publishing channel.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomAudioIORendererNotCreated

Description: The custom audio rendering feature is not enabled.
Cause: The custom audio rendering feature is not enabled.
Solutions: Please make sure that the custom audio IO module is enabled.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomAudioIOEnableCustomAudioIoFailed

Description: Failed to enable/disable custom audio IO.
Cause: Failed to enable/disable custom audio IO.
Solutions: Please make sure to enable/disable it before the engine is started (i.e., before calling startPreview, startPublishingStream or startPlayingStream).

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCustomAudioIOAudioDataCallbackSampleRateNoSupport

Description: The sample rate parameter is illegal.
Cause: Capture and render mix results recording does not support 8000, 22050, 24000 sample rates.
Solutions: Please confirm whether the sample rate parameter value allowed by the interface is legal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaDataPublisherNoInstance

Description: The MediaDataPublisher instance is not created.
Cause: The MediaDataPublisher instance is not created.
Solutions: Call [createMediaDataPublisher] to create a media pusher instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaDataPublisherFileParseError

Description: This error code is deprecated.
Cause: None.
Solutions: None.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaDataPublisherFilePathError

Description: This error code is deprecated.
Cause: None.
Solutions: None.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaDataPublisherFileCodecError

Description: File decoding exception.
Cause: Invalid media file format.
Solutions: Please check the file is a valid media file or not; check the file format is in the MediaPlayer support file format list or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaDataPublisherTimestampGoBackError

Description: Timestamp error.
Cause: the later frame timestamp is smaller than the previous frame timestamp.
Solutions: Please provide the media file, and contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeMediaDataPublisherExceedMaxCount

Description: The number of instances of the media data publisher created exceeds the maximum limit.
Cause: The number of instances of the media data publisher created exceeds the maximum limit.
Solutions: Please check if the number of instances of the media data publisher created exceeds the maximum limit, the maximum number of instances allowed to be created is 1.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioEffectPlayerNoInstance

Description: No audio effect player instance.
Cause: The audio effect player instance not created.
Solutions: Create an audio effect player instance before using it(createAudioEffectPlayer).

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioEffectPlayerLoadFailed

Description: Load audio effect resource failed.
Cause: Invalid audio effect resource file.
Solutions: Check the file format is in the AudioEffectPlayer support file format list or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioEffectPlayerPlayFailed

Description: Play audio effect failed.
Cause: Invalid audio effect resource file.
Solutions: Check the file format is in the AudioEffectPlayer support file format list or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioEffectPlayerSeekFailed

Description: Change audio effect progress failed.
Cause: The audio effect progress value exceed audio effect file duration.
Solutions: Please check the audio effect progress value exceed audio effect file duration or not.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioEffectPlayerExceedMaxCount

Description: The number of instances of the audio effect player created exceeds the maximum limit.
Cause: The number of instances of the audio effect player created exceeds the maximum limit.
Solutions: Please check if the number of instances of the audio effect player created exceeds the maximum limit, the maximum number of instances allowed to be created is 1.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkConnectivityTestFailed

Description: Network connectivity test failed.
Cause: Not connected to the network.
Solutions: Please check if you can access the Internet properly.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkToolConnectServerFailed

Description: Network speed test connection failure.
Cause: Not connected to the network.
Solutions: Please check if you can access the Internet properly.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkToolRtpTimeoutError

Description: RTP timeout.
Cause: Not connected to the network.
Solutions: Please check if you can access the Internet properly.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkToolEngineDenied

Description: The server side ends the network speed test.
Cause: Network speed test time is too long.
Solutions: Please stop network speed test in 30 seconds.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkToolStoppedByPublishingStream

Description: Network speed test stopped.
Cause: Network speed test not stopped before publishing stream.
Solutions: Please stop network speed test(stopNetworkSpeedTest) before publishing stream.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkToolStoppedByPlayingStream

Description: Network speed test stopped.
Cause: Network speed test not stopped before playing stream.
Solutions: Please stop network speed test(stopNetworkSpeedTest) before playing stream.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNetworkToolInnerError

Description: Network speed test internal error.
Cause: Internal error.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesPerformanceMonitorIntervalInvalid

Description: Invalid system performance monitoring interval.
Cause: The set system performance monitoring interval is out of range.
Solutions: Please check if the system performance monitoring interval is out of range or not, valid range is [1000, 10000].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesStopByLoginRoom

Description: Login to the room causes the network test to stop.
Cause: Already logged in to the room.
Solutions: Since the network test will take up bandwidth, please do it before logging in to the room.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesStartDumpAudioDataFailed

Description: Fail to dump data.
Cause: Error occurred in AV engine.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesAlreadyStartDumpDataError

Description: Already start dumping data.
Cause: Call [startDumpData] repeatedly.
Solutions: Stop or cancel the previous dump data task.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesNoDumpDataError

Description: No dump data.
Cause: Error occurred in AV engine.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesCreateDumpDataFolderError

Description: Failed to create dump data folder.
Cause: No read and write permission or the disk is full.
Solutions: Check to see if there is still space on the disk.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesUploadModuleInnerError

Description: Internal error of upload module.
Cause: Error occurred in upload module.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeUtilitiesDumpDataExceedMaxSizeError

Description: The dump data exceeding the maximum upload limit error.
Cause: The dump data is too large to exceed the limit of the upload module.
Solutions: Please contact ZEGO technical support and report to ZEGO manually.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeAudioNoInstance

Description: The function call failed.
Cause: No range auido instance has been created.
Solutions: Create a range audio instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeAudioExceedMaxCount

Description: Failed to create range audio.
Cause: The instance exceeds the maximum limit.
Solutions: Use the used range audio example.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeAudioNotSupportMultiRoom

Description: Failed to create range voice.
Cause: Range voice cannot be used in multi-room mode.
Solutions: Set the single-party mode.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeAudioTeamIdTooLong

Description: Failed to set the team ID.
Cause: The input team ID exceeds the maximum limit.
Solutions: The input string is less than 64 bytes.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeAudioTeamIdInvalidCharacter

Description: Failed to set the team ID.
Cause: The input user ID contains invalid characters.
Solutions: User ID can only contains numbers, English characters and ‘~’, ‘!’, ‘@’, ‘#’, ‘$’, ‘%’, ‘^’, ‘&’, ‘*’, ‘(’, ‘)’, ‘_’, ‘+’, ‘=’, ‘-’, ‘`’, ‘;’, ‘,’, ‘.’, ‘<’, ‘>’, ‘/’, ‘\’.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicCommandInvalid

Description: The command invalid.
Cause: The command entered by the [sendExtendedRequest] function is empty.
Solutions: Please check the command entered when calling the [sendExtendedRequest] function to make sure it is not empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicParamsInvalid

Description: The params invalid.
Cause: The params entered by the [sendExtendedRequest] function is empty.
Solutions: Please check the params entered when calling the [sendExtendedRequest] function to make sure it is not empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicSongIdInvalid

Description: The song_id invalid.
Cause: The song_id entered is empty.
Solutions: Please check the song_id entered when calling the function to make sure it is not empty.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicShareTokenInvalid

Description: The share_token invalid.
Cause: The share_token entered is empty.
Solutions: Please check the share_token entered when calling the function to make sure it is not empty.share_token can be obtained by call [requestResource]

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceIdInvalid

Description: The resource_id invalid.
Cause: The resource_id entered is empty.
Solutions: Please check the resource_id entered when calling the function to make sure it is not empty.resource_id can be obtained by call [requestResource] [getSharedResource] [getMusicByToken]

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicStartPositionInvalid

Description: The start_position invalid.
Cause: The start_position entered by the fuction [loadCopyrightedMusicResourceWithPosition] is invalid.
Solutions: Please check the start_position entered when calling the function [loadCopyrightedMusicResourceWithPosition] to make sure it is in 0 ~ song duration.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicPositionInvalid

Description: The position invalid.
Cause: The position entered by the fuction [seek] is invalid.
Solutions: Please check the position entered when calling the function [seek] to make sure it is in 0 ~ song duration.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicVolumeInvalid

Description: The volume invalid..
Cause: The Volume entered by the fuction [setPlayVolume] is invalid.
Solutions: Please check the Volume entered when calling the function [setPlayVolume] to make sure it is in 0 ~ 200.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicKrcTokenInvalid

Description: The krcToken invalid.
Cause: The krcToken entered is empty.
Solutions: Please check the krcToken entered when calling the function to make sure it is not empty.krcToken can be obtained by call [requestResource] [getSharedResource]

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicCopyrightedMusicAuthParamInvalid

Description: Copyright music init authentication failed.
Cause: Appsign or token is not set.
Solutions: When using token authentication, call [loginRoom] before calling [initCopyrightedMusic] or use appsign authentication.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicCopyrightedServerFail

Description: Request copyrighted server fail.
Cause: The params entered make mistake or some network reasons.
Solutions: Please check the params entered and retry.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicFreeSpaceLimit

Description: Free space limit.
Cause: Free space limit.
Solutions: Please clean up local files and make sure there is enough free disk space.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicDownloading

Description: Downloading.
Cause: Download same resource.
Solutions: Please wait for the resource to download successfully.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceFileNotExist

Description: Resource file not exist.
Cause: Resource file has been deleted.
Solutions: Please reload resource.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceFileExpired

Description: Resource file expired.
Cause: The resource file has expired.
Solutions: Please request song or accompaniment again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceFileInvalid

Description: Resource file invalid.
Cause: File is corrupted
Solutions: Please call [download] function to reload media resource.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicDownloadCanceled

Description: Download canceled.
Cause: Call [cancelDownload] to actively cancel the download.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceIdUnauthorized

Description: The resource_id unauthorized.
Cause: The resource ID is not obtained through [requestResource] [getSharedResource] function.
Solutions: Please call the [requestResource] [getSharedResource] function to get valid resource ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceExpired

Description: The copyrighted resource has expired.
Cause: The copyrighted resource has expired.
Solutions: Please request the copyrighted resource again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceNotSupportFunction

Description: The resource does not support this method.
Cause: Wrong resource ID selection.
Solutions: Please pass in the correct resource ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNoCopyright

Description: No copyright, unable to listen to and sing songs.
Cause: No copyright.
Solutions: Please select another music.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNoPermissionsOfLyricsAndMusic

Description: No permissions of accompaniment, can only listen to songs, not sing.
Cause: No permissions of accompaniment.
Solutions: Please select another music.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNonMonthlyMembership

Description: Non monthly membership.
Cause: Unopened monthly membership.
Solutions: Open monthly membership or ues COUNT mode request music.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNoAccompany

Description: No accompany.
Cause: Music don’t have accompany.
Solutions: Please choice music have accompany.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicResourceNotExist

Description: Resource not exist.
Cause: Resource not exist.
Solutions: Please select another music.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicIllegalParam

Description: Illegal param.
Cause: The entered param is incorrect.
Solutions: Please check param when entered function to make sure it is correct.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicAppidInvalid

Description: AppID invalid.
Cause: The appID is not support copyrighted music.
Solutions: Please contact ZEGO technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicBillingModeInvalid

Description: Billing mode invalid.
Cause: Billing mode invalid.
Solutions: Please select correct billing mode.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicUnreasonableAccess

Description: Unreasonable_access.
Cause: Monthly membership request music by COUNT.
Solutions: Please select correct billing mode.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicShareTokenExpired

Description: Share token expired.
Cause: Share token expired.
Solutions: Please select an unexpired sharing token to get resources.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicShareTokenIllegal

Description: Share token illegal.
Cause: Share token illegal.
Solutions: Please check songToken when entered by calling [getMusicByToken] to make sure it is correct.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicKrcTokenIllegal

Description: krcToken illegal.
Cause: krcToken illegal.
Solutions: Please check krcToken when entered by calling [getKrcLyricByKrcToken] to make sure it is correct.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicKrcTokenExpired

Description: krcToken expired.
Cause: krcToken expired.
Solutions: Please select an unexpired krcToken to get lyrics in KRC format.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicGetLyricFail

Description: Get lyric fail.
Cause: Lyrics not found.
Solutions: Please try again later.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicGetPitchFail

Description: Get pitch fail.
Cause: Pitch not found.
Solutions: Please try again later.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNotSharedResource

Description: This resource is not shared in the room.
Cause: No users in the room share this resource.
Solutions: Please any one user in the room to call the [requestresource] function to request resources and share them.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicGetSharedResourceTimesOver

Description: The number of times the resource is free in the room is exhausted.
Cause: 1. The shared resources cannot be obtained again; 2. Shared resources have been obtained.
Solutions: Please use the acquired resources, or use [requestResource] to share resources again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicVendorIdNotAvaliable

Description: The vendor is unavailable.
Cause: The corresponding copyright party has not been activated.
Solutions: Please pass in the correct vendor ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicVendorNotSupportFunction

Description: This vendor does not support this function.
Cause: Wrong vendor selection.
Solutions: Please pass in the correct vendor ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicRoomNoLogin

Description: The room ID is not logged in.
Cause: Room ID input error.
Solutions: If the copyright is not used in a multi room scenario, there is no need to pass in the roomID, otherwise please pass in the correct logged in room ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicVendorIdInvalid

Description: Vendor ID invalid.
Cause: Wrong vendor selection.
Solutions: Please pass in the correct vendor ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicSongIdNotSupport

Description: This vendor does not support this song ID.
Cause: This song ID does not exist in the copyright music library.
Solutions: Please pass in the correct song ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicMasterIdInvalid

Description: master ID invalid.
Cause: When billing by owner is selected, master ID is empty.
Solutions: Please pass in the correct master ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicPageInvalid

Description: The page parameter is invalid for multiple copyright searches.
Cause: The page parameter must be 1 when multiple rights search is called for the first time.
Solutions: Please pass in the correct page.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNoPitch

Description: resource has no pitch.
Cause: resource has no pitch.
Solutions: Please pass in the correct song ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicSceneIdInvalid

Description: scene ID invalid.
Cause: scene ID invalid.
Solutions: Please pass in the scene ID corresponding to the opened scene.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicTopIdInvalid

Description: top ID invalid.
Cause: An unsupported top ID was passed in when fetching chart songs.
Solutions: Please pass in the correct top ID.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicLoadPluginFail

Description: Loading copyright music plugin failed.
Cause: The program runtime path does not include the copyright music plugin dynamic library.
Solutions: Please configure the copyright music plugin dynamic library dependency correctly.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNotSupportMethod

Description: The copyright music module does not support this method.
Cause: The copyright music module does not support this function under the current platform.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNoInit

Description: The copyright music module is not initialized.
Cause: The [initCopyrightedMusic] method is not called to initialize the copyright module.
Solutions: Please call the [initCopyrightedMusic] method first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicSystemBusy

Description: System is busy.
Cause: System is busy.
Solutions: Please try again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicNetworkError

Description: Failed due to network exceptions.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeCopyrightedMusicInnerError

Description: Failed due to internal system exceptions.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioVADClientInnerNullptr

Description: SDK internal return null pointer.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAudioVADClientNoInstance

Description: The function call failed.
Cause: No audio vad instance has been created.
Solutions: Create a audio vad instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneCallFunctionFailed

Description: Calling function failed.
Cause: Illegal parameter or SDK does not contain RangeScene module.
Solutions: Please confirm whether the SDK contains the RangeScene module and check the parameters.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneNoInstance

Description: The RangeScene instance not created.
Cause: The RangeScene instance not created.
Solutions: Create a RangeScene instance before using RangeScene [createRangeScene].

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneNotLoginScene

Description: Not login scene.
Cause: Not login scene.
Solutions: Please call [loginScene] to login scene.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneNotSupport

Description: Use not support feature.
Cause: Use the status synchronization interface when the status synchronization function is not enabled.
Solutions: To use the status synchronization interface, please enable the status synchronization function.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneRetryTimeout

Description: Scene login retry has exceeded the maximum retry time.
Cause: Possibly due to network problems.
Solutions: Please check whether the network is working or switch the network environment.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneNetworkInterrupt

Description: Scene connection is temporarily interrupted.
Cause: Possibly due to network problems.
Solutions: Please wait or check whether the network is normal.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneTokenIllegal

Description: Token verification failed.
Cause: The parameters passed in during token generation are inconsistent with the SDK.
Solutions: Please use the correct token regenerated.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneTokenExpire

Description: Token expire.
Cause: Token expire or the generated Token validity period parameter type is incorrect.
Solutions: Regenerate the Token.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneCoordinateOutOfRange

Description: Coordinates out of range.
Cause: Coordinates out of scene range.
Solutions: Please pass in the correct coordinates.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemHasBeenCreated

Description: The item has been created.
Cause: The item has been created.
Solutions: The item has been created. You don’t need to create it again.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemBindExceedLimit

Description: The item binding user exceeds the maximum limit.
Cause: The item binding user exceeds the maximum limit.
Solutions: The item binding user exceeds the maximum limit. Please try again later.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemNotExist

Description: The item does not exist.
Cause: The item does not exist.
Solutions: Please create an item first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemNotBind

Description: The item is not bound.
Cause: The item is not bound.
Solutions: Please bind the item first.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemCasFailed

Description: The item has been operated by others.
Cause: The item has been operated by others.
Solutions: Please try again later.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemCapacityExceedLimit

Description: The binding capacity of the item exceeds the maximum limit.
Cause: The binding capacity of the item exceeds the maximum limit.
Solutions: Please use a capacity that does not exceed the maximum binding capacity to create an item.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneUserBindItemExceedLimit

Description: The user has bound the item to the maximum limit.
Cause: The user has bound the item to the maximum limit.
Solutions: Please unbind some items that do not need to be operated temporarily.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneItemOutOfUserView

Description: The item is beyond the user’s view.
Cause: The item is beyond the user’s view.
Solutions: Please operate the item within the user’s view.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneExceedMaxCount

Description: The number of RangeScene instances exceeds the maximum number allowed.
Cause: The number of RangeScene instances exceeds the maximum number allowed. Up to 1 instances can be created.
Solutions: RangeScene can create up to 1 instances, and make sure that the number of RangeScene instances is not exceeded the maximum limit.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneTeamExceedMaxCount

Description: The number of joined RangeScene teams exceeds the maximum number allowed.
Cause: The number of joined RangeScene teams exceeds the maximum number allowed. Up to 5 are allowed by default.
Solutions: RangeScene teams can joined are up to 5, and make sure that the number of RangeScene teams joned is not exceeded the maximum limit.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneTeamIdOccupied

Description: Team id already been used.
Cause: The team id already been used when join team.
Solutions: Use a new team id to join team.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneTeamIdIncorrect

Description: Team id not exist.
Cause: Use incorrect team id when leave team.
Solutions: Use correct team id when leave team.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeRangeSceneInnerError

Description: Failed due to internal system exceptions.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeScreenCapturePermissionDenied

Description: Startup screen capture failed.
Cause: The user refused to grant the app screen capture permission.
Solutions: Allow the app to capture screen permissions.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeScreenCaptureNotSupport

Description: Startup screen capture failed.
Cause: The current system version does not support screen capture.
Solutions: Use system version above Android 5 (API level 21).

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeScreenCaptureSdkNoModule

Description: Startup screen capture failed.
Cause: Unable to share the screen module.
Solutions: Please introduce screen sharing module resources, or contact technical support.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeScreenCaptureNoInstance

Description: The function call failed.
Cause: No screen capture source instance has been created.
Solutions: Create a screen capture source instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeScreenCaptureExceedMaxCount

Description: Failed to create screen capture source.
Cause: The instance exceeds the maximum limit.
Solutions: Use an existing screen capture instance or destroy the previous instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeScreenCaptureInnerError

Description: Failed due to internal system exceptions.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAIVoiceChangerNoInstance

Description: The function call failed.
Cause: No AI voice changer instance has been created.
Solutions: Create an AI voice changer instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAIVoiceChangerExceedMaxCount

Description: Failed to create AI voice changer.
Cause: The instance exceeds the maximum limit.
Solutions: Use an existing AI voice changer instance or destroy the previous instance.

Declared In ZegoExpressErrorCode.h.

ZegoErrorCodeAIVoiceChangerInnerError

Description: Failed due to internal system exceptions.
Cause: Unknown internal error.
Solutions: Contact ZEGO technical support to deal with it.

Declared In ZegoExpressErrorCode.h.