nimeet Docs
中文

Error Codes

Stable error codes, HTTP/engine error mapping and handling guidance.

Version v1.1.0 · Updated 2026-10-26 · revision 1

Error codes

Conventions (matching Agora C++):

  • methods return negative values on failure (-ERROR_CODE_TYPE);
  • onError / onRecorderStateChanged carry the positive code;
  • members this build cannot perform throw nimeet::recording::NotSupportedException with code() == 4.
CodeNameUsed for
0ERR_OKsuccess
1ERR_FAILEDoutput failed verification, egress job not completed
2ERR_INVALID_ARGUMENTempty/invalid arguments, unwritable directory
3ERR_NOT_READYrecording before initialise/join
4ERR_NOT_SUPPORTEDexplicit refusal (list below)
7ERR_NOT_INITIALIZEDno sink injected
8ERR_INVALID_STATEillegal state transition
10ERR_TIMEDOUTegress job not terminal in time
17ERR_JOIN_CHANNEL_REJECTEDchannel arguments rejected
18ERR_LEAVE_CHANNEL_REJECTEDleave without a session
19ERR_ALREADY_IN_USEduplicate start/join
22ERR_RESOURCE_LIMITEDegress quota (HTTP 429)
101ERR_INVALID_APP_IDempty appId
102ERR_INVALID_CHANNEL_NAMEchannel name empty/too long
110ERR_INVALID_TOKENmissing token
1001ERR_LOAD_MEDIA_ENGINEffmpeg missing or encoder failure

Members not supported in the current version

setUserBackground, setVideoMixingLayout (both generations), updateWatermarkConfigs, enableAndUpdateVideoWatermarks(ByUid), disableVideoWatermarks(ByUid), enableEncryption, setAudioVolumeIndicationParameters, setGlobalLocalAccessPoint, setRecorderConfigByUid, startSingleRecordingByUid, stopSingleRecordingByUid, getAgoraParameter.

These require a real media renderer, encryption or per-stream routing, which this SDK does not bundle. They fail explicitly with -4 (ERR_NOT_SUPPORTED) instead of pretending to succeed.

Generated by the documentation build pipeline · 2026-10-31 01:24:02 UTC · Documentation center v1.1.0.

Content follows the public API definitions.

ni-meet is a self-hosted RTC PaaS with a LiveKit-based media plane (Apache-2.0) and an Agora-compatible API.