nimeet Docs
中文

Android SDK API Reference

Complete Android public surface generated from the public SDK interface definition: classes, interfaces, enums, events, error identifiers and capability scope.

Generated from the public SDK interface definitions

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

Interface overview

This page lists the public API of Android: classes, methods, overloads, properties, events and error codes. The interface definition matches the SDK package version.

Checklist itemCount
Interface / class143
Method654
Method overloads709
Property631
Enums52
error-code constants6

Availability

This platform's SDK: Generally available. The interface definition matches the SDK package version; runtime capability follows the published SDK package.

Join channel flow

Arranged in the typical call order of join / leave / publish / subscribe; the parameter table is expanded under “Parameters of the minimal runnable flow”.

StepInterfaceMethodOverload count
Create / initializeIAgoraMusicContentCenterinitialize1
Renew the TokenIAgoraMusicContentCenterrenewToken1
subscribe to remote mediaIBaseSpatialAudioEnginemuteRemoteAudioStream1
enable video and previewRtcEngineenableVideo1
Join a channelRtcEnginejoinChannel2
Leave a channelRtcEngineleaveChannel2
Channel scenariosRtcEnginesetChannelProfile1
role switchingRtcEnginesetClientRole2
local videoRtcEnginesetupLocalVideo1

parameters for the minimal runnable flow

ParametersTypeOptionalVariadic parameters
configurationMusicContentCenterConfigurationNoNo
tokenStringNoNo
uidintNoNo
mutebooleanNoNo
tokenStringNoNo
channelIdStringNoNo
optionalInfoStringNoNo
uidintNoNo
tokenStringNoNo
channelIdStringNoNo
uidintNoNo
optionsChannelMediaOptionsNoNo
optionsLeaveChannelOptionsNoNo
profileintNoNo
roleintNoNo
roleintNoNo
optionsClientRoleOptionsNoNo
localVideoCanvasNoNo

Endpoint index

InterfaceMethodPropertyEvents
AdvancedAudioOptions010
AdvancedConfigInfo010
AdvanceOptions030
AgoraFacePositionInfo050
AgoraFocalLengthInfo020
AgoraImage070
AgoraMediaRecorder300
AgoraMetadata040
AgoraRhythmPlayerConfig020
AgoraVideoFrame0160
AreaCode090
AsyncCallback100
AudioCaptureParameters040
AudioEncodedFrameObserverConfig020
AudioFrame060
AudioParams040
AudioRecordingConfiguration060
AudioSpectrumInfo020
AudioTrackConfig020
AudioVolumeInfo040
BeautyOptions080
CacheStatistics030
CameraCapturerConfiguration050
Canvas500
CanvasConfig400
CaptureFormat030
ChannelMediaInfo030
ChannelMediaOptions0350
ChannelMediaRelayConfiguration320
ClientRoleOptions010
ClimaxSegment020
CodecCapInfo030
CodecCapLevels020
ColorEnhanceOptions020
Config400
ContentInspectConfig090
ContentInspectModule030
DataStreamConfig020
DeviceInfo010
EchoTestConfiguration060
EncodedVideoFrameInfo0100
EncryptionConfig040
Error200
ExtensionContext040
FaceShapeAreaOptions0130
FaceShapeBeautyOptions050
FilterEffectOptions020
IAgoraMusicContentCenter1700
IAgoraMusicPlayer500
IAudioEncodedFrameObserver300
IAudioFrameObserver1000
IAudioSpectrumObserver200
IBaseSpatialAudioEngine1100
ILocalSpatialAudioEngine600
ImageTrackOptions030
IMediaPlayer4100
IMediaPlayerAudioFrameObserver100
IMediaPlayerCacheManager1200
IMediaPlayerCustomDataProvider200
IMediaPlayerObserver1100
IMediaPlayerVideoFrameObserver100
IMediaRecorderCallback200
IMetadataObserver300
IMusicContentCenterEventHandler500
IRtcEngineEventHandler8400
IRtcEngineReleaseCallback100
IVideoEffectObject1000
IVideoEncodedFrameObserver100
IVideoFrameObserver800
LastmileProbeConfig040
LastmileProbeOneWayResult030
LastmileProbeResult040
LeaveChannelOptions030
LiveTranscoding21150
LocalAccessPointConfiguration060
LocalAudioMixerConfiguration020
LocalAudioStats090
LocalSpatialAudioConfig010
LocalTranscoderConfiguration030
LocalVideoStats0230
LogConfig030
LogUploadServerInfo040
LowLightEnhanceOptions060
MediaPlayerSource090
MediaRecorderConfiguration0110
MediaStreamInfo0130
MixedAudioStream040
MultipathStats080
Music0110
MusicCacheInfo020
MusicCacheStatusType020
MusicChartInfo020
MusicContentCenterConfiguration050
MusicContentCenterStateReason080
PathStats030
Player1800
PlayerConfig1200
PlayerGetStatsCallback100
PlayerInfo1400
PlayerObserver700
PlayerPlaybackStats040
PlayerStats000
PlayerUpdatedInfo060
PreloadState040
RecorderInfo030
RecorderStreamInfo030
Rectangle040
RemoteAudioStats0190
RemoteVideoStats0180
RemoteVoicePositionInfo020
RtcConnection020
RtcEngine25600
RtcEngineConfig0140
RtcEngineEx4800
RtcStats0240
Rte600
RteException110
ScreenCaptureParameters040
SegmentationProperty080
SimulcastStreamConfig030
SnapshotConfig020
SpatialAudioParams080
SpatialAudioZone090
SrcInfo020
TranscodingUser080
TranscodingVideoStream0110
UplinkNetworkInfo010
UserAudioSpectrumInfo020
UserInfo020
VideoCanvas0190
VideoCaptureParameters050
VideoDenoiserOptions060
VideoDimensions020
VideoEncoderConfiguration0100
VideoFrame060
VideoLayout080
VideoLayoutInfo040
VideoRenderingTracingInfo070
VideoSubscriptionOptions020
VirtualBackgroundSource040
WatermarkBuffer580
WatermarkConfig370
WatermarkOptions440

all endpoints

AdvancedAudioOptions 0 method / 1 Property
PropertyTyperead-only
audioProcessingChannelsAudioProcessingChannelsEnumNo
AdvancedConfigInfo 0 method / 1 Property
PropertyTyperead-only
logUploadServerLogUploadServerInfoNo
AdvanceOptions 0 method / 3 Property
PropertyTyperead-only
encodingPreferenceENCODING_PREFERENCENo
compressionPreferenceCOMPRESSION_PREFERENCENo
encodeAlphabooleanNo
AgoraFacePositionInfo 0 method / 5 Property
PropertyTyperead-only
xintNo
yintNo
widthintNo
heightintNo
distanceintNo
AgoraFocalLengthInfo 0 method / 2 Property
PropertyTyperead-only
cameraDirectionintNo
focalLengthTypeintNo
AgoraImage 0 method / 7 Property
PropertyTyperead-only
urlStringNo
xintNo
yintNo
widthintNo
heightintNo
zOrderintNo
alphadoubleNo
AgoraMediaRecorder 3 method / 0 Property
typescript
setMediaRecorderObserver(callback: IMediaRecorderCallback): int
startRecording(config: MediaRecorderConfiguration): int
stopRecording(): int

Method detail: 3 / 3 (parameters, returns, errors)

MethodParametersReturnsErrors
setMediaRecorderObservercallback: IMediaRecorderCallbackintError code index
startRecordingconfig: MediaRecorderConfigurationintError code index
stopRecording—intError code index
AgoraMetadata 0 method / 4 Property
PropertyTyperead-only
channelIdStringNo
uidintNo
databyte[]No
timeStampMslongNo
AgoraRhythmPlayerConfig 0 method / 2 Property
PropertyTyperead-only
beatsPerMeasureintNo
beatsPerMinuteintNo
AgoraVideoFrame 0 method / 16 Property
PropertyTyperead-only
formatintNo
timeStamplongNo
strideintNo
heightintNo
textureIDintNo
syncModebooleanNo
transformfloat[]No
eglContext10javax.microedition.khronos.egl.EGLContextNo
eglContext14android.opengl.EGLContextNo
bufbyte[]No
cropLeftintNo
cropTopintNo
cropRightintNo
cropBottomintNo
rotationintNo
alphaStitchModeAlphaStitchModeNo
AreaCode 0 method / 9 Property
PropertyTyperead-only
AREA_CODE_NONEintNo
AREA_CODE_CNintNo
AREA_CODE_NAintNo
AREA_CODE_EUintNo
AREA_CODE_ASintNo
AREA_CODE_JPintNo
AREA_CODE_INintNo
AREA_CODE_RUintNo
AREA_CODE_GLOBintNo
AsyncCallback 1 method / 0 Property
typescript
onResult(error: Error): void

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
onResulterror: ErrorvoidError code index
AudioCaptureParameters 0 method / 4 Property
PropertyTyperead-only
sampleRateintNo
channelsintNo
captureSignalVolumeintNo
allowCaptureCurrentAppbooleanNo
AudioEncodedFrameObserverConfig 0 method / 2 Property
PropertyTyperead-only
postionTypeintNo
encodingTypeintNo
AudioFrame 0 method / 6 Property
PropertyTyperead-only
bufferByteBufferNo
sampleRataHzintNo
bytesPerSampleintNo
channelNumsintNo
samplesPerChannelintNo
timestamplongNo
AudioParams 0 method / 4 Property
PropertyTyperead-only
sampleRateintNo
channelintNo
modeintNo
samplesPerCallintNo
AudioRecordingConfiguration 0 method / 6 Property
PropertyTyperead-only
filePathStringNo
sampleRateintNo
codecbooleanNo
fileRecordOptionintNo
qualityintNo
recordingChannelintNo
AudioSpectrumInfo 0 method / 2 Property
PropertyTyperead-only
audioSpectrumDatafloat[]No
dataLengthintNo
AudioTrackConfig 0 method / 2 Property
PropertyTyperead-only
enableLocalPlaybackbooleanNo
enableAudioProcessingbooleanNo
AudioVolumeInfo 0 method / 4 Property
PropertyTyperead-only
uidintNo
volumeintNo
vadintNo
voicePitchdoubleNo
BeautyOptions 0 method / 8 Property
PropertyTyperead-only
LIGHTENING_CONTRAST_LOWintNo
LIGHTENING_CONTRAST_NORMALintNo
LIGHTENING_CONTRAST_HIGHintNo
lighteningContrastLevelintNo
lighteningLevelfloatNo
smoothnessLevelfloatNo
rednessLevelfloatNo
sharpnessLevelfloatNo
CacheStatistics 0 method / 3 Property
PropertyTyperead-only
fileSizelongNo
cacheSizelongNo
downloadSizelongNo
CameraCapturerConfiguration 0 method / 5 Property
PropertyTyperead-only
cameraDirectionCAMERA_DIRECTIONNo
cameraIdStringNo
cameraFocalLengthTypeCAMERA_FOCAL_LENGTH_TYPENo
captureFormatCaptureFormatNo
followEncodeDimensionRatioBooleanNo
Canvas 5 method / 0 Property
typescript
Canvas(rte: Rte, config: CanvasInitialConfig): unknown
addView(view: View, viewConfig: ViewConfig): void
getConfigs(config: CanvasConfig): void
removeView(view: View, viewConfig: ViewConfig): void
setConfigs(config: CanvasConfig): void

Method detail: 5 / 5 (parameters, returns, errors)

MethodParametersReturnsErrors
Canvasrte: Rte, config: CanvasInitialConfigunknownError code index
addViewview: View, viewConfig: ViewConfigvoidError code index
getConfigsconfig: CanvasConfigvoidError code index
removeViewview: View, viewConfig: ViewConfigvoidError code index
setConfigsconfig: CanvasConfigvoidError code index
CanvasConfig 4 method / 0 Property
typescript
getVideoMirrorMode(): Constants.VideoMirrorMode
getVideoRenderMode(): Constants.VideoRenderMode
setVideoMirrorMode(mode: Constants.VideoMirrorMode): void
setVideoRenderMode(mode: Constants.VideoRenderMode): void

Method detail: 4 / 4 (parameters, returns, errors)

MethodParametersReturnsErrors
getVideoMirrorMode—Constants.VideoMirrorModeError code index
getVideoRenderMode—Constants.VideoRenderModeError code index
setVideoMirrorModemode: Constants.VideoMirrorModevoidError code index
setVideoRenderModemode: Constants.VideoRenderModevoidError code index
CaptureFormat 0 method / 3 Property
PropertyTyperead-only
widthintNo
heightintNo
fpsintNo
ChannelMediaInfo 0 method / 3 Property
PropertyTyperead-only
channelNameStringNo
tokenStringNo
uidintNo
ChannelMediaOptions 0 method / 35 Property
PropertyTyperead-only
publishCameraTrackBooleanNo
publishSecondaryCameraTrackBooleanNo
publishThirdCameraTrackBooleanNo
publishFourthCameraTrackBooleanNo
publishMicrophoneTrackBooleanNo
publishScreenCaptureVideoBooleanNo
publishScreenCaptureAudioBooleanNo
publishCustomAudioTrackBooleanNo
publishCustomAudioTrackIdIntegerNo
publishCustomVideoTrackBooleanNo
publishEncodedVideoTrackBooleanNo
publishMediaPlayerAudioTrackBooleanNo
publishMediaPlayerVideoTrackBooleanNo
publishTranscodedVideoTrackBooleanNo
publishMixedAudioTrackBooleanNo
publishLipSyncTrackBooleanNo
autoSubscribeAudioBooleanNo
autoSubscribeVideoBooleanNo
enableAudioRecordingOrPlayoutBooleanNo
publishMediaPlayerIdIntegerNo
clientRoleTypeIntegerNo
audienceLatencyLevelIntegerNo
defaultVideoStreamTypeIntegerNo
channelProfileIntegerNo
audioDelayMsIntegerNo
mediaPlayerAudioDelayMsIntegerNo
tokenStringNo
enableBuiltInMediaEncryptionBooleanNo
publishRhythmPlayerTrackBooleanNo
isInteractiveAudienceBooleanNo
customVideoTrackIdIntegerNo
isAudioFilterableBooleanNo
startPreviewBooleanNo
enableMultipathBooleanNo
preferMultipathTypeIntegerNo
ChannelMediaRelayConfiguration 3 method / 2 Property
typescript
removeDestChannelInfo(channelName: String): void
setDestChannelInfo(channelName: String, destInfo: ChannelMediaInfo): void
setSrcChannelInfo(srcInfo: ChannelMediaInfo): void

Method detail: 3 / 3 (parameters, returns, errors)

MethodParametersReturnsErrors
removeDestChannelInfochannelName: StringvoidError code index
setDestChannelInfochannelName: String, destInfo: ChannelMediaInfovoidError code index
setSrcChannelInfosrcInfo: ChannelMediaInfovoidError code index
PropertyTyperead-only
srcInfoChannelMediaInfoNo
destInfosMapNo
ClientRoleOptions 0 method / 1 Property
PropertyTyperead-only
audienceLatencyLevelintNo
ClimaxSegment 0 method / 2 Property
PropertyTyperead-only
startTimeMsintNo
endTimeMsintNo
CodecCapInfo 0 method / 3 Property
PropertyTyperead-only
codecTypeintNo
codecCapMaskintNo
codecLevelsCodecCapLevelsNo
CodecCapLevels 0 method / 2 Property
PropertyTyperead-only
hwDecodingLevelintNo
swDecodingLevelintNo
ColorEnhanceOptions 0 method / 2 Property
PropertyTyperead-only
strengthLevelfloatNo
skinProtectLevelfloatNo
Config 4 method / 0 Property
typescript
getAppId(): String
getJsonParameter(): String
setAppId(appId: String): void
setJsonParameter(jsonParameter: String): void

Method detail: 4 / 4 (parameters, returns, errors)

MethodParametersReturnsErrors
getAppId—StringError code index
getJsonParameter—StringError code index
setAppIdappId: StringvoidError code index
setJsonParameterjsonParameter: StringvoidError code index
ContentInspectConfig 0 method / 9 Property
PropertyTyperead-only
CONTENT_INSPECT_TYPE_INVALIDintNo
CONTENT_INSPECT_TYPE_MODERATIONunknownNo
CONTENT_INSPECT_TYPE_SUPERVISEintNo
CONTENT_INSPECT_TYPE_IMAGE_MODERATIONintNo
MAX_CONTENT_INSPECT_MODULE_COUNTintNo
extraInfoStringNo
serverConfigStringNo
modulesContentInspectModule[]No
moduleCountintNo
ContentInspectModule 0 method / 3 Property
PropertyTyperead-only
typeintNo
intervalintNo
positionConstants.VideoModulePositionNo
DataStreamConfig 0 method / 2 Property
PropertyTyperead-only
syncWithAudiobooleanNo
orderedbooleanNo
DeviceInfo 0 method / 1 Property
PropertyTyperead-only
isLowLatencyAudioSupportedbooleanNo
EchoTestConfiguration 0 method / 6 Property
PropertyTyperead-only
viewSurfaceViewNo
enableAudiobooleanNo
enableVideobooleanNo
tokenStringNo
channelIdStringNo
intervalInSecondsintNo
EncodedVideoFrameInfo 0 method / 10 Property
PropertyTyperead-only
codecTypeintNo
widthintNo
heightintNo
framesPerSecondintNo
frameTypeintNo
rotationintNo
trackIdintNo
captureTimeMslongNo
decodeTimeMslongNo
streamTypeintNo
EncryptionConfig 0 method / 4 Property
PropertyTyperead-only
encryptionModeEncryptionModeNo
encryptionKeyStringNo
encryptionKdfSaltbyte[]No
datastreamEncryptionEnabledbooleanNo
Error 2 method / 0 Property
typescript
code(): Constants.ErrorCode
message(): String

Method detail: 2 / 2 (parameters, returns, errors)

MethodParametersReturnsErrors
code—Constants.ErrorCodeError code index
message—StringError code index
ExtensionContext 0 method / 4 Property
PropertyTyperead-only
isValidbooleanNo
uidintNo
providerNameStringNo
extensionNameStringNo
FaceShapeAreaOptions 0 method / 13 Property
PropertyTyperead-only
shapeAreaintNo
shapeIntensityintNo
FACE_SHAPE_AREA_HEADSCALEintNo
FACE_SHAPE_AREA_FACELENGTHintNo
FACE_SHAPE_AREA_FACESMALLintNo
FACE_SHAPE_AREA_EYESCALEintNo
FACE_SHAPE_AREA_NOSEWINGintNo
FACE_SHAPE_AREA_NOSEBRIDGEintNo
FACE_SHAPE_AREA_NOSETIPintNo
FACE_SHAPE_AREA_NOSEGENERALintNo
FACE_SHAPE_AREA_MOUTHSCALEintNo
FACE_SHAPE_AREA_MOUTHSMILEintNo
FACE_SHAPE_AREA_EYEANGLEintNo
FaceShapeBeautyOptions 0 method / 5 Property
PropertyTyperead-only
FACE_SHAPE_BEAUTY_STYLE_FEMALEintNo
FACE_SHAPE_BEAUTY_STYLE_MALEintNo
FACE_SHAPE_BEAUTY_STYLE_NATURALintNo
shapeStyleintNo
styleIntensityintNo
FilterEffectOptions 0 method / 2 Property
PropertyTyperead-only
pathStringNo
strengthfloatNo
IAgoraMusicContentCenter 17 method / 0 Property
typescript
createMusicPlayer(): IAgoraMusicPlayer
destroy(): void
destroyMusicPlayer(player: IAgoraMusicPlayer): int
getCaches(): MusicCacheInfo[]
getInternalSongCode(songCode: long, jsonOption: String): long
getLyric(songCode: long, lyricType: int): String
getMusicCharts(): String
getMusicCollectionByMusicChartId(musicChartId: int, page: int, pageSize: int): String
getMusicCollectionByMusicChartId(musicChartId: int, page: int, pageSize: int, jsonOption: String): String
getSongSimpleInfo(songCode: long): String
initialize(configuration: MusicContentCenterConfiguration): int
isPreloaded(songCode: long): int
preload(songCode: long, jsonOption: String): int
preload(songCode: long): String
registerEventHandler(eventHandler: IMusicContentCenterEventHandler): int
removeCache(songCode: long): int
renewToken(token: String): int
searchMusic(keyword: String, page: int, pageSize: int): String
searchMusic(keyword: String, page: int, pageSize: int, jsonOption: String): String
unregisterEventHandler(): int

Method detail: 17 / 17 (parameters, returns, errors)

MethodParametersReturnsErrors
createMusicPlayer—IAgoraMusicPlayerError code index
destroy—voidError code index
destroyMusicPlayerplayer: IAgoraMusicPlayerintError code index
getCaches—MusicCacheInfo[]Error code index
getInternalSongCodesongCode: long, jsonOption: StringlongError code index
getLyricsongCode: long, lyricType: intStringError code index
getMusicCharts—StringError code index
getMusicCollectionByMusicChartIdmusicChartId: int, page: int, pageSize: intStringError code index
getSongSimpleInfosongCode: longStringError code index
initializeconfiguration: MusicContentCenterConfigurationintError code index
isPreloadedsongCode: longintError code index
preloadsongCode: long, jsonOption: StringintError code index
registerEventHandlereventHandler: IMusicContentCenterEventHandlerintError code index
removeCachesongCode: longintError code index
renewTokentoken: StringintError code index
searchMusickeyword: String, page: int, pageSize: intStringError code index
unregisterEventHandler—intError code index
IAgoraMusicPlayer 5 method / 0 Property
typescript
destroy(): int
getPlaySrc(): String
open(songCode: long, startPos: long): int
open(url: String, startPos: long): int
setPlayMode(mode: MusicPlayMode): int
stop(): int

Method detail: 5 / 5 (parameters, returns, errors)

MethodParametersReturnsErrors
destroy—intError code index
getPlaySrc—StringError code index
opensongCode: long, startPos: longintError code index
setPlayModemode: MusicPlayModeintError code index
stop—intError code index
IAudioEncodedFrameObserver 3 method / 0 Property
typescript
onMixedAudioEncodedFrame(buffer: ByteBuffer, samplesPerChannel: int, channels: int, samplesPerSec: int, codecType: int): void
onPlaybackAudioEncodedFrame(buffer: ByteBuffer, samplesPerChannel: int, channels: int, samplesPerSec: int, codecType: int): void
onRecordAudioEncodedFrame(buffer: ByteBuffer, samplesPerChannel: int, channels: int, samplesPerSec: int, codecType: int): void

Method detail: 3 / 3 (parameters, returns, errors)

MethodParametersReturnsErrors
onMixedAudioEncodedFramebuffer: ByteBuffer, samplesPerChannel: int, channels: int, samplesPerSec: int, codecType: intvoidError code index
onPlaybackAudioEncodedFramebuffer: ByteBuffer, samplesPerChannel: int, channels: int, samplesPerSec: int, codecType: intvoidError code index
onRecordAudioEncodedFramebuffer: ByteBuffer, samplesPerChannel: int, channels: int, samplesPerSec: int, codecType: intvoidError code index
IAudioFrameObserver 10 method / 0 Property
typescript
getEarMonitoringAudioParams(): AudioParams
getMixedAudioParams(): AudioParams
getObservedAudioFramePosition(): int
getPlaybackAudioParams(): AudioParams
getRecordAudioParams(): AudioParams
onEarMonitoringAudioFrame(type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: int): boolean
onMixedAudioFrame(channelId: String, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: int): boolean
onPlaybackAudioFrame(channelId: String, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: int): boolean
onPlaybackAudioFrameBeforeMixing(channelId: String, uid: int, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: int, rtpTimestamp: int, presentationMs: long): boolean
onRecordAudioFrame(channelId: String, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: int): boolean

Method detail: 10 / 10 (parameters, returns, errors)

MethodParametersReturnsErrors
getEarMonitoringAudioParams—AudioParamsError code index
getMixedAudioParams—AudioParamsError code index
getObservedAudioFramePosition—intError code index
getPlaybackAudioParams—AudioParamsError code index
getRecordAudioParams—AudioParamsError code index
onEarMonitoringAudioFrametype: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: intbooleanError code index
onMixedAudioFramechannelId: String, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: intbooleanError code index
onPlaybackAudioFramechannelId: String, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: intbooleanError code index
onPlaybackAudioFrameBeforeMixingchannelId: String, uid: int, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: int, rtpTimestamp: int, presentationMs: longbooleanError code index
onRecordAudioFramechannelId: String, type: int, samplesPerChannel: int, bytesPerSample: int, channels: int, samplesPerSec: int, buffer: ByteBuffer, renderTimeMs: long, avsync_type: intbooleanError code index
IAudioSpectrumObserver 2 method / 0 Property
typescript
onLocalAudioSpectrum(data: AudioSpectrumInfo): boolean
onRemoteAudioSpectrum(userAudioSpectrumInfos: UserAudioSpectrumInfo[], spectrumNumber: int): boolean

Method detail: 2 / 2 (parameters, returns, errors)

MethodParametersReturnsErrors
onLocalAudioSpectrumdata: AudioSpectrumInfobooleanError code index
onRemoteAudioSpectrumuserAudioSpectrumInfos: UserAudioSpectrumInfo[], spectrumNumber: intbooleanError code index
IBaseSpatialAudioEngine 11 method / 0 Property
typescript
clearRemotePositions(): int
muteAllRemoteAudioStreams(mute: boolean): int
muteLocalAudioStream(mute: boolean): int
muteRemoteAudioStream(uid: int, mute: boolean): int
setAudioRecvRange(range: float): int
setDistanceUnit(unit: float): int
setMaxAudioRecvCount(maxCount: int): int
setPlayerAttenuation(playerId: int, attenuation: double, forceSet: boolean): int
setZones(zones: SpatialAudioZone[]): int
updatePlayerPositionInfo(playerId: int, positionInfo: RemoteVoicePositionInfo): int
updateSelfPosition(position: float[], axisForward: float[], axisRight: float[], axisUp: float[]): int

Method detail: 11 / 11 (parameters, returns, errors)

MethodParametersReturnsErrors
clearRemotePositions—intError code index
muteAllRemoteAudioStreamsmute: booleanintError code index
muteLocalAudioStreammute: booleanintError code index
muteRemoteAudioStreamuid: int, mute: booleanintError code index
setAudioRecvRangerange: floatintError code index
setDistanceUnitunit: floatintError code index
setMaxAudioRecvCountmaxCount: intintError code index
setPlayerAttenuationplayerId: int, attenuation: double, forceSet: booleanintError code index
setZoneszones: SpatialAudioZone[]intError code index
updatePlayerPositionInfoplayerId: int, positionInfo: RemoteVoicePositionInfointError code index
updateSelfPositionposition: float[], axisForward: float[], axisRight: float[], axisUp: float[]intError code index
ILocalSpatialAudioEngine 6 method / 0 Property
typescript
create(): ILocalSpatialAudioEngine
destroy(): void
initialize(config: LocalSpatialAudioConfig): int
removeRemotePosition(uid: int): int
setRemoteAudioAttenuation(uid: int, attenuation: double, forceSet: boolean): int
updateRemotePosition(uid: int, posInfo: RemoteVoicePositionInfo): int

Method detail: 6 / 6 (parameters, returns, errors)

MethodParametersReturnsErrors
create—ILocalSpatialAudioEngineError code index
destroy—voidError code index
initializeconfig: LocalSpatialAudioConfigintError code index
removeRemotePositionuid: intintError code index
setRemoteAudioAttenuationuid: int, attenuation: double, forceSet: booleanintError code index
updateRemotePositionuid: int, posInfo: RemoteVoicePositionInfointError code index
ImageTrackOptions 0 method / 3 Property
PropertyTyperead-only
imageUrlStringNo
fpsintNo
mirrorModeVideoEncoderConfiguration.MIRROR_MODE_TYPENo
IMediaPlayer 41 method / 0 Property
typescript
adjustPlayoutVolume(volume: int): int
adjustPublishSignalVolume(volume: int): int
destroy(): int
getAudioBufferDelay(): int
getDuration(): long
getMediaPlayerId(): int
getMute(): boolean
getPlayPosition(): long
getPlaySrc(): String
getPlayoutVolume(): int
getPublishSignalVolume(): int
getState(): Constants.MediaPlayerState
getStreamCount(): int
getStreamInfo(index: int): MediaStreamInfo
mute(muted: boolean): int
open(url: String, startPos: long): int
open(uri: Uri, startPos: long): int
openWithMediaSource(source: MediaPlayerSource): int
pause(): int
play(): int
playPreloadedSrc(src: String): int
preloadSrc(src: String, startPos: long): int
registerAudioFrameObserver(audioFrameObserver: IMediaPlayerAudioFrameObserver, mode: int): int
registerPlayerObserver(playerObserver: IMediaPlayerObserver): int
registerVideoFrameObserver(videoFrameObserver: IMediaPlayerVideoFrameObserver): int
resume(): int
seek(newPos: long): int
selectAudioTrack(index: int): int
selectMultiAudioTrack(playoutTrackIndex: int, publishTrackIndex: int): int
setAudioDualMonoMode(mode: int): int
setAudioPitch(pitch: int): int
setLoopCount(loopCount: int): int
setPlaybackSpeed(speed: int): int
setPlayerOption(key: String, value: int): int
setPlayerOptionString(key: String, value: String): int
setSpatialAudioParams(params: SpatialAudioParams): int
setVideoRenderMode(mode: unknown): unknown
setView(videoView: View): int
stop(): int
switchSrc(src: String, syncPts: boolean): int
unRegisterPlayerObserver(playerObserver: IMediaPlayerObserver): int
unloadSrc(src: String): int

Method detail: 41 / 41 (parameters, returns, errors)

MethodParametersReturnsErrors
adjustPlayoutVolumevolume: intintError code index
adjustPublishSignalVolumevolume: intintError code index
destroy—intError code index
getAudioBufferDelay—intError code index
getDuration—longError code index
getMediaPlayerId—intError code index
getMute—booleanError code index
getPlayPosition—longError code index
getPlaySrc—StringError code index
getPlayoutVolume—intError code index
getPublishSignalVolume—intError code index
getState—Constants.MediaPlayerStateError code index
getStreamCount—intError code index
getStreamInfoindex: intMediaStreamInfoError code index
mutemuted: booleanintError code index
openurl: String, startPos: longintError code index
openWithMediaSourcesource: MediaPlayerSourceintError code index
pause—intError code index
play—intError code index
playPreloadedSrcsrc: StringintError code index
preloadSrcsrc: String, startPos: longintError code index
registerAudioFrameObserveraudioFrameObserver: IMediaPlayerAudioFrameObserver, mode: intintError code index
registerPlayerObserverplayerObserver: IMediaPlayerObserverintError code index
registerVideoFrameObservervideoFrameObserver: IMediaPlayerVideoFrameObserverintError code index
resume—intError code index
seeknewPos: longintError code index
selectAudioTrackindex: intintError code index
selectMultiAudioTrackplayoutTrackIndex: int, publishTrackIndex: intintError code index
setAudioDualMonoModemode: intintError code index
setAudioPitchpitch: intintError code index
setLoopCountloopCount: intintError code index
setPlaybackSpeedspeed: intintError code index
setPlayerOptionkey: String, value: intintError code index
setPlayerOptionStringkey: String, value: StringintError code index
setSpatialAudioParamsparams: SpatialAudioParamsintError code index
setVideoRenderModemode: unknownunknownError code index
setViewvideoView: ViewintError code index
stop—intError code index
switchSrcsrc: String, syncPts: booleanintError code index
unRegisterPlayerObserverplayerObserver: IMediaPlayerObserverintError code index
unloadSrcsrc: StringintError code index
IMediaPlayerAudioFrameObserver 1 method / 0 Property
typescript
onFrame(frame: AudioFrame): AudioFrame

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
onFrameframe: AudioFrameAudioFrameError code index
IMediaPlayerCacheManager 12 method / 0 Property
typescript
enableAutoRemoveCache(enable: boolean): int
getCacheDir(): String
getCacheFileCount(): int
getMaxCacheFileCount(): int
getMaxCacheFileSize(): long
getMediaPlayerCacheManager(): IMediaPlayerCacheManager
removeAllCaches(): int
removeCacheByUri(uri: String): int
removeOldCache(): int
setCacheDir(path: String): int
setMaxCacheFileCount(count: int): int
setMaxCacheFileSize(cacheSize: long): int

Method detail: 12 / 12 (parameters, returns, errors)

MethodParametersReturnsErrors
enableAutoRemoveCacheenable: booleanintError code index
getCacheDir—StringError code index
getCacheFileCount—intError code index
getMaxCacheFileCount—intError code index
getMaxCacheFileSize—longError code index
getMediaPlayerCacheManager—IMediaPlayerCacheManagerError code index
removeAllCaches—intError code index
removeCacheByUriuri: StringintError code index
removeOldCache—intError code index
setCacheDirpath: StringintError code index
setMaxCacheFileCountcount: intintError code index
setMaxCacheFileSizecacheSize: longintError code index
IMediaPlayerCustomDataProvider 2 method / 0 Property
typescript
onReadData(buffer: ByteBuffer, bufferSize: int): int
onSeek(offset: long, whence: int): long

Method detail: 2 / 2 (parameters, returns, errors)

MethodParametersReturnsErrors
onReadDatabuffer: ByteBuffer, bufferSize: intintError code index
onSeekoffset: long, whence: intlongError code index
IMediaPlayerObserver 11 method / 0 Property
typescript
onAudioVolumeIndication(volume: int): void
onMetaData(type: Constants.MediaPlayerMetadataType, data: byte[]): void
onPlayBufferUpdated(playCachedBuffer: long): void
onPlayerCacheStats(stats: CacheStatistics): void
onPlayerEvent(eventCode: Constants.MediaPlayerEvent, elapsedTime: long, message: String): void
onPlayerInfoUpdated(info: PlayerUpdatedInfo): void
onPlayerPlaybackStats(stats: PlayerPlaybackStats): void
onPlayerSrcInfoChanged(from: SrcInfo, to: SrcInfo): void
onPlayerStateChanged(state: Constants.MediaPlayerState, reason: Constants.MediaPlayerReason): void
onPositionChanged(positionMs: long, timestampMs: long): void
onPreloadEvent(src: String, event: Constants.MediaPlayerPreloadEvent): void

Method detail: 11 / 11 (parameters, returns, errors)

MethodParametersReturnsErrors
onAudioVolumeIndicationvolume: intvoidError code index
onMetaDatatype: Constants.MediaPlayerMetadataType, data: byte[]voidError code index
onPlayBufferUpdatedplayCachedBuffer: longvoidError code index
onPlayerCacheStatsstats: CacheStatisticsvoidError code index
onPlayerEventeventCode: Constants.MediaPlayerEvent, elapsedTime: long, message: StringvoidError code index
onPlayerInfoUpdatedinfo: PlayerUpdatedInfovoidError code index
onPlayerPlaybackStatsstats: PlayerPlaybackStatsvoidError code index
onPlayerSrcInfoChangedfrom: SrcInfo, to: SrcInfovoidError code index
onPlayerStateChangedstate: Constants.MediaPlayerState, reason: Constants.MediaPlayerReasonvoidError code index
onPositionChangedpositionMs: long, timestampMs: longvoidError code index
onPreloadEventsrc: String, event: Constants.MediaPlayerPreloadEventvoidError code index
IMediaPlayerVideoFrameObserver 1 method / 0 Property
typescript
onFrame(frame: VideoFrame): void

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
onFrameframe: VideoFramevoidError code index
IMediaRecorderCallback 2 method / 0 Property
typescript
onRecorderInfoUpdated(channelId: String, uid: int, info: RecorderInfo): void
onRecorderStateChanged(channelId: String, uid: int, state: int, reason: int): void

Method detail: 2 / 2 (parameters, returns, errors)

MethodParametersReturnsErrors
onRecorderInfoUpdatedchannelId: String, uid: int, info: RecorderInfovoidError code index
onRecorderStateChangedchannelId: String, uid: int, state: int, reason: intvoidError code index
IMetadataObserver 3 method / 0 Property
typescript
getMaxMetadataSize(): int
onMetadataReceived(metadata: AgoraMetadata): void
onReadyToSendMetadata(timeStampMs: long, sourceType: int): byte[]

Method detail: 3 / 3 (parameters, returns, errors)

MethodParametersReturnsErrors
getMaxMetadataSize—intError code index
onMetadataReceivedmetadata: AgoraMetadatavoidError code index
onReadyToSendMetadatatimeStampMs: long, sourceType: intbyte[]Error code index
IMusicContentCenterEventHandler 5 method / 0 Property
typescript
onLyricResult(requestId: String, songCode: long, lyricUrl: String, reason: int): void
onMusicChartsResult(requestId: String, list: MusicChartInfo[], reason: int): void
onMusicCollectionResult(requestId: String, page: int, pageSize: int, total: int, list: Music[], reason: int): void
onPreLoadEvent(requestId: String, songCode: long, percent: int, lyricUrl: String, state: int, reason: int): void
onSongSimpleInfoResult(requestId: String, songCode: long, simpleInfo: String, reason: int): void

Method detail: 5 / 5 (parameters, returns, errors)

MethodParametersReturnsErrors
onLyricResultrequestId: String, songCode: long, lyricUrl: String, reason: intvoidError code index
onMusicChartsResultrequestId: String, list: MusicChartInfo[], reason: intvoidError code index
onMusicCollectionResultrequestId: String, page: int, pageSize: int, total: int, list: Music[], reason: intvoidError code index
onPreLoadEventrequestId: String, songCode: long, percent: int, lyricUrl: String, state: int, reason: intvoidError code index
onSongSimpleInfoResultrequestId: String, songCode: long, simpleInfo: String, reason: intvoidError code index
IRtcEngineEventHandler 84 method / 0 Property
typescript
onActiveSpeaker(uid: int): void
onAudioEffectFinished(soundId: int): void
onAudioMixingFinished(): void
onAudioMixingPositionChanged(position: long): void
onAudioMixingStateChanged(state: int, reason: int): void
onAudioPublishStateChanged(channel: String, oldState: int, newState: int, elapseSinceLastState: int): void
onAudioQuality(uid: int, quality: int, delay: short, lost: short): void
onAudioRouteChanged(routing: int): void
onAudioSubscribeStateChanged(channel: String, uid: int, oldState: int, newState: int, elapseSinceLastState: int): void
onAudioVolumeIndication(speakers: AudioVolumeInfo[], totalVolume: int): void
onCameraExposureAreaChanged(rect: Rect): void
onCameraFocusAreaChanged(rect: Rect): void
onCameraReady(): void
onChannelMediaRelayStateChanged(state: int, code: int): void
onClientRoleChangeFailed(reason: int, currentRole: int): void
onClientRoleChanged(oldRole: int, newRole: int, newRoleOptions: ClientRoleOptions): void
onConnectionBanned(): void
onConnectionInterrupted(): void
onConnectionLost(): void
onConnectionStateChanged(state: int, reason: int): void
onEncryptionError(errorType: int): void
onError(err: int): void
onErrorWithContext(extContext: ExtensionContext, error: int, message: String): void
onEventWithContext(extContext: ExtensionContext, key: String, value: String): void
onFacePositionChanged(imageWidth: int, imageHeight: int, faceRectArr: AgoraFacePositionInfo[]): void
onFirstLocalAudioFramePublished(elapsed: int): void
onFirstLocalVideoFrame(source: Constants.VideoSourceType, width: int, height: int, elapsed: int): void
onFirstLocalVideoFramePublished(source: Constants.VideoSourceType, elapsed: int): void
onFirstRemoteAudioDecoded(uid: int, elapsed: int): void
onFirstRemoteAudioFrame(uid: int, elapsed: int): void
onFirstRemoteVideoDecoded(uid: int, width: int, height: int, elapsed: int): void
onFirstRemoteVideoFrame(uid: int, width: int, height: int, elapsed: int): void
onJoinChannelSuccess(channel: String, uid: int, elapsed: int): void
onLastmileProbeResult(result: LastmileProbeResult): void
onLastmileQuality(quality: int): void
onLeaveChannel(stats: RtcStats): void
onLocalAudioStateChanged(state: int, reason: int): void
onLocalAudioStats(stats: LocalAudioStats): void
onLocalUserRegistered(uid: int, userAccount: String): void
onLocalVideoEvent(source: Constants.VideoSourceType, event: int): void
onLocalVideoStateChanged(source: Constants.VideoSourceType, state: int, reason: int): void
onLocalVideoStats(source: Constants.VideoSourceType, stats: LocalVideoStats): void
onLocalVideoTranscoderError(stream: LocalTranscoderConfiguration.TranscodingVideoStream, error: int): void
onMultipathStats(stats: MultipathStats): void
onNetworkQuality(uid: int, txQuality: int, rxQuality: int): void
onNetworkTypeChanged(type: int): void
onPermissionError(permission: int): void
onPermissionGranted(permission: int): void
onProxyConnected(channel: String, uid: int, proxyType: int, localProxyIp: String, elapsed: int): void
onRejoinChannelSuccess(channel: String, uid: int, elapsed: int): void
onRemoteAudioStateChanged(uid: int, state: int, reason: int, elapsed: int): void
onRemoteAudioStats(stats: RemoteAudioStats): void
onRemoteAudioTransportStats(uid: int, delay: int, lost: int, rxKBitRate: int): void
onRemoteSubscribeFallbackToAudioOnly(uid: int, isFallbackOrRecover: boolean): void
onRemoteVideoStateChanged(uid: int, state: int, reason: int, elapsed: int): void
onRemoteVideoStats(stats: RemoteVideoStats): void
onRemoteVideoTransportStats(uid: int, delay: int, lost: int, rxKBitRate: int): void
onRenewTokenResult(token: String, code: Constants.RenewTokenErrorCode): void
onRequestToken(): void
onRhythmPlayerStateChanged(state: int, reason: int): void
onRtcStats(stats: RtcStats): void
onRtmpStreamingEvent(url: String, event: int): void
onRtmpStreamingStateChanged(url: String, state: int, reason: int): void
onSnapshotTaken(uid: int, filePath: String, width: int, height: int, errCode: int): void
onStartedWithContext(extContext: ExtensionContext): void
onStoppedWithContext(extContext: ExtensionContext): void
onStreamMessage(uid: int, streamId: int, data: byte[]): void
onStreamMessageError(uid: int, streamId: int, error: int, missed: int, cached: int): void
onTokenPrivilegeWillExpire(token: String): void
onTranscodedStreamLayoutInfo(uid: int, info: VideoLayoutInfo): void
onTranscodingUpdated(): void
onUplinkNetworkInfoUpdated(info: UplinkNetworkInfo): void
onUserEnableLocalVideo(uid: int, enabled: boolean): void
onUserEnableVideo(uid: int, enabled: boolean): void
onUserInfoUpdated(uid: int, userInfo: UserInfo): void
onUserJoined(uid: int, elapsed: int): void
onUserMuteAudio(uid: int, muted: boolean): void
onUserMuteVideo(uid: int, muted: boolean): void
onUserOffline(uid: int, reason: int): void
onVideoPublishStateChanged(source: Constants.VideoSourceType, channel: String, oldState: int, newState: int, elapseSinceLastState: int): void
onVideoRenderingTracingResult(uid: int, currentEvent: Constants.MEDIA_TRACE_EVENT, tracingInfo: VideoRenderingTracingInfo): void
onVideoSizeChanged(source: Constants.VideoSourceType, uid: int, width: int, height: int, rotation: int): void
onVideoStopped(): void
onVideoSubscribeStateChanged(channel: String, uid: int, oldState: int, newState: int, elapseSinceLastState: int): void

Method detail: 84 / 84 (parameters, returns, errors)

MethodParametersReturnsErrors
onActiveSpeakeruid: intvoidError code index
onAudioEffectFinishedsoundId: intvoidError code index
onAudioMixingFinished—voidError code index
onAudioMixingPositionChangedposition: longvoidError code index
onAudioMixingStateChangedstate: int, reason: intvoidError code index
onAudioPublishStateChangedchannel: String, oldState: int, newState: int, elapseSinceLastState: intvoidError code index
onAudioQualityuid: int, quality: int, delay: short, lost: shortvoidError code index
onAudioRouteChangedrouting: intvoidError code index
onAudioSubscribeStateChangedchannel: String, uid: int, oldState: int, newState: int, elapseSinceLastState: intvoidError code index
onAudioVolumeIndicationspeakers: AudioVolumeInfo[], totalVolume: intvoidError code index
onCameraExposureAreaChangedrect: RectvoidError code index
onCameraFocusAreaChangedrect: RectvoidError code index
onCameraReady—voidError code index
onChannelMediaRelayStateChangedstate: int, code: intvoidError code index
onClientRoleChangeFailedreason: int, currentRole: intvoidError code index
onClientRoleChangedoldRole: int, newRole: int, newRoleOptions: ClientRoleOptionsvoidError code index
onConnectionBanned—voidError code index
onConnectionInterrupted—voidError code index
onConnectionLost—voidError code index
onConnectionStateChangedstate: int, reason: intvoidError code index
onEncryptionErrorerrorType: intvoidError code index
onErrorerr: intvoidError code index
onErrorWithContextextContext: ExtensionContext, error: int, message: StringvoidError code index
onEventWithContextextContext: ExtensionContext, key: String, value: StringvoidError code index
onFacePositionChangedimageWidth: int, imageHeight: int, faceRectArr: AgoraFacePositionInfo[]voidError code index
onFirstLocalAudioFramePublishedelapsed: intvoidError code index
onFirstLocalVideoFramesource: Constants.VideoSourceType, width: int, height: int, elapsed: intvoidError code index
onFirstLocalVideoFramePublishedsource: Constants.VideoSourceType, elapsed: intvoidError code index
onFirstRemoteAudioDecodeduid: int, elapsed: intvoidError code index
onFirstRemoteAudioFrameuid: int, elapsed: intvoidError code index
onFirstRemoteVideoDecodeduid: int, width: int, height: int, elapsed: intvoidError code index
onFirstRemoteVideoFrameuid: int, width: int, height: int, elapsed: intvoidError code index
onJoinChannelSuccesschannel: String, uid: int, elapsed: intvoidError code index
onLastmileProbeResultresult: LastmileProbeResultvoidError code index
onLastmileQualityquality: intvoidError code index
onLeaveChannelstats: RtcStatsvoidError code index
onLocalAudioStateChangedstate: int, reason: intvoidError code index
onLocalAudioStatsstats: LocalAudioStatsvoidError code index
onLocalUserRegistereduid: int, userAccount: StringvoidError code index
onLocalVideoEventsource: Constants.VideoSourceType, event: intvoidError code index
onLocalVideoStateChangedsource: Constants.VideoSourceType, state: int, reason: intvoidError code index
onLocalVideoStatssource: Constants.VideoSourceType, stats: LocalVideoStatsvoidError code index
onLocalVideoTranscoderErrorstream: LocalTranscoderConfiguration.TranscodingVideoStream, error: intvoidError code index
onMultipathStatsstats: MultipathStatsvoidError code index
onNetworkQualityuid: int, txQuality: int, rxQuality: intvoidError code index
onNetworkTypeChangedtype: intvoidError code index
onPermissionErrorpermission: intvoidError code index
onPermissionGrantedpermission: intvoidError code index
onProxyConnectedchannel: String, uid: int, proxyType: int, localProxyIp: String, elapsed: intvoidError code index
onRejoinChannelSuccesschannel: String, uid: int, elapsed: intvoidError code index
onRemoteAudioStateChangeduid: int, state: int, reason: int, elapsed: intvoidError code index
onRemoteAudioStatsstats: RemoteAudioStatsvoidError code index
onRemoteAudioTransportStatsuid: int, delay: int, lost: int, rxKBitRate: intvoidError code index
onRemoteSubscribeFallbackToAudioOnlyuid: int, isFallbackOrRecover: booleanvoidError code index
onRemoteVideoStateChangeduid: int, state: int, reason: int, elapsed: intvoidError code index
onRemoteVideoStatsstats: RemoteVideoStatsvoidError code index
onRemoteVideoTransportStatsuid: int, delay: int, lost: int, rxKBitRate: intvoidError code index
onRenewTokenResulttoken: String, code: Constants.RenewTokenErrorCodevoidError code index
onRequestToken—voidError code index
onRhythmPlayerStateChangedstate: int, reason: intvoidError code index
onRtcStatsstats: RtcStatsvoidError code index
onRtmpStreamingEventurl: String, event: intvoidError code index
onRtmpStreamingStateChangedurl: String, state: int, reason: intvoidError code index
onSnapshotTakenuid: int, filePath: String, width: int, height: int, errCode: intvoidError code index
onStartedWithContextextContext: ExtensionContextvoidError code index
onStoppedWithContextextContext: ExtensionContextvoidError code index
onStreamMessageuid: int, streamId: int, data: byte[]voidError code index
onStreamMessageErroruid: int, streamId: int, error: int, missed: int, cached: intvoidError code index
onTokenPrivilegeWillExpiretoken: StringvoidError code index
onTranscodedStreamLayoutInfouid: int, info: VideoLayoutInfovoidError code index
onTranscodingUpdated—voidError code index
onUplinkNetworkInfoUpdatedinfo: UplinkNetworkInfovoidError code index
onUserEnableLocalVideouid: int, enabled: booleanvoidError code index
onUserEnableVideouid: int, enabled: booleanvoidError code index
onUserInfoUpdateduid: int, userInfo: UserInfovoidError code index
onUserJoineduid: int, elapsed: intvoidError code index
onUserMuteAudiouid: int, muted: booleanvoidError code index
onUserMuteVideouid: int, muted: booleanvoidError code index
onUserOfflineuid: int, reason: intvoidError code index
onVideoPublishStateChangedsource: Constants.VideoSourceType, channel: String, oldState: int, newState: int, elapseSinceLastState: intvoidError code index
onVideoRenderingTracingResultuid: int, currentEvent: Constants.MEDIA_TRACE_EVENT, tracingInfo: VideoRenderingTracingInfovoidError code index
onVideoSizeChangedsource: Constants.VideoSourceType, uid: int, width: int, height: int, rotation: intvoidError code index
onVideoStopped—voidError code index
onVideoSubscribeStateChangedchannel: String, uid: int, oldState: int, newState: int, elapseSinceLastState: intvoidError code index
IRtcEngineReleaseCallback 1 method / 0 Property
typescript
onEngineReleased(): void

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
onEngineReleased—voidError code index
IVideoEffectObject 10 method / 0 Property
typescript
addOrUpdateVideoEffect(nodeId: int, templateName: String): int
getVideoEffectBoolParam(option: String, key: String): boolean
getVideoEffectFloatParam(option: String, key: String): float
getVideoEffectIntParam(option: String, key: String): int
performVideoEffectAction(nodeId: int, actionId: VIDEO_EFFECT_ACTION): int
removeVideoEffect(nodeId: int): int
setVideoEffectBoolParam(option: String, key: String, value: boolean): int
setVideoEffectFloatParam(option: String, key: String, value: float): int
setVideoEffectIntParam(option: String, key: String, value: int): int
setVideoEffectStringParam(option: String, key: String, value: String): int

Method detail: 10 / 10 (parameters, returns, errors)

MethodParametersReturnsErrors
addOrUpdateVideoEffectnodeId: int, templateName: StringintError code index
getVideoEffectBoolParamoption: String, key: StringbooleanError code index
getVideoEffectFloatParamoption: String, key: StringfloatError code index
getVideoEffectIntParamoption: String, key: StringintError code index
performVideoEffectActionnodeId: int, actionId: VIDEO_EFFECT_ACTIONintError code index
removeVideoEffectnodeId: intintError code index
setVideoEffectBoolParamoption: String, key: String, value: booleanintError code index
setVideoEffectFloatParamoption: String, key: String, value: floatintError code index
setVideoEffectIntParamoption: String, key: String, value: intintError code index
setVideoEffectStringParamoption: String, key: String, value: StringintError code index
IVideoEncodedFrameObserver 1 method / 0 Property
typescript
onEncodedVideoFrameReceived(channelId: String, remoteUid: int, buffer: ByteBuffer, info: EncodedVideoFrameInfo): boolean

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
onEncodedVideoFrameReceivedchannelId: String, remoteUid: int, buffer: ByteBuffer, info: EncodedVideoFrameInfobooleanError code index
IVideoFrameObserver 8 method / 0 Property
typescript
getMirrorApplied(): boolean
getObservedFramePosition(): int
getRotationApplied(): boolean
getVideoFormatPreference(): int
getVideoFrameProcessMode(): int
onCaptureVideoFrame(sourceType: int, videoFrame: VideoFrame): boolean
onPreEncodeVideoFrame(sourceType: int, videoFrame: VideoFrame): boolean
onRenderVideoFrame(channelId: String, uid: int, videoFrame: VideoFrame): boolean

Method detail: 8 / 8 (parameters, returns, errors)

MethodParametersReturnsErrors
getMirrorApplied—booleanError code index
getObservedFramePosition—intError code index
getRotationApplied—booleanError code index
getVideoFormatPreference—intError code index
getVideoFrameProcessMode—intError code index
onCaptureVideoFramesourceType: int, videoFrame: VideoFramebooleanError code index
onPreEncodeVideoFramesourceType: int, videoFrame: VideoFramebooleanError code index
onRenderVideoFramechannelId: String, uid: int, videoFrame: VideoFramebooleanError code index
LastmileProbeConfig 0 method / 4 Property
PropertyTyperead-only
probeUplinkbooleanNo
probeDownlinkbooleanNo
expectedUplinkBitrateintNo
expectedDownlinkBitrateintNo
LastmileProbeOneWayResult 0 method / 3 Property
PropertyTyperead-only
packetLossRateintNo
jitterintNo
availableBandwidthintNo
LastmileProbeResult 0 method / 4 Property
PropertyTyperead-only
stateshortNo
rttintNo
uplinkReportLastmileProbeOneWayResultNo
downlinkReportLastmileProbeOneWayResultNo
LeaveChannelOptions 0 method / 3 Property
PropertyTyperead-only
stopAudioMixingbooleanNo
stopAllEffectbooleanNo
stopMicrophoneRecordingbooleanNo
LiveTranscoding 21 method / 15 Property
typescript
addBackgroundImage(backgroundImage: AgoraImage): void
addUser(user: TranscodingUser): int
addWatermark(watermark: AgoraImage): void
getAdvancedFeatures(): Map
getBackgroundColor(): int
getBackgroundImageList(): ArrayList
getBlue(): int
getGreen(): int
getRed(): int
getUserCount(): int
getUsers(): ArrayList
getWatermarkList(): ArrayList
removeBackgroundImage(backgroundImage: AgoraImage): boolean
removeUser(uid: int): int
removeWatermark(watermark: AgoraImage): boolean
setAdvancedFeatures(featureName: String, opened: Boolean): void
setBackgroundColor(color: int): void
setBackgroundColor(red: int, green: int, blue: int): void
setBlue(blue: int): void
setGreen(green: int): void
setRed(red: int): void
setUsers(users: ArrayList): void
setUsers(users: Map): void

Method detail: 21 / 21 (parameters, returns, errors)

MethodParametersReturnsErrors
addBackgroundImagebackgroundImage: AgoraImagevoidError code index
addUseruser: TranscodingUserintError code index
addWatermarkwatermark: AgoraImagevoidError code index
getAdvancedFeatures—MapError code index
getBackgroundColor—intError code index
getBackgroundImageList—ArrayListError code index
getBlue—intError code index
getGreen—intError code index
getRed—intError code index
getUserCount—intError code index
getUsers—ArrayListError code index
getWatermarkList—ArrayListError code index
removeBackgroundImagebackgroundImage: AgoraImagebooleanError code index
removeUseruid: intintError code index
removeWatermarkwatermark: AgoraImagebooleanError code index
setAdvancedFeaturesfeatureName: String, opened: BooleanvoidError code index
setBackgroundColorcolor: intvoidError code index
setBlueblue: intvoidError code index
setGreengreen: intvoidError code index
setRedred: intvoidError code index
setUsersusers: ArrayListvoidError code index
PropertyTyperead-only
widthintNo
heightintNo
videoBitrateintNo
videoFramerateintNo
lowLatencyunknownNo
videoGopintNo
audioSampleRateAudioSampleRateTypeNo
audioBitrateintNo
audioChannelsintNo
audioCodecProfileAudioCodecProfileTypeNo
videoCodecProfileVideoCodecProfileTypeNo
videoCodecTypeVideoCodecTypeNo
userCountunknownNo
userConfigExtraInfoStringNo
metadataunknownNo
LocalAccessPointConfiguration 0 method / 6 Property
PropertyTyperead-only
ipListArrayListNo
domainListArrayListNo
verifyDomainNameStringNo
modeintNo
disableAutbooleanNo
advancedConfigAdvancedConfigInfoNo
LocalAudioMixerConfiguration 0 method / 2 Property
PropertyTyperead-only
audioInputStreamsArrayListNo
syncWithLocalMicbooleanNo
LocalAudioStats 0 method / 9 Property
PropertyTyperead-only
numChannelsintNo
sentSampleRateintNo
sentBitrateintNo
internalCodecintNo
txPacketLossRateintNo
audioDeviceDelayintNo
audioPlayoutDelayintNo
earMonitorDelayintNo
aecEstimatedDelayintNo
LocalSpatialAudioConfig 0 method / 1 Property
PropertyTyperead-only
mRtcEngineRtcEngineNo
LocalTranscoderConfiguration 0 method / 3 Property
PropertyTyperead-only
transcodingVideoStreamsArrayListNo
syncWithPrimaryCamerabooleanNo
videoOutputConfigurationVideoEncoderConfigurationNo
LocalVideoStats 0 method / 23 Property
PropertyTyperead-only
uidintNo
sentBitrateintNo
sentFrameRateintNo
captureFrameRateintNo
captureFrameWidthintNo
captureFrameHeightintNo
regulatedCaptureFrameRateintNo
regulatedCaptureFrameWidthintNo
regulatedCaptureFrameHeightintNo
encoderOutputFrameRateintNo
rendererOutputFrameRateintNo
targetBitrateintNo
targetFrameRateintNo
qualityAdaptIndicationintNo
encodedBitrateintNo
encodedFrameWidthintNo
encodedFrameHeightintNo
encodedFrameCountintNo
codecTypeintNo
txPacketLossRateintNo
captureBrightnessLevelintNo
dualStreamEnabledbooleanNo
hwEncoderAcceleratingintNo
LogConfig 0 method / 3 Property
PropertyTyperead-only
filePathStringNo
fileSizeInKBintNo
levelintNo
LogUploadServerInfo 0 method / 4 Property
PropertyTyperead-only
serverDomainStringNo
serverPathStringNo
serverPortintNo
serverHttpsbooleanNo
LowLightEnhanceOptions 0 method / 6 Property
PropertyTyperead-only
LOW_LIGHT_ENHANCE_AUTOintNo
LOW_LIGHT_ENHANCE_MANUALintNo
LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITYintNo
LOW_LIGHT_ENHANCE_LEVEL_FASTintNo
lowlightEnhanceModeintNo
lowlightEnhanceLevelintNo
MediaPlayerSource 0 method / 9 Property
PropertyTyperead-only
urlStringNo
uriStringNo
startPoslongNo
autoPlaybooleanNo
enableCachebooleanNo
enableMultiAudioTrackbooleanNo
isAgoraSourceBooleanNo
isLiveSourceBooleanNo
providerIMediaPlayerCustomDataProviderNo
MediaRecorderConfiguration 0 method / 11 Property
PropertyTyperead-only
storagePathStringNo
containerFormatintNo
streamTypeintNo
maxDurationMsintNo
recorderInfoUpdateIntervalintNo
widthintNo
heightintNo
fpsintNo
sample_rateintNo
channel_numintNo
videoSourceTypeintNo
MediaStreamInfo 0 method / 13 Property
PropertyTyperead-only
streamIndexintNo
mediaStreamTypeintNo
codecNameStringNo
languageStringNo
videoFrameRateintNo
videoBitRateintNo
videoWidthintNo
videoHeightintNo
videoRotationintNo
audioSampleRateintNo
audioChannelsintNo
audioBytesPerSampleintNo
durationlongNo
MixedAudioStream 0 method / 4 Property
PropertyTyperead-only
remoteUserUidintNo
channelIdStringNo
sourceTypeConstants.AudioSourceTypeNo
trackIdintNo
MultipathStats 0 method / 8 Property
PropertyTyperead-only
lanTxBytesintNo
lanRxBytesintNo
wifiTxBytesintNo
wifiRxBytesintNo
mobileTxBytesintNo
mobileRxBytesintNo
activePathNumintNo
pathStatsPathStats[]No
Music 0 method / 11 Property
PropertyTyperead-only
songCodelongNo
nameStringNo
singerStringNo
posterStringNo
releaseTimeStringNo
typeintNo
pitchTypeintNo
durationSintNo
lyricTypesint[]No
mvPropertiesMvProperty[]No
climaxSegmentsClimaxSegment[]No
MusicCacheInfo 0 method / 2 Property
PropertyTyperead-only
songCodelongNo
statusintNo
MusicCacheStatusType 0 method / 2 Property
PropertyTyperead-only
MUSIC_CACHE_STATUS_TYPE_CACHEDintNo
MUSIC_CACHE_STATUS_TYPE_CACHINGintNo
MusicChartInfo 0 method / 2 Property
PropertyTyperead-only
nameStringNo
typeintNo
MusicContentCenterConfiguration 0 method / 5 Property
PropertyTyperead-only
appIdStringNo
tokenStringNo
mccUidlongNo
maxCacheSizeintNo
eventHandlerIMusicContentCenterEventHandlerNo
MusicContentCenterStateReason 0 method / 8 Property
PropertyTyperead-only
MUSIC_CONTENT_CENTER_STATE_REASON_OKintNo
MUSIC_CONTENT_CENTER_STATE_REASON_ERRORintNo
MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAYintNo
MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCEintNo
MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSEintNo
MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADINGintNo
MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTIONintNo
MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNALintNo
PathStats 0 method / 3 Property
PropertyTyperead-only
pathTypeintNo
txKBitRateintNo
rxKBitRateintNo
Player 18 method / 0 Property
typescript
Player(rte: Rte, initialConfig: PlayerInitialConfig): unknown
getConfigs(config: PlayerConfig): void
getInfo(info: PlayerInfo): void
getPosition(): long
getStats(callback: PlayerGetStatsCallback): void
muteAudio(mute: boolean): void
muteVideo(mute: boolean): void
openWithUrl(url: String, startTime: long, callback: AsyncCallback): void
pause(): void
play(): void
preloadWithUrl(url: String): void
registerObserver(observer: PlayerObserver): void
seek(newTime: long): void
setCanvas(canvas: Canvas): void
setConfigs(config: PlayerConfig): void
stop(): void
switchWithUrl(url: String, syncPts: boolean, callback: AsyncCallback): void
unregisterObserver(observer: PlayerObserver): void

Method detail: 18 / 18 (parameters, returns, errors)

MethodParametersReturnsErrors
Playerrte: Rte, initialConfig: PlayerInitialConfigunknownError code index
getConfigsconfig: PlayerConfigvoidError code index
getInfoinfo: PlayerInfovoidError code index
getPosition—longError code index
getStatscallback: PlayerGetStatsCallbackvoidError code index
muteAudiomute: booleanvoidError code index
muteVideomute: booleanvoidError code index
openWithUrlurl: String, startTime: long, callback: AsyncCallbackvoidError code index
pause—voidError code index
play—voidError code index
preloadWithUrlurl: StringvoidError code index
registerObserverobserver: PlayerObservervoidError code index
seeknewTime: longvoidError code index
setCanvascanvas: CanvasvoidError code index
setConfigsconfig: PlayerConfigvoidError code index
stop—voidError code index
switchWithUrlurl: String, syncPts: boolean, callback: AsyncCallbackvoidError code index
unregisterObserverobserver: PlayerObservervoidError code index
PlayerConfig 12 method / 0 Property
typescript
getAbrFallbackLayer(): Constants.AbrFallbackLayer
getAbrSubscriptionLayer(): Constants.AbrSubscriptionLayer
getAutoPlay(): boolean
getLoopCount(): int
getPlaybackSpeed(): int
getPlayoutVolume(): int
setAbrFallbackLayer(fallbackLayer: Constants.AbrFallbackLayer): void
setAbrSubscriptionLayer(subscriptionLayer: Constants.AbrSubscriptionLayer): void
setAutoPlay(autoPlay: boolean): void
setLoopCount(count: int): void
setPlaybackSpeed(speed: int): void
setPlayoutVolume(volume: int): void

Method detail: 12 / 12 (parameters, returns, errors)

MethodParametersReturnsErrors
getAbrFallbackLayer—Constants.AbrFallbackLayerError code index
getAbrSubscriptionLayer—Constants.AbrSubscriptionLayerError code index
getAutoPlay—booleanError code index
getLoopCount—intError code index
getPlaybackSpeed—intError code index
getPlayoutVolume—intError code index
setAbrFallbackLayerfallbackLayer: Constants.AbrFallbackLayervoidError code index
setAbrSubscriptionLayersubscriptionLayer: Constants.AbrSubscriptionLayervoidError code index
setAutoPlayautoPlay: booleanvoidError code index
setLoopCountcount: intvoidError code index
setPlaybackSpeedspeed: intvoidError code index
setPlayoutVolumevolume: intvoidError code index
PlayerGetStatsCallback 1 method / 0 Property
typescript
onResult(playerStats: PlayerStats, error: Error): void

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
onResultplayerStats: PlayerStats, error: ErrorvoidError code index
PlayerInfo 14 method / 0 Property
typescript
abrSubscriptionLayer(): Constants.AbrSubscriptionLayer
audioBitsPerSample(): int
audioChannels(): int
audioSampleRate(): int
currentUrl(): String
duration(): long
hasAudio(): boolean
hasVideo(): boolean
isAudioMuted(): boolean
isVideoMuted(): boolean
state(): int
streamCount(): int
videoHeight(): int
videoWidth(): int

Method detail: 14 / 14 (parameters, returns, errors)

MethodParametersReturnsErrors
abrSubscriptionLayer—Constants.AbrSubscriptionLayerError code index
audioBitsPerSample—intError code index
audioChannels—intError code index
audioSampleRate—intError code index
currentUrl—StringError code index
duration—longError code index
hasAudio—booleanError code index
hasVideo—booleanError code index
isAudioMuted—booleanError code index
isVideoMuted—booleanError code index
state—intError code index
streamCount—intError code index
videoHeight—intError code index
videoWidth—intError code index
PlayerObserver 7 method / 0 Property
typescript
onAudioVolumeIndication(volume: int): void
onEvent(event: int): void
onMetadata(type: int, data: byte[]): void
onPlayerInfoUpdated(info: PlayerInfo): void
onPositionChanged(curr_time: long, utc_time: long): void
onResolutionChanged(width: int, height: int): void
onStateChanged(old_state: int, new_state: int, error: Error): void

Method detail: 7 / 7 (parameters, returns, errors)

MethodParametersReturnsErrors
onAudioVolumeIndicationvolume: intvoidError code index
onEventevent: intvoidError code index
onMetadatatype: int, data: byte[]voidError code index
onPlayerInfoUpdatedinfo: PlayerInfovoidError code index
onPositionChangedcurr_time: long, utc_time: longvoidError code index
onResolutionChangedwidth: int, height: intvoidError code index
onStateChangedold_state: int, new_state: int, error: ErrorvoidError code index
PlayerPlaybackStats 0 method / 4 Property
PropertyTyperead-only
videoFpslongNo
videoBitrateInKbpslongNo
audioBitrateInKbpslongNo
totalBitrateInKbpslongNo
PlayerStats 0 method / 0 Property

No public members.

PlayerUpdatedInfo 0 method / 6 Property
PropertyTyperead-only
deviceIdStringNo
videoHeightlongNo
videoWidthlongNo
audioSampleRatelongNo
audioChannelslongNo
audioBitsPerSamplelongNo
PreloadState 0 method / 4 Property
PropertyTyperead-only
PRELOAD_STATE_COMPLETEDintNo
PRELOAD_STATE_FAILEDintNo
PRELOAD_STATE_PRELOADINGintNo
PRELOAD_STATE_REMOVEDintNo
RecorderInfo 0 method / 3 Property
PropertyTyperead-only
fileNameStringNo
durationMsintNo
fileSizeintNo
RecorderStreamInfo 0 method / 3 Property
PropertyTyperead-only
uidintNo
channelIdStringNo
recorderStreamTypeintNo
Rectangle 0 method / 4 Property
PropertyTyperead-only
xintNo
yintNo
widthintNo
heightintNo
RemoteAudioStats 0 method / 19 Property
PropertyTyperead-only
uidintNo
qualityintNo
networkTransportDelayintNo
jitterBufferDelayintNo
audioLossRateintNo
numChannelsintNo
receivedSampleRateintNo
receivedBitrateintNo
totalFrozenTimeintNo
frozenRateintNo
mosValueintNo
frozenRateByCustomPlcCountintNo
plcCountintNo
totalActiveTimelongNo
publishDurationlongNo
qoeQualityintNo
qualityChangedReasonintNo
rxAudioBytesintNo
e2eDelayintNo
RemoteVideoStats 0 method / 18 Property
PropertyTyperead-only
uidintNo
delayintNo
e2eDelayintNo
widthintNo
heightintNo
receivedBitrateintNo
decoderOutputFrameRateintNo
rendererOutputFrameRateintNo
frameLossRateintNo
packetLossRateintNo
rxStreamTypeintNo
totalFrozenTimeintNo
frozenRateintNo
avSyncTimeMsintNo
totalActiveTimelongNo
publishDurationlongNo
mosValueintNo
rxVideoBytesintNo
RemoteVoicePositionInfo 0 method / 2 Property
PropertyTyperead-only
positionfloat[]No
forwardfloat[]No
RtcConnection 0 method / 2 Property
PropertyTyperead-only
localUidintNo
channelIdStringNo
RtcEngine 256 method / 0 Property
typescript
addExtension(providerName: String): void
addHandler(handler: IRtcEngineEventHandler): void
addVideoWatermark(watermark: AgoraImage): int
addVideoWatermark(watermarkUrl: String, options: WatermarkOptions): int
addVideoWatermark(config: WatermarkConfig): int
adjustAudioMixingPlayoutVolume(volume: int): int
adjustAudioMixingPublishVolume(volume: int): int
adjustAudioMixingVolume(volume: int): int
adjustCustomAudioPlayoutVolume(trackId: int, volume: int): int
adjustCustomAudioPublishVolume(trackId: int, volume: int): int
adjustPlaybackSignalVolume(volume: int): int
adjustRecordingSignalVolume(volume: int): int
adjustUserPlaybackSignalVolume(uid: int, volume: int): int
clearVideoWatermarks(): int
complain(callId: String, description: String): int
configRhythmPlayer(config: AgoraRhythmPlayerConfig): int
create(context: Context, appId: String, handler: IRtcEngineEventHandler): RtcEngine
create(config: RtcEngineConfig): RtcEngine
createCustomAudioTrack(trackType: Constants.AudioTrackType, config: AudioTrackConfig): int
createCustomVideoTrack(): int
createDataStream(reliable: boolean, ordered: boolean): int
createDataStream(config: DataStreamConfig): int
createMediaPlayer(): IMediaPlayer
createMediaRecorder(info: RecorderStreamInfo): AgoraMediaRecorder
createVideoEffectObject(bundlePath: String, sourceType: Constants.MediaSourceType): IVideoEffectObject
destroy(): void
destroy(callback: IRtcEngineReleaseCallback): void
destroyCustomAudioTrack(trackId: int): int
destroyCustomVideoTrack(video_track_id: int): int
destroyMediaRecorder(mediaRecorder: AgoraMediaRecorder): void
destroyVideoEffectObject(videoEffectObject: IVideoEffectObject): int
disableAudio(): int
disableAudioSpectrumMonitor(): int
disableVideo(): int
enableAudio(): int
enableAudioSpectrumMonitor(intervalInMS: int): int
enableAudioVolumeIndication(interval: int, smooth: int, reportVad: boolean): int
enableContentInspect(enabled: boolean, config: ContentInspectConfig): int
enableCustomAudioLocalPlayback(trackId: int, enabled: boolean): int
enableDualStreamMode(enabled: boolean): int
enableDualStreamMode(enabled: boolean, streamConfig: SimulcastStreamConfig): int
enableEncryption(enabled: boolean, config: EncryptionConfig): int
enableExtension(provider: String, extension: String, enable: boolean): int
enableFaceDetection(enabled: boolean): int
enableInEarMonitoring(enabled: boolean): int
enableInEarMonitoring(enabled: boolean, includeAudioFilters: int): int
enableInstantMediaRendering(): int
enableLocalAudio(enabled: boolean): int
enableLocalVideo(enabled: boolean): int
enableSoundPositionIndication(enabled: boolean): int
enableSpatialAudio(enabled: boolean): int
enableVideo(): int
enableVideoImageSource(enabled: boolean, options: ImageTrackOptions): int
enableVirtualBackground(enabled: boolean, backgroundSource: VirtualBackgroundSource, segproperty: SegmentationProperty): int
enableVirtualBackground(enabled: boolean, backgroundSource: VirtualBackgroundSource, segproperty: SegmentationProperty, sourceType: Constants.MediaSourceType): int
enableVoiceAITuner(enabled: boolean, type: Constants.VOICE_AI_TUNER_TYPE): int
enableWebSdkInteroperability(enabled: boolean): int
getAudioDeviceInfo(): DeviceInfo
getAudioEffectManager(): IAudioEffectManager
getAudioMixingCurrentPosition(): int
getAudioMixingDuration(): int
getAudioMixingPlayoutVolume(): int
getAudioMixingPublishVolume(): int
getAudioTrackCount(): int
getCallId(): String
getCameraMaxZoomFactor(): float
getConnectionState(): int
getCurrentMonotonicTimeInMs(): long
getEffectCurrentPosition(soundId: int): int
getEffectDuration(filePath: String): int
getEffectsVolume(): double
getErrorDescription(error: int): String
getExtensionProperty(provider: String, extension: String, key: String): String
getExtensionProperty(provider: String, extension: String, key: String, sourceType: Constants.MediaSourceType): String
getFaceShapeAreaOptions(shapeArea: int, sourceType: Constants.MediaSourceType): FaceShapeAreaOptions
getFaceShapeAreaOptions(shapeArea: int): FaceShapeAreaOptions
getFaceShapeBeautyOptions(sourceType: Constants.MediaSourceType): FaceShapeBeautyOptions
getFaceShapeBeautyOptions(): FaceShapeBeautyOptions
getNativeHandle(): long
getNetworkType(): int
getNtpWallTimeInMs(): long
getSdkVersion(): String
getUserInfoByUid(uid: int, userInfo: UserInfo): int
getUserInfoByUserAccount(userAccount: String, userInfo: UserInfo): int
getVolumeOfEffect(soundId: int): int
isCameraAutoFocusFaceModeSupported(): boolean
isCameraExposurePositionSupported(): boolean
isCameraExposureSupported(): boolean
isCameraFaceDetectSupported(): boolean
isCameraFocusSupported(): boolean
isCameraTorchSupported(): boolean
isCameraZoomSupported(): boolean
isFeatureAvailableOnDevice(type: int): boolean
isSpeakerphoneEnabled(): boolean
isTextureEncodeSupported(): boolean
joinChannel(token: String, channelId: String, optionalInfo: String, uid: int): int
joinChannel(token: String, channelId: String, uid: int, options: ChannelMediaOptions): int
joinChannelWithUserAccount(token: String, channelName: String, userAccount: String): int
joinChannelWithUserAccount(token: String, channelName: String, userAccount: String, options: ChannelMediaOptions): int
leaveChannel(): int
leaveChannel(options: LeaveChannelOptions): int
muteAllRemoteAudioStreams(muted: boolean): int
muteAllRemoteVideoStreams(muted: boolean): int
muteLocalAudioStream(muted: boolean): int
muteLocalVideoStream(muted: boolean): int
muteRecordingSignal(muted: boolean): int
muteRemoteAudioStream(uid: int, muted: boolean): int
muteRemoteVideoStream(uid: int, muted: boolean): int
pauseAllChannelMediaRelay(): int
pauseAllEffects(): int
pauseAudioMixing(): int
pauseEffect(soundId: int): int
playAllEffects(loopCount: int, pitch: double, pan: double, gain: double, publish: boolean): int
playEffect(soundId: int, filePath: String, loopCount: int, pitch: double, pan: double, gain: double, publish: boolean): int
playEffect(soundId: int, filePath: String, loopCount: int, pitch: double, pan: double, gain: double, publish: boolean, startPos: int): int
preloadChannel(token: String, channelName: String, optionalUid: int): int
preloadChannelWithUserAccount(token: String, channelName: String, userAccount: String): int
preloadEffect(soundId: int, filePath: String, startPos: int): int
preloadEffect(soundId: int, filePath: String): int
pullPlaybackAudioFrame(data: byte[], lengthInByte: int): int
pullPlaybackAudioFrame(data: ByteBuffer, lengthInByte: int): int
pushExternalAudioFrame(data: byte[], timestamp: long, sampleRate: int, channels: int, bytesPerSample: Constants.BytesPerSample, trackId: int): int
pushExternalVideoFrame(frame: VideoFrame): boolean
pushExternalVideoFrame(frame: AgoraVideoFrame): boolean
pushExternalVideoFrameById(frame: VideoFrame, videoTrackId: int): int
pushExternalVideoFrameById(frame: AgoraVideoFrame, videoTrackId: int): int
queryCameraFocalLengthCapability(): AgoraFocalLengthInfo[]
queryCodecCapability(): CodecCapInfo[]
queryDeviceScore(): int
queryScreenCaptureCapability(): int
rate(callId: String, rating: int, description: String): int
registerAudioEncodedFrameObserver(config: AudioEncodedFrameObserverConfig, observer: IAudioEncodedFrameObserver): int
registerAudioFrameObserver(observer: IAudioFrameObserver): int
registerAudioSpectrumObserver(observer: IAudioSpectrumObserver): int
registerExtension(provider: String, extension: String, sourceType: Constants.MediaSourceType): int
registerLocalUserAccount(appId: String, userAccount: String): int
registerMediaMetadataObserver(observer: IMetadataObserver, type: int): int
registerVideoEncodedFrameObserver(receiver: IVideoEncodedFrameObserver): int
registerVideoFrameObserver(observer: IVideoFrameObserver): int
removeHandler(handler: IRtcEngineEventHandler): void
removeVideoWatermark(id: String): int
renewToken(token: String): int
resumeAllChannelMediaRelay(): int
resumeAllEffects(): int
resumeAudioMixing(): int
resumeEffect(soundId: int): int
selectAudioTrack(audioIndex: int): int
sendCustomReportMessage(id: String, category: String, event: String, label: String, value: int): int
sendStreamMessage(streamId: int, message: byte[]): int
setAINSMode(enabled: boolean, mode: int): int
setAVSyncSource(channelId: String, uid: int): int
setAdvancedAudioOptions(options: AdvancedAudioOptions): int
setAudioEffectParameters(preset: int, param1: int, param2: int): int
setAudioEffectPreset(preset: int): int
setAudioMixingDualMonoMode(mode: Constants.AudioMixingDualMonoMode): int
setAudioMixingPitch(pitch: int): int
setAudioMixingPlaybackSpeed(speed: int): int
setAudioMixingPosition(pos: int): int
setAudioProfile(profile: int, scenario: int): int
setAudioProfile(profile: int): int
setAudioScenario(scenario: int): int
setBeautyEffectOptions(enabled: boolean, options: BeautyOptions): int
setBeautyEffectOptions(enabled: boolean, options: BeautyOptions, sourceType: Constants.MediaSourceType): int
setCameraAutoFocusFaceModeEnabled(enabled: boolean): int
setCameraCapturerConfiguration(config: CameraCapturerConfiguration): int
setCameraExposureFactor(factor: int): int
setCameraExposurePosition(positionXinView: float, positionYinView: float): int
setCameraFocusPositionInPreview(positionX: float, positionY: float): int
setCameraTorchOn(isOn: boolean): int
setCameraZoomFactor(factor: float): int
setChannelProfile(profile: int): int
setClientRole(role: int): int
setClientRole(role: int, options: ClientRoleOptions): int
setCloudProxy(proxyType: int): int
setColorEnhanceOptions(enabled: boolean, options: ColorEnhanceOptions): int
setColorEnhanceOptions(enabled: boolean, options: ColorEnhanceOptions, sourceType: Constants.MediaSourceType): int
setDefaultAudioRoutetoSpeakerphone(defaultToSpeaker: boolean): int
setDualStreamMode(mode: Constants.SimulcastStreamMode): int
setDualStreamMode(mode: Constants.SimulcastStreamMode, streamConfig: SimulcastStreamConfig): int
setEarMonitoringAudioFrameParameters(sampleRate: int, channel: int, mode: int, samplesPerCall: int): int
setEffectPosition(soundId: int, pos: int): int
setEffectsVolume(volume: double): int
setEnableSpeakerphone(enabled: boolean): int
setExtensionProperty(provider: String, extension: String, key: String, value: String): int
setExtensionProviderProperty(provider: String, key: String, value: String): int
setExternalAudioSink(enabled: boolean, sampleRate: int, channels: int): int
setExternalAudioSource(enabled: boolean, sampleRate: int, channels: int): int
setExternalAudioSource(enabled: boolean, sampleRate: int, channels: int, localPlayback: boolean, publish: boolean): int
setExternalMediaProjection(mediaProjection: MediaProjection): int
setExternalRemoteEglContext(eglContext: Object): int
setExternalVideoSource(enable: boolean, useTexture: boolean, sourceType: Constants.ExternalVideoSourceType): int
setFaceShapeAreaOptions(options: FaceShapeAreaOptions, sourceType: Constants.MediaSourceType): int
setFaceShapeAreaOptions(options: FaceShapeAreaOptions): int
setFaceShapeBeautyOptions(enabled: boolean, options: FaceShapeBeautyOptions, sourceType: Constants.MediaSourceType): int
setFaceShapeBeautyOptions(enabled: boolean, options: FaceShapeBeautyOptions): int
setFilterEffectOptions(enabled: boolean, options: FilterEffectOptions, sourceType: Constants.MediaSourceType): int
setFilterEffectOptions(enabled: boolean, options: FilterEffectOptions): int
setHeadphoneEQParameters(lowGain: int, highGain: int): int
setHeadphoneEQPreset(preset: int): int
setInEarMonitoringVolume(volume: int): int
setLocalAccessPoint(config: LocalAccessPointConfiguration): int
setLocalRenderMode(renderMode: int): int
setLocalRenderMode(renderMode: int, mirrorMode: int): int
setLocalRenderTargetFps(sourceType: Constants.VideoSourceType, targetFps: int): int
setLocalVideoMirrorMode(mode: int): int
setLocalVoiceEqualization(bandFrequency: Constants.AUDIO_EQUALIZATION_BAND_FREQUENCY, bandGain: int): int
setLocalVoiceFormant(formantRatio: double): int
setLocalVoicePitch(pitch: double): int
setLocalVoiceReverb(reverbKey: Constants.AUDIO_REVERB_TYPE, value: int): int
setLogFile(filePath: String): int
setLogFileSize(fileSizeInKBytes: long): int
setLogFilter(filter: int): int
setLogLevel(level: int): int
setLowlightEnhanceOptions(enabled: boolean, options: LowLightEnhanceOptions): int
setLowlightEnhanceOptions(enabled: boolean, options: LowLightEnhanceOptions, sourceType: Constants.MediaSourceType): int
setMixedAudioFrameParameters(sampleRate: int, channel: int, samplesPerCall: int): int
setParameters(parameters: String): int
setPlaybackAudioFrameBeforeMixingParameters(sampleRate: int, channel: int): int
setPlaybackAudioFrameBeforeMixingParameters(sampleRate: int, channel: int, samplesPerCall: int): int
setPlaybackAudioFrameParameters(sampleRate: int, channel: int, mode: int, samplesPerCall: int): int
setRecordingAudioFrameParameters(sampleRate: int, channel: int, mode: int, samplesPerCall: int): int
setRemoteDefaultVideoStreamType(streamType: Constants.VideoStreamType): int
setRemoteDefaultVideoStreamType(streamType: int): int
setRemoteRenderMode(uid: int, renderMode: int): int
setRemoteRenderTargetFps(targetFps: int): int
setRemoteSubscribeFallbackOption(option: Constants.StreamFallbackOptions): int
setRemoteSubscribeFallbackOption(option: int): int
setRemoteUserSpatialAudioParams(uid: int, params: SpatialAudioParams): int
setRemoteVideoStreamType(uid: int, streamType: Constants.VideoStreamType): int
setRemoteVideoStreamType(uid: int, streamType: int): int
setRemoteVideoSubscriptionOptions(uid: int, options: VideoSubscriptionOptions): int
setRemoteVoicePosition(uid: int, pan: double, gain: double): int
setRouteInCommunicationMode(route: int): int
setScreenCaptureScenario(screenScenario: Constants.ScreenScenarioType): int
setSubscribeAudioAllowlist(uidList: int[]): int
setSubscribeAudioBlocklist(uidList: int[]): int
setSubscribeVideoAllowlist(uidList: int[]): int
setSubscribeVideoBlocklist(uidList: int[]): int
setVideoDenoiserOptions(enabled: boolean, options: VideoDenoiserOptions): int
setVideoDenoiserOptions(enabled: boolean, options: VideoDenoiserOptions, sourceType: Constants.MediaSourceType): int
setVideoEncoderConfiguration(config: VideoEncoderConfiguration): int
setVideoScenario(scenarioType: Constants.VideoScenario): int
setVoiceBeautifierParameters(preset: int, param1: int, param2: int): int
setVoiceBeautifierPreset(preset: int): int
setVoiceConversionPreset(preset: int): int
setVolumeOfEffect(soundId: int, volume: double): int
setupLocalVideo(local: VideoCanvas): int
setupRemoteVideo(remote: VideoCanvas): int
startAudioMixing(filePath: String, loopback: boolean, cycle: int): int
startAudioMixing(filePath: String, loopback: boolean, cycle: int, startPos: int): int
startAudioRecording(filePath: String, quality: int): int
startAudioRecording(config: AudioRecordingConfiguration): int
startCameraCapture(sourceType: Constants.VideoSourceType, config: CameraCapturerConfiguration): int
startEchoTest(config: EchoTestConfiguration): int
startLastmileProbeTest(config: LastmileProbeConfig): int
startLocalAudioMixer(config: LocalAudioMixerConfiguration): int
startLocalVideoTranscoder(config: LocalTranscoderConfiguration): int
startMediaRenderingTracing(): int
startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration: ChannelMediaRelayConfiguration): int
startPlaybackDeviceTest(audioFileName: String): int
startPreview(): int
startPreview(sourceType: Constants.VideoSourceType): int
startRecordingDeviceTest(indicationInterval: int): int
startRhythmPlayer(sound1: String, sound2: String, config: AgoraRhythmPlayerConfig): int
startRtmpStreamWithTranscoding(url: String, transcoding: LiveTranscoding): int
startRtmpStreamWithoutTranscoding(url: String): int
startScreenCapture(screenCaptureParameters: ScreenCaptureParameters): int
stopAllEffects(): int
stopAudioMixing(): int
stopAudioRecording(): int
stopCameraCapture(sourceType: Constants.VideoSourceType): int
stopChannelMediaRelay(): int
stopEchoTest(): int
stopEffect(soundId: int): int
stopLastmileProbeTest(): int
stopLocalAudioMixer(): int
stopLocalVideoTranscoder(): int
stopPlaybackDeviceTest(): int
stopPreview(): int
stopPreview(sourceType: Constants.VideoSourceType): int
stopRecordingDeviceTest(): int
stopRhythmPlayer(): int
stopRtmpStream(url: String): int
stopScreenCapture(): int
switchCamera(): int
switchCamera(cameraId: String): int
takeSnapshot(uid: int, filePath: String): int
takeSnapshot(uid: int, config: SnapshotConfig): int
unRegisterAudioSpectrumObserver(observer: IAudioSpectrumObserver): int
unloadEffect(soundId: int): int
unregisterMediaMetadataObserver(observer: IMetadataObserver, type: int): int
updateChannelMediaOptions(options: ChannelMediaOptions): int
updateLocalAudioMixerConfiguration(config: LocalAudioMixerConfiguration): int
updateLocalTranscoderConfiguration(config: LocalTranscoderConfiguration): int
updatePreloadChannelToken(token: String): int
updateRtmpTranscoding(transcoding: LiveTranscoding): int
updateScreenCaptureParameters(screenCaptureParameters: ScreenCaptureParameters): int

Method detail: 256 / 256 (parameters, returns, errors)

MethodParametersReturnsErrors
addExtensionproviderName: StringvoidError code index
addHandlerhandler: IRtcEngineEventHandlervoidError code index
addVideoWatermarkwatermark: AgoraImageintError code index
adjustAudioMixingPlayoutVolumevolume: intintError code index
adjustAudioMixingPublishVolumevolume: intintError code index
adjustAudioMixingVolumevolume: intintError code index
adjustCustomAudioPlayoutVolumetrackId: int, volume: intintError code index
adjustCustomAudioPublishVolumetrackId: int, volume: intintError code index
adjustPlaybackSignalVolumevolume: intintError code index
adjustRecordingSignalVolumevolume: intintError code index
adjustUserPlaybackSignalVolumeuid: int, volume: intintError code index
clearVideoWatermarks—intError code index
complaincallId: String, description: StringintError code index
configRhythmPlayerconfig: AgoraRhythmPlayerConfigintError code index
createcontext: Context, appId: String, handler: IRtcEngineEventHandlerRtcEngineError code index
createCustomAudioTracktrackType: Constants.AudioTrackType, config: AudioTrackConfigintError code index
createCustomVideoTrack—intError code index
createDataStreamreliable: boolean, ordered: booleanintError code index
createMediaPlayer—IMediaPlayerError code index
createMediaRecorderinfo: RecorderStreamInfoAgoraMediaRecorderError code index
createVideoEffectObjectbundlePath: String, sourceType: Constants.MediaSourceTypeIVideoEffectObjectError code index
destroy—voidError code index
destroyCustomAudioTracktrackId: intintError code index
destroyCustomVideoTrackvideo_track_id: intintError code index
destroyMediaRecordermediaRecorder: AgoraMediaRecordervoidError code index
destroyVideoEffectObjectvideoEffectObject: IVideoEffectObjectintError code index
disableAudio—intError code index
disableAudioSpectrumMonitor—intError code index
disableVideo—intError code index
enableAudio—intError code index
enableAudioSpectrumMonitorintervalInMS: intintError code index
enableAudioVolumeIndicationinterval: int, smooth: int, reportVad: booleanintError code index
enableContentInspectenabled: boolean, config: ContentInspectConfigintError code index
enableCustomAudioLocalPlaybacktrackId: int, enabled: booleanintError code index
enableDualStreamModeenabled: booleanintError code index
enableEncryptionenabled: boolean, config: EncryptionConfigintError code index
enableExtensionprovider: String, extension: String, enable: booleanintError code index
enableFaceDetectionenabled: booleanintError code index
enableInEarMonitoringenabled: booleanintError code index
enableInstantMediaRendering—intError code index
enableLocalAudioenabled: booleanintError code index
enableLocalVideoenabled: booleanintError code index
enableSoundPositionIndicationenabled: booleanintError code index
enableSpatialAudioenabled: booleanintError code index
enableVideo—intError code index
enableVideoImageSourceenabled: boolean, options: ImageTrackOptionsintError code index
enableVirtualBackgroundenabled: boolean, backgroundSource: VirtualBackgroundSource, segproperty: SegmentationPropertyintError code index
enableVoiceAITunerenabled: boolean, type: Constants.VOICE_AI_TUNER_TYPEintError code index
enableWebSdkInteroperabilityenabled: booleanintError code index
getAudioDeviceInfo—DeviceInfoError code index
getAudioEffectManager—IAudioEffectManagerError code index
getAudioMixingCurrentPosition—intError code index
getAudioMixingDuration—intError code index
getAudioMixingPlayoutVolume—intError code index
getAudioMixingPublishVolume—intError code index
getAudioTrackCount—intError code index
getCallId—StringError code index
getCameraMaxZoomFactor—floatError code index
getConnectionState—intError code index
getCurrentMonotonicTimeInMs—longError code index
getEffectCurrentPositionsoundId: intintError code index
getEffectDurationfilePath: StringintError code index
getEffectsVolume—doubleError code index
getErrorDescriptionerror: intStringError code index
getExtensionPropertyprovider: String, extension: String, key: StringStringError code index
getFaceShapeAreaOptionsshapeArea: int, sourceType: Constants.MediaSourceTypeFaceShapeAreaOptionsError code index
getFaceShapeBeautyOptionssourceType: Constants.MediaSourceTypeFaceShapeBeautyOptionsError code index
getNativeHandle—longError code index
getNetworkType—intError code index
getNtpWallTimeInMs—longError code index
getSdkVersion—StringError code index
getUserInfoByUiduid: int, userInfo: UserInfointError code index
getUserInfoByUserAccountuserAccount: String, userInfo: UserInfointError code index
getVolumeOfEffectsoundId: intintError code index
isCameraAutoFocusFaceModeSupported—booleanError code index
isCameraExposurePositionSupported—booleanError code index
isCameraExposureSupported—booleanError code index
isCameraFaceDetectSupported—booleanError code index
isCameraFocusSupported—booleanError code index
isCameraTorchSupported—booleanError code index
isCameraZoomSupported—booleanError code index
isFeatureAvailableOnDevicetype: intbooleanError code index
isSpeakerphoneEnabled—booleanError code index
isTextureEncodeSupported—booleanError code index
joinChanneltoken: String, channelId: String, optionalInfo: String, uid: intintError code index
joinChannelWithUserAccounttoken: String, channelName: String, userAccount: StringintError code index
leaveChannel—intError code index
muteAllRemoteAudioStreamsmuted: booleanintError code index
muteAllRemoteVideoStreamsmuted: booleanintError code index
muteLocalAudioStreammuted: booleanintError code index
muteLocalVideoStreammuted: booleanintError code index
muteRecordingSignalmuted: booleanintError code index
muteRemoteAudioStreamuid: int, muted: booleanintError code index
muteRemoteVideoStreamuid: int, muted: booleanintError code index
pauseAllChannelMediaRelay—intError code index
pauseAllEffects—intError code index
pauseAudioMixing—intError code index
pauseEffectsoundId: intintError code index
playAllEffectsloopCount: int, pitch: double, pan: double, gain: double, publish: booleanintError code index
playEffectsoundId: int, filePath: String, loopCount: int, pitch: double, pan: double, gain: double, publish: booleanintError code index
preloadChanneltoken: String, channelName: String, optionalUid: intintError code index
preloadChannelWithUserAccounttoken: String, channelName: String, userAccount: StringintError code index
preloadEffectsoundId: int, filePath: String, startPos: intintError code index
pullPlaybackAudioFramedata: byte[], lengthInByte: intintError code index
pushExternalAudioFramedata: byte[], timestamp: long, sampleRate: int, channels: int, bytesPerSample: Constants.BytesPerSample, trackId: intintError code index
pushExternalVideoFrameframe: VideoFramebooleanError code index
pushExternalVideoFrameByIdframe: VideoFrame, videoTrackId: intintError code index
queryCameraFocalLengthCapability—AgoraFocalLengthInfo[]Error code index
queryCodecCapability—CodecCapInfo[]Error code index
queryDeviceScore—intError code index
queryScreenCaptureCapability—intError code index
ratecallId: String, rating: int, description: StringintError code index
registerAudioEncodedFrameObserverconfig: AudioEncodedFrameObserverConfig, observer: IAudioEncodedFrameObserverintError code index
registerAudioFrameObserverobserver: IAudioFrameObserverintError code index
registerAudioSpectrumObserverobserver: IAudioSpectrumObserverintError code index
registerExtensionprovider: String, extension: String, sourceType: Constants.MediaSourceTypeintError code index
registerLocalUserAccountappId: String, userAccount: StringintError code index
registerMediaMetadataObserverobserver: IMetadataObserver, type: intintError code index
registerVideoEncodedFrameObserverreceiver: IVideoEncodedFrameObserverintError code index
registerVideoFrameObserverobserver: IVideoFrameObserverintError code index
removeHandlerhandler: IRtcEngineEventHandlervoidError code index
removeVideoWatermarkid: StringintError code index
renewTokentoken: StringintError code index
resumeAllChannelMediaRelay—intError code index
resumeAllEffects—intError code index
resumeAudioMixing—intError code index
resumeEffectsoundId: intintError code index
selectAudioTrackaudioIndex: intintError code index
sendCustomReportMessageid: String, category: String, event: String, label: String, value: intintError code index
sendStreamMessagestreamId: int, message: byte[]intError code index
setAINSModeenabled: boolean, mode: intintError code index
setAVSyncSourcechannelId: String, uid: intintError code index
setAdvancedAudioOptionsoptions: AdvancedAudioOptionsintError code index
setAudioEffectParameterspreset: int, param1: int, param2: intintError code index
setAudioEffectPresetpreset: intintError code index
setAudioMixingDualMonoModemode: Constants.AudioMixingDualMonoModeintError code index
setAudioMixingPitchpitch: intintError code index
setAudioMixingPlaybackSpeedspeed: intintError code index
setAudioMixingPositionpos: intintError code index
setAudioProfileprofile: int, scenario: intintError code index
setAudioScenarioscenario: intintError code index
setBeautyEffectOptionsenabled: boolean, options: BeautyOptionsintError code index
setCameraAutoFocusFaceModeEnabledenabled: booleanintError code index
setCameraCapturerConfigurationconfig: CameraCapturerConfigurationintError code index
setCameraExposureFactorfactor: intintError code index
setCameraExposurePositionpositionXinView: float, positionYinView: floatintError code index
setCameraFocusPositionInPreviewpositionX: float, positionY: floatintError code index
setCameraTorchOnisOn: booleanintError code index
setCameraZoomFactorfactor: floatintError code index
setChannelProfileprofile: intintError code index
setClientRolerole: intintError code index
setCloudProxyproxyType: intintError code index
setColorEnhanceOptionsenabled: boolean, options: ColorEnhanceOptionsintError code index
setDefaultAudioRoutetoSpeakerphonedefaultToSpeaker: booleanintError code index
setDualStreamModemode: Constants.SimulcastStreamModeintError code index
setEarMonitoringAudioFrameParameterssampleRate: int, channel: int, mode: int, samplesPerCall: intintError code index
setEffectPositionsoundId: int, pos: intintError code index
setEffectsVolumevolume: doubleintError code index
setEnableSpeakerphoneenabled: booleanintError code index
setExtensionPropertyprovider: String, extension: String, key: String, value: StringintError code index
setExtensionProviderPropertyprovider: String, key: String, value: StringintError code index
setExternalAudioSinkenabled: boolean, sampleRate: int, channels: intintError code index
setExternalAudioSourceenabled: boolean, sampleRate: int, channels: intintError code index
setExternalMediaProjectionmediaProjection: MediaProjectionintError code index
setExternalRemoteEglContexteglContext: ObjectintError code index
setExternalVideoSourceenable: boolean, useTexture: boolean, sourceType: Constants.ExternalVideoSourceTypeintError code index
setFaceShapeAreaOptionsoptions: FaceShapeAreaOptions, sourceType: Constants.MediaSourceTypeintError code index
setFaceShapeBeautyOptionsenabled: boolean, options: FaceShapeBeautyOptions, sourceType: Constants.MediaSourceTypeintError code index
setFilterEffectOptionsenabled: boolean, options: FilterEffectOptions, sourceType: Constants.MediaSourceTypeintError code index
setHeadphoneEQParameterslowGain: int, highGain: intintError code index
setHeadphoneEQPresetpreset: intintError code index
setInEarMonitoringVolumevolume: intintError code index
setLocalAccessPointconfig: LocalAccessPointConfigurationintError code index
setLocalRenderModerenderMode: intintError code index
setLocalRenderTargetFpssourceType: Constants.VideoSourceType, targetFps: intintError code index
setLocalVideoMirrorModemode: intintError code index
setLocalVoiceEqualizationbandFrequency: Constants.AUDIO_EQUALIZATION_BAND_FREQUENCY, bandGain: intintError code index
setLocalVoiceFormantformantRatio: doubleintError code index
setLocalVoicePitchpitch: doubleintError code index
setLocalVoiceReverbreverbKey: Constants.AUDIO_REVERB_TYPE, value: intintError code index
setLogFilefilePath: StringintError code index
setLogFileSizefileSizeInKBytes: longintError code index
setLogFilterfilter: intintError code index
setLogLevellevel: intintError code index
setLowlightEnhanceOptionsenabled: boolean, options: LowLightEnhanceOptionsintError code index
setMixedAudioFrameParameterssampleRate: int, channel: int, samplesPerCall: intintError code index
setParametersparameters: StringintError code index
setPlaybackAudioFrameBeforeMixingParameterssampleRate: int, channel: intintError code index
setPlaybackAudioFrameParameterssampleRate: int, channel: int, mode: int, samplesPerCall: intintError code index
setRecordingAudioFrameParameterssampleRate: int, channel: int, mode: int, samplesPerCall: intintError code index
setRemoteDefaultVideoStreamTypestreamType: Constants.VideoStreamTypeintError code index
setRemoteRenderModeuid: int, renderMode: intintError code index
setRemoteRenderTargetFpstargetFps: intintError code index
setRemoteSubscribeFallbackOptionoption: Constants.StreamFallbackOptionsintError code index
setRemoteUserSpatialAudioParamsuid: int, params: SpatialAudioParamsintError code index
setRemoteVideoStreamTypeuid: int, streamType: Constants.VideoStreamTypeintError code index
setRemoteVideoSubscriptionOptionsuid: int, options: VideoSubscriptionOptionsintError code index
setRemoteVoicePositionuid: int, pan: double, gain: doubleintError code index
setRouteInCommunicationModeroute: intintError code index
setScreenCaptureScenarioscreenScenario: Constants.ScreenScenarioTypeintError code index
setSubscribeAudioAllowlistuidList: int[]intError code index
setSubscribeAudioBlocklistuidList: int[]intError code index
setSubscribeVideoAllowlistuidList: int[]intError code index
setSubscribeVideoBlocklistuidList: int[]intError code index
setVideoDenoiserOptionsenabled: boolean, options: VideoDenoiserOptionsintError code index
setVideoEncoderConfigurationconfig: VideoEncoderConfigurationintError code index
setVideoScenarioscenarioType: Constants.VideoScenariointError code index
setVoiceBeautifierParameterspreset: int, param1: int, param2: intintError code index
setVoiceBeautifierPresetpreset: intintError code index
setVoiceConversionPresetpreset: intintError code index
setVolumeOfEffectsoundId: int, volume: doubleintError code index
setupLocalVideolocal: VideoCanvasintError code index
setupRemoteVideoremote: VideoCanvasintError code index
startAudioMixingfilePath: String, loopback: boolean, cycle: intintError code index
startAudioRecordingfilePath: String, quality: intintError code index
startCameraCapturesourceType: Constants.VideoSourceType, config: CameraCapturerConfigurationintError code index
startEchoTestconfig: EchoTestConfigurationintError code index
startLastmileProbeTestconfig: LastmileProbeConfigintError code index
startLocalAudioMixerconfig: LocalAudioMixerConfigurationintError code index
startLocalVideoTranscoderconfig: LocalTranscoderConfigurationintError code index
startMediaRenderingTracing—intError code index
startOrUpdateChannelMediaRelaychannelMediaRelayConfiguration: ChannelMediaRelayConfigurationintError code index
startPlaybackDeviceTestaudioFileName: StringintError code index
startPreview—intError code index
startRecordingDeviceTestindicationInterval: intintError code index
startRhythmPlayersound1: String, sound2: String, config: AgoraRhythmPlayerConfigintError code index
startRtmpStreamWithTranscodingurl: String, transcoding: LiveTranscodingintError code index
startRtmpStreamWithoutTranscodingurl: StringintError code index
startScreenCapturescreenCaptureParameters: ScreenCaptureParametersintError code index
stopAllEffects—intError code index
stopAudioMixing—intError code index
stopAudioRecording—intError code index
stopCameraCapturesourceType: Constants.VideoSourceTypeintError code index
stopChannelMediaRelay—intError code index
stopEchoTest—intError code index
stopEffectsoundId: intintError code index
stopLastmileProbeTest—intError code index
stopLocalAudioMixer—intError code index
stopLocalVideoTranscoder—intError code index
stopPlaybackDeviceTest—intError code index
stopPreview—intError code index
stopRecordingDeviceTest—intError code index
stopRhythmPlayer—intError code index
stopRtmpStreamurl: StringintError code index
stopScreenCapture—intError code index
switchCamera—intError code index
takeSnapshotuid: int, filePath: StringintError code index
unRegisterAudioSpectrumObserverobserver: IAudioSpectrumObserverintError code index
unloadEffectsoundId: intintError code index
unregisterMediaMetadataObserverobserver: IMetadataObserver, type: intintError code index
updateChannelMediaOptionsoptions: ChannelMediaOptionsintError code index
updateLocalAudioMixerConfigurationconfig: LocalAudioMixerConfigurationintError code index
updateLocalTranscoderConfigurationconfig: LocalTranscoderConfigurationintError code index
updatePreloadChannelTokentoken: StringintError code index
updateRtmpTranscodingtranscoding: LiveTranscodingintError code index
updateScreenCaptureParametersscreenCaptureParameters: ScreenCaptureParametersintError code index
RtcEngineConfig 0 method / 14 Property
PropertyTyperead-only
mEventHandlerIRtcEngineEventHandlerNo
mContextContextNo
mAppIdStringNo
mAreaCodeintNo
mChannelProfileintNo
mLicenseStringNo
mAudioScenariointNo
mAutoRegisterAgoraExtensionsbooleanNo
mExtensionListListNo
mExtensionObserverIMediaExtensionObserverNo
mLogConfigLogConfigNo
mThreadPriorityIntegerNo
mNativeLibPathStringNo
mDomainLimitbooleanNo
RtcEngineEx 48 method / 0 Property
typescript
addVideoWatermarkEx(watermarkUrl: String, options: WatermarkOptions, connection: RtcConnection): int
addVideoWatermarkEx(config: WatermarkConfig, connection: RtcConnection): int
adjustUserPlaybackSignalVolumeEx(uid: int, volume: int, connection: RtcConnection): int
clearVideoWatermarkEx(connection: RtcConnection): int
createDataStreamEx(reliable: boolean, ordered: boolean, connection: RtcConnection): int
createDataStreamEx(config: DataStreamConfig, connection: RtcConnection): int
enableAudioVolumeIndicationEx(interval: int, smooth: int, reportVad: boolean, connection: RtcConnection): int
enableContentInspectEx(enabled: boolean, config: ContentInspectConfig, connection: RtcConnection): int
enableDualStreamModeEx(enabled: boolean, streamConfig: SimulcastStreamConfig, connection: RtcConnection): int
enableEncryptionEx(enabled: boolean, config: EncryptionConfig, connection: RtcConnection): int
getCallIdEx(connection: RtcConnection): String
getConnectionStateEx(connection: RtcConnection): int
getUserInfoByUidEx(uid: int, userInfo: UserInfo, connection: RtcConnection): int
getUserInfoByUserAccountEx(userAccount: String, userInfo: UserInfo, connection: RtcConnection): int
joinChannelEx(token: String, connection: RtcConnection, options: ChannelMediaOptions, eventHandler: IRtcEngineEventHandler): int
joinChannelWithUserAccountEx(token: String, channelId: String, userAccount: String, options: ChannelMediaOptions, eventHandler: IRtcEngineEventHandler): int
leaveChannelEx(connection: RtcConnection): int
leaveChannelEx(connection: RtcConnection, options: LeaveChannelOptions): int
muteAllRemoteAudioStreamsEx(muted: boolean, connection: RtcConnection): int
muteAllRemoteVideoStreamsEx(muted: boolean, connection: RtcConnection): int
muteLocalAudioStreamEx(muted: boolean, connection: RtcConnection): int
muteLocalVideoStreamEx(muted: boolean, connection: RtcConnection): int
muteRemoteAudioStreamEx(uid: int, muted: boolean, connection: RtcConnection): int
muteRemoteVideoStreamEx(uid: int, muted: boolean, connection: RtcConnection): int
pauseAllChannelMediaRelayEx(connection: RtcConnection): int
playEffectEx(connection: RtcConnection, soundId: int, filePath: String, loopCount: int, pitch: double, pan: double, gain: double, publish: boolean, startPos: int): int
playEffectEx(connection: RtcConnection, soundId: int, filePath: String, loopCount: int, pitch: double, pan: double, gain: double, publish: boolean): int
preloadEffectEx(connection: RtcConnection, soundId: int, filePath: String, startPos: int): int
preloadEffectEx(connection: RtcConnection, soundId: int, filePath: String): int
removeVideoWatermarkEx(id: String, connection: RtcConnection): int
resumeAllChannelMediaRelayEx(connection: RtcConnection): int
sendCustomReportMessageEx(id: String, category: String, event: String, label: String, value: int, connection: RtcConnection): int
sendStreamMessageEx(streamId: int, message: byte[], connection: RtcConnection): int
setDualStreamModeEx(mode: Constants.SimulcastStreamMode, streamConfig: SimulcastStreamConfig, connection: RtcConnection): int
setRemoteRenderModeEx(uid: int, renderMode: int, mirrorMode: int, connection: RtcConnection): int
setRemoteVideoStreamTypeEx(uid: int, streamType: Constants.VideoStreamType, connection: RtcConnection): int
setRemoteVideoStreamTypeEx(uid: int, streamType: int, connection: RtcConnection): int
setRemoteVideoSubscriptionOptionsEx(uid: int, options: VideoSubscriptionOptions, rtcConnection: RtcConnection): int
setRemoteVoicePositionEx(uid: int, pan: double, gain: double, connection: RtcConnection): int
setSubscribeAudioAllowlistEx(uidList: int[], connection: RtcConnection): int
setSubscribeAudioBlocklistEx(uidList: int[], connection: RtcConnection): int
setSubscribeVideoAllowlistEx(uidList: int[], connection: RtcConnection): int
setSubscribeVideoBlocklistEx(uidList: int[], connection: RtcConnection): int
setVideoEncoderConfigurationEx(config: VideoEncoderConfiguration, connection: RtcConnection): int
setupRemoteVideoEx(remote: VideoCanvas, connection: RtcConnection): int
startMediaRenderingTracingEx(connection: RtcConnection): int
startOrUpdateChannelMediaRelayEx(channelMediaRelayConfiguration: ChannelMediaRelayConfiguration, connection: RtcConnection): int
startRtmpStreamWithTranscodingEx(url: String, transcoding: LiveTranscoding, connection: RtcConnection): int
startRtmpStreamWithoutTranscodingEx(url: String, connection: RtcConnection): int
stopChannelMediaRelayEx(connection: RtcConnection): int
stopRtmpStreamEx(url: String, connection: RtcConnection): int
takeSnapshotEx(connection: RtcConnection, uid: int, filePath: String): int
takeSnapshotEx(connection: RtcConnection, uid: int, config: SnapshotConfig): int
updateChannelMediaOptionsEx(options: ChannelMediaOptions, connection: RtcConnection): int
updateRtmpTranscodingEx(transcoding: LiveTranscoding, connection: RtcConnection): int

Method detail: 48 / 48 (parameters, returns, errors)

MethodParametersReturnsErrors
addVideoWatermarkExwatermarkUrl: String, options: WatermarkOptions, connection: RtcConnectionintError code index
adjustUserPlaybackSignalVolumeExuid: int, volume: int, connection: RtcConnectionintError code index
clearVideoWatermarkExconnection: RtcConnectionintError code index
createDataStreamExreliable: boolean, ordered: boolean, connection: RtcConnectionintError code index
enableAudioVolumeIndicationExinterval: int, smooth: int, reportVad: boolean, connection: RtcConnectionintError code index
enableContentInspectExenabled: boolean, config: ContentInspectConfig, connection: RtcConnectionintError code index
enableDualStreamModeExenabled: boolean, streamConfig: SimulcastStreamConfig, connection: RtcConnectionintError code index
enableEncryptionExenabled: boolean, config: EncryptionConfig, connection: RtcConnectionintError code index
getCallIdExconnection: RtcConnectionStringError code index
getConnectionStateExconnection: RtcConnectionintError code index
getUserInfoByUidExuid: int, userInfo: UserInfo, connection: RtcConnectionintError code index
getUserInfoByUserAccountExuserAccount: String, userInfo: UserInfo, connection: RtcConnectionintError code index
joinChannelExtoken: String, connection: RtcConnection, options: ChannelMediaOptions, eventHandler: IRtcEngineEventHandlerintError code index
joinChannelWithUserAccountExtoken: String, channelId: String, userAccount: String, options: ChannelMediaOptions, eventHandler: IRtcEngineEventHandlerintError code index
leaveChannelExconnection: RtcConnectionintError code index
muteAllRemoteAudioStreamsExmuted: boolean, connection: RtcConnectionintError code index
muteAllRemoteVideoStreamsExmuted: boolean, connection: RtcConnectionintError code index
muteLocalAudioStreamExmuted: boolean, connection: RtcConnectionintError code index
muteLocalVideoStreamExmuted: boolean, connection: RtcConnectionintError code index
muteRemoteAudioStreamExuid: int, muted: boolean, connection: RtcConnectionintError code index
muteRemoteVideoStreamExuid: int, muted: boolean, connection: RtcConnectionintError code index
pauseAllChannelMediaRelayExconnection: RtcConnectionintError code index
playEffectExconnection: RtcConnection, soundId: int, filePath: String, loopCount: int, pitch: double, pan: double, gain: double, publish: boolean, startPos: intintError code index
preloadEffectExconnection: RtcConnection, soundId: int, filePath: String, startPos: intintError code index
removeVideoWatermarkExid: String, connection: RtcConnectionintError code index
resumeAllChannelMediaRelayExconnection: RtcConnectionintError code index
sendCustomReportMessageExid: String, category: String, event: String, label: String, value: int, connection: RtcConnectionintError code index
sendStreamMessageExstreamId: int, message: byte[], connection: RtcConnectionintError code index
setDualStreamModeExmode: Constants.SimulcastStreamMode, streamConfig: SimulcastStreamConfig, connection: RtcConnectionintError code index
setRemoteRenderModeExuid: int, renderMode: int, mirrorMode: int, connection: RtcConnectionintError code index
setRemoteVideoStreamTypeExuid: int, streamType: Constants.VideoStreamType, connection: RtcConnectionintError code index
setRemoteVideoSubscriptionOptionsExuid: int, options: VideoSubscriptionOptions, rtcConnection: RtcConnectionintError code index
setRemoteVoicePositionExuid: int, pan: double, gain: double, connection: RtcConnectionintError code index
setSubscribeAudioAllowlistExuidList: int[], connection: RtcConnectionintError code index
setSubscribeAudioBlocklistExuidList: int[], connection: RtcConnectionintError code index
setSubscribeVideoAllowlistExuidList: int[], connection: RtcConnectionintError code index
setSubscribeVideoBlocklistExuidList: int[], connection: RtcConnectionintError code index
setVideoEncoderConfigurationExconfig: VideoEncoderConfiguration, connection: RtcConnectionintError code index
setupRemoteVideoExremote: VideoCanvas, connection: RtcConnectionintError code index
startMediaRenderingTracingExconnection: RtcConnectionintError code index
startOrUpdateChannelMediaRelayExchannelMediaRelayConfiguration: ChannelMediaRelayConfiguration, connection: RtcConnectionintError code index
startRtmpStreamWithTranscodingExurl: String, transcoding: LiveTranscoding, connection: RtcConnectionintError code index
startRtmpStreamWithoutTranscodingExurl: String, connection: RtcConnectionintError code index
stopChannelMediaRelayExconnection: RtcConnectionintError code index
stopRtmpStreamExurl: String, connection: RtcConnectionintError code index
takeSnapshotExconnection: RtcConnection, uid: int, filePath: StringintError code index
updateChannelMediaOptionsExoptions: ChannelMediaOptions, connection: RtcConnectionintError code index
updateRtmpTranscodingExtranscoding: LiveTranscoding, connection: RtcConnectionintError code index
RtcStats 0 method / 24 Property
PropertyTyperead-only
totalDurationintNo
txBytesintNo
rxBytesintNo
txKBitRateintNo
txAudioBytesintNo
rxAudioBytesintNo
txVideoBytesintNo
rxVideoBytesintNo
rxKBitRateintNo
txAudioKBitRateintNo
rxAudioKBitRateintNo
txVideoKBitRateintNo
rxVideoKBitRateintNo
lastmileDelayintNo
cpuTotalUsagedoubleNo
gatewayRttintNo
cpuAppUsagedoubleNo
usersintNo
connectTimeMsintNo
txPacketLossRateintNo
rxPacketLossRateintNo
memoryAppUsageRatiodoubleNo
memoryTotalUsageRatiodoubleNo
memoryAppUsageInKbytesintNo
Rte 6 method / 0 Property
typescript
Rte(initialConfig: InitialConfig): unknown
destroy(): void
getConfigs(config: Config): void
getFromBridge(): Rte
initMediaEngine(callBack: AsyncCallback): void
setConfigs(config: Config): void

Method detail: 6 / 6 (parameters, returns, errors)

MethodParametersReturnsErrors
RteinitialConfig: InitialConfigunknownError code index
destroy—voidError code index
getConfigsconfig: ConfigvoidError code index
getFromBridge—RteError code index
initMediaEnginecallBack: AsyncCallbackvoidError code index
setConfigsconfig: ConfigvoidError code index
RteException 1 method / 1 Property
typescript
errorCode(): Constants.ErrorCode

Method detail: 1 / 1 (parameters, returns, errors)

MethodParametersReturnsErrors
errorCode—Constants.ErrorCodeError code index
PropertyTyperead-only
mErrorCodeintNo
ScreenCaptureParameters 0 method / 4 Property
PropertyTyperead-only
captureAudiobooleanNo
videoCaptureParametersVideoCaptureParametersNo
captureVideobooleanNo
audioCaptureParametersAudioCaptureParametersNo
SegmentationProperty 0 method / 8 Property
PropertyTyperead-only
SEG_MODEL_AIintNo
SEG_MODEL_GREENintNo
SCREEN_COLOR_AUTOintNo
SCREEN_COLOR_GREENintNo
SCREEN_COLOR_BLUEintNo
modelTypeintNo
greenCapacityfloatNo
screenColorTypeintNo
SimulcastStreamConfig 0 method / 3 Property
PropertyTyperead-only
dimensionsVideoEncoderConfiguration.VideoDimensionsNo
bitrateintNo
framerateintNo
SnapshotConfig 0 method / 2 Property
PropertyTyperead-only
filePathStringNo
positionConstants.VideoModulePositionNo
SpatialAudioParams 0 method / 8 Property
PropertyTyperead-only
speaker_azimuthDoubleNo
speaker_elevationDoubleNo
speaker_distanceDoubleNo
speaker_orientationIntegerNo
enable_blurBooleanNo
enable_air_absorbBooleanNo
speaker_attenuationDoubleNo
enable_dopplerBooleanNo
SpatialAudioZone 0 method / 9 Property
PropertyTyperead-only
zoneSetIdintNo
positionfloat[]No
forwardfloat[]No
rightfloat[]No
upfloat[]No
forwardLengthfloatNo
rightLengthfloatNo
upLengthfloatNo
audioAttenuationfloatNo
SrcInfo 0 method / 2 Property
PropertyTyperead-only
bitrateInKbpsintNo
nameStringNo
TranscodingUser 0 method / 8 Property
PropertyTyperead-only
uidintNo
xintNo
yintNo
widthintNo
heightintNo
zOrderintNo
alphafloatNo
audioChannelintNo
TranscodingVideoStream 0 method / 11 Property
PropertyTyperead-only
remoteUserUidintNo
sourceTypeConstants.VideoSourceTypeNo
imageUrlStringNo
mediaPlayerIdintNo
xintNo
yintNo
widthintNo
heightintNo
zOrderintNo
alphadoubleNo
mirrorbooleanNo
UplinkNetworkInfo 0 method / 1 Property
PropertyTyperead-only
video_encoder_target_bitrate_bpsintNo
UserAudioSpectrumInfo 0 method / 2 Property
PropertyTyperead-only
uidintNo
audioSpectrumInfoAudioSpectrumInfoNo
UserInfo 0 method / 2 Property
PropertyTyperead-only
uidintNo
userAccountStringNo
VideoCanvas 0 method / 19 Property
PropertyTyperead-only
uidintNo
subviewUidintNo
RENDER_MODE_HIDDENintNo
RENDER_MODE_FITintNo
RENDER_MODE_ADAPTIVEintNo
VIEW_SETUP_MODE_REPLACEintNo
VIEW_SETUP_MODE_ADDintNo
VIEW_SETUP_MODE_REMOVEintNo
viewViewNo
surfaceTextureSurfaceTextureNo
renderModeintNo
mirrorModeintNo
setupModeintNo
sourceTypeintNo
mediaPlayerIdintNo
rectRectNo
enableAlphaMaskbooleanNo
backgroundColorintNo
positionConstants.VideoModulePositionNo
VideoCaptureParameters 0 method / 5 Property
PropertyTyperead-only
bitrateintNo
framerateintNo
widthintNo
heightintNo
contentHintintNo
VideoDenoiserOptions 0 method / 6 Property
PropertyTyperead-only
VIDEO_DENOISER_AUTOintNo
VIDEO_DENOISER_MANUALintNo
VIDEO_DENOISER_LEVEL_HIGH_QUALITYintNo
VIDEO_DENOISER_LEVEL_FASTintNo
denoiserModeintNo
denoiserLevelintNo
VideoDimensions 0 method / 2 Property
PropertyTyperead-only
widthintNo
heightintNo
VideoEncoderConfiguration 0 method / 10 Property
PropertyTyperead-only
dimensionsVideoDimensionsNo
frameRateintNo
minFrameRateintNo
bitrateintNo
minBitrateintNo
orientationModeORIENTATION_MODENo
degradationPreferDEGRADATION_PREFERENCENo
mirrorModeMIRROR_MODE_TYPENo
advanceOptionsAdvanceOptionsNo
codecTypeVIDEO_CODEC_TYPENo
VideoFrame 0 method / 6 Property
PropertyTyperead-only
typeunknownNo
bufferunknownNo
TextureBufferunknownNo
rotationunknownNo
timestampNsunknownNo
colorSpaceunknownNo
VideoLayout 0 method / 8 Property
PropertyTyperead-only
channelIdStringNo
uidintNo
strUidStringNo
videoStateintNo
xintNo
yintNo
widthintNo
heightintNo
VideoLayoutInfo 0 method / 4 Property
PropertyTyperead-only
widthintNo
heightintNo
layoutCountintNo
layoutListVideoLayout[]No
VideoRenderingTracingInfo 0 method / 7 Property
PropertyTyperead-only
elapsedTimeintNo
start2JoinChannelintNo
join2JoinSuccessintNo
joinSuccess2RemoteJoinedintNo
remoteJoined2SetViewintNo
remoteJoined2UnmuteVideointNo
remoteJoined2PacketReceivedintNo
VideoSubscriptionOptions 0 method / 2 Property
PropertyTyperead-only
streamTypeREMOTE_VIDEO_STREAM_TYPENo
encodedFrameOnlyBooleanNo
VirtualBackgroundSource 0 method / 4 Property
PropertyTyperead-only
backgroundSourceTypeintNo
colorintNo
sourceStringNo
blurDegreeintNo
WatermarkBuffer 5 method / 8 Property
typescript
getBuffer(): ByteBuffer
getFormat(): int
getHeight(): int
getId(): String
getWidth(): int

Method detail: 5 / 5 (parameters, returns, errors)

MethodParametersReturnsErrors
getBuffer—ByteBufferError code index
getFormat—intError code index
getHeight—intError code index
getId—StringError code index
getWidth—intError code index
PropertyTyperead-only
WATERMARK_BUFFER_FORMAT_I420intNo
WATERMARK_BUFFER_FORMAT_BGRAintNo
WATERMARK_BUFFER_FORMAT_NV21intNo
WATERMARK_BUFFER_FORMAT_RGBAintNo
bufferByteBufferNo
widthintNo
heightintNo
formatintNo
WatermarkConfig 3 method / 7 Property
typescript
getImageUrl(): String
getOptions(): WatermarkOptions
getType(): int

Method detail: 3 / 3 (parameters, returns, errors)

MethodParametersReturnsErrors
getImageUrl—StringError code index
getOptions—WatermarkOptionsError code index
getType—intError code index
PropertyTyperead-only
WATERMARK_TYPE_IMAGEintNo
WATERMARK_TYPE_BUFFERintNo
idStringNo
typeintNo
bufferWatermarkBufferNo
imageUrlStringNo
optionsWatermarkOptionsNo
WatermarkOptions 4 method / 4 Property
typescript
getPositionInLandscapeMode(): int[]
getPositionInPortraitMode(): int[]
getzOrder(): int
isVisibleInPreview(): boolean

Method detail: 4 / 4 (parameters, returns, errors)

MethodParametersReturnsErrors
getPositionInLandscapeMode—int[]Error code index
getPositionInPortraitMode—int[]Error code index
getzOrder—intError code index
isVisibleInPreview—booleanError code index
PropertyTyperead-only
visibleInPreviewbooleanNo
positionInLandscapeModeRectangleNo
positionInPortraitModeRectangleNo
zOrderintNo

Enums

EnumsMember countExample value
AbrFallbackLayer9DISABLED = 0
AbrSubscriptionLayer8HIGH = 0
AUDIO_EQUALIZATION_BAND_FREQUENCY10AUDIO_EQUALIZATION_BAND_31 = 0
AUDIO_REVERB_TYPE5AUDIO_REVERB_DRY_LEVEL = 0
AudioCodecProfileType3LC_AAC = 0
AudioDualMonoMode4AUDIO_DUAL_MONO_STEREO = 0
AudioMixingDualMonoMode4AUDIO_MIXING_DUAL_MONO_AUTO = 0
AudioProcessingChannelsEnum2AGORA_AUDIO_MONO_PROCESSING = 1
AudioProfile5SPEECH_STANDARD = 1
AudioSampleRateType3TYPE_32000 = 32000
AudioSourceType8AUDIO_SOURCE_MICROPHONE = 0
AudioTrackType2AUDIO_TRACK_MIXABLE = 0
CAMERA_DIRECTION3CAMERA_REAR = 0
CAMERA_FOCAL_LENGTH_TYPE4CAMERA_FOCAL_LENGTH_DEFAULT = 0
COMPRESSION_PREFERENCE3PREFER_COMPRESSION_AUTO = -1
DEGRADATION_PREFERENCE6MAINTAIN_AUTO = -1
ENCODING_PREFERENCE3PREFER_AUTO = -1
EncryptionMode9AES_128_XTS = 1
ErrorCode6OK = 0
ExternalVideoSourceType2VIDEO_FRAME = 0
FRAME_RATE7FRAME_RATE_FPS_1 = 1
LogLevel5LOG_LEVEL_NONE = 0
MEDIA_TRACE_EVENT2MEDIA_TRACE_EVENT_VIDEO_RENDERED = 0
MediaPlayerEvent18PLAYER_EVENT_UNKNOWN = -1
MediaPlayerMetadataType2PLAYER_METADATA_TYPE_UNKNOWN = 0
MediaPlayerPreloadEvent3PLAYER_PRELOAD_EVENT_BEGIN = 0
MediaPlayerReason18PLAYER_REASON_NONE = 0
MediaPlayerState10PLAYER_STATE_UNKNOWN = -1
MediaSourceType15AUDIO_PLAYOUT_SOURCE = 0
MediaStreamType4STREAM_TYPE_UNKNOWN = 0
MultipathMode1MULTIPATH_MODE_DUPLICATE = 0
MultipathType4MULTIPATH_TYPE_LAN = 0
MusicPlayMode3MUSIC_PLAY_MODE_ORIGINAL = 0
ORIENTATION_MODE3ORIENTATION_MODE_ADAPTIVE = 0
PlayerEvent21SEEK_BEGIN = 0
PlayerState8IDLE = 0
RenewTokenErrorCode7RENEW_TOKEN_SUCCESS = 0
ScreenScenarioType3SCREEN_SCENARIO_DOCUMENT = 1
SimulcastStreamMode3AUTO_SIMULCAST_STREAM = -1
StreamFallbackOptions9STREAM_FALLBACK_OPTION_DISABLED = 0
VIDEO_CODEC_TYPE7VIDEO_CODEC_NONE = 0
VIDEO_EFFECT_ACTION2SAVE = 1
VIDEO_EFFECT_NODE_ID4BEAUTY = 1
VideoCodecProfileType3BASELINE = 66
VideoCodecType2H264 = 1
VideoMirrorMode3AUTO = 0
VideoModulePosition4VIDEO_MODULE_POSITION_POST_CAPTURER = 1
VideoRenderMode2HIDDEN = 0
VideoScenario4APPLICATION_SCENARIO_GENERAL = 0
VideoSourceType15VIDEO_SOURCE_CAMERA_PRIMARY = 0
VideoStreamType8VIDEO_STREAM_HIGH = 0
VOICE_AI_TUNER_TYPE10VOICE_AI_TUNER_MATURE_MALE = 0
AbrFallbackLayer 9 members
Membervalue
DISABLED0
LOW1
AUDIO_ONLY2
LAYER13
LAYER24
LAYER35
LAYER46
LAYER57
LAYER68
AbrSubscriptionLayer 8 members
Membervalue
HIGH0
LOW1
LAYER12
LAYER23
LAYER34
LAYER45
LAYER56
LAYER67
AUDIO_EQUALIZATION_BAND_FREQUENCY 10 members
Membervalue
AUDIO_EQUALIZATION_BAND_310
AUDIO_EQUALIZATION_BAND_621
AUDIO_EQUALIZATION_BAND_1252
AUDIO_EQUALIZATION_BAND_2503
AUDIO_EQUALIZATION_BAND_5004
AUDIO_EQUALIZATION_BAND_1K5
AUDIO_EQUALIZATION_BAND_2K6
AUDIO_EQUALIZATION_BAND_4K7
AUDIO_EQUALIZATION_BAND_8K8
AUDIO_EQUALIZATION_BAND_16K9
AUDIO_REVERB_TYPE 5 members
Membervalue
AUDIO_REVERB_DRY_LEVEL0
AUDIO_REVERB_WET_LEVEL1
AUDIO_REVERB_ROOM_SIZE2
AUDIO_REVERB_WET_DELAY3
AUDIO_REVERB_STRENGTH4
AudioCodecProfileType 3 members
Membervalue
LC_AAC0
HE_AAC1
HE_AAC_V22
AudioDualMonoMode 4 members
Membervalue
AUDIO_DUAL_MONO_STEREO0
AUDIO_DUAL_MONO_L1
AUDIO_DUAL_MONO_R2
AUDIO_DUAL_MONO_MIX3
AudioMixingDualMonoMode 4 members
Membervalue
AUDIO_MIXING_DUAL_MONO_AUTO0
AUDIO_MIXING_DUAL_MONO_L1
AUDIO_MIXING_DUAL_MONO_R2
AUDIO_MIXING_DUAL_MONO_MIX3
AudioProcessingChannelsEnum 2 members
Membervalue
AGORA_AUDIO_MONO_PROCESSING1
AGORA_AUDIO_STEREO_PROCESSING2
AudioProfile 5 members
Membervalue
SPEECH_STANDARD1
MUSIC_STANDARD2
MUSIC_STANDARD_STEREO3
MUSIC_HIGH_QUALITY4
MUSIC_HIGH_QUALITY_STEREO5
AudioSampleRateType 3 members
Membervalue
TYPE_3200032000
TYPE_4410044100
TYPE_4800048000
AudioSourceType 8 members
Membervalue
AUDIO_SOURCE_MICROPHONE0
AUDIO_SOURCE_CUSTOM1
AUDIO_SOURCE_MEDIA_PLAYER2
AUDIO_SOURCE_LOOPBACK_RECORDING3
AUDIO_SOURCE_MIXED_STREAM4
AUDIO_SOURCE_REMOTE_USER5
AUDIO_SOURCE_REMOTE_CHANNEL6
AUDIO_SOURCE_UNKNOWN100
AudioTrackType 2 members
Membervalue
AUDIO_TRACK_MIXABLE0
AUDIO_TRACK_DIRECT1
CAMERA_DIRECTION 3 members
Membervalue
CAMERA_REAR0
CAMERA_FRONT1
CAMERA_EXTRAL2
CAMERA_FOCAL_LENGTH_TYPE 4 members
Membervalue
CAMERA_FOCAL_LENGTH_DEFAULT0
CAMERA_FOCAL_LENGTH_WIDE_ANGLE1
CAMERA_FOCAL_LENGTH_ULTRA_WIDE2
CAMERA_FOCAL_LENGTH_TELEPHOTO3
COMPRESSION_PREFERENCE 3 members
Membervalue
PREFER_COMPRESSION_AUTO-1
PREFER_LOW_LATENCY0
PREFER_QUALITY1
DEGRADATION_PREFERENCE 6 members
Membervalue
MAINTAIN_AUTO-1
MAINTAIN_QUALITY0
MAINTAIN_FRAMERATE1
MAINTAIN_BALANCED2
MAINTAIN_RESOLUTION3
DISABLED100
ENCODING_PREFERENCE 3 members
Membervalue
PREFER_AUTO-1
PREFER_SOFTWARE0
PREFER_HARDWARE1
EncryptionMode 9 members
Membervalue
AES_128_XTS1
AES_128_ECB2
AES_256_XTS3
SM4_128_ECB4
AES_128_GCM5
AES_256_GCM6
AES_128_GCM27
AES_256_GCM28
MODE_END9
ErrorCode 6 members
Membervalue
OK0
INVALID_ARGUMENT2
INVALID_OPERATION3
NETWORK_ERROR4
AUTHENTICATION_FAILED5
STREAM_NOT_FOUND6
ExternalVideoSourceType 2 members
Membervalue
VIDEO_FRAME0
ENCODED_VIDEO_FRAME1
FRAME_RATE 7 members
Membervalue
FRAME_RATE_FPS_11
FRAME_RATE_FPS_77
FRAME_RATE_FPS_1010
FRAME_RATE_FPS_1515
FRAME_RATE_FPS_2424
FRAME_RATE_FPS_3030
FRAME_RATE_FPS_6060
LogLevel 5 members
Membervalue
LOG_LEVEL_NONE0
LOG_LEVEL_INFO1
LOG_LEVEL_WARN2
LOG_LEVEL_ERROR4
LOG_LEVEL_FATAL8
MEDIA_TRACE_EVENT 2 members
Membervalue
MEDIA_TRACE_EVENT_VIDEO_RENDERED0
MEDIA_TRACE_EVENT_VIDEO_DECODED1
MediaPlayerEvent 18 members
Membervalue
PLAYER_EVENT_UNKNOWN-1
PLAYER_EVENT_SEEK_BEGIN0
PLAYER_EVENT_SEEK_COMPLETE1
PLAYER_EVENT_SEEK_ERROR2
PLAYER_EVENT_AUDIO_TRACK_CHANGED5
PLAYER_EVENT_BUFFER_LOW6
PLAYER_EVENT_BUFFER_RECOVER7
PLAYER_EVENT_FREEZE_START8
PLAYER_EVENT_FREEZE_STOP9
PLAYER_EVENT_SWITCH_BEGIN10
PLAYER_EVENT_SWITCH_COMPLETE11
PLAYER_EVENT_SWITCH_ERROR12
PLAYER_EVENT_FIRST_DISPLAYED13
PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT14
PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE15
PLAYER_EVENT_TRY_OPEN_START16
PLAYER_EVENT_TRY_OPEN_SUCCEED17
PLAYER_EVENT_TRY_OPEN_FAILED18
MediaPlayerMetadataType 2 members
Membervalue
PLAYER_METADATA_TYPE_UNKNOWN0
PLAYER_METADATA_TYPE_SEI1
MediaPlayerPreloadEvent 3 members
Membervalue
PLAYER_PRELOAD_EVENT_BEGIN0
PLAYER_PRELOAD_EVENT_COMPLETE1
PLAYER_PRELOAD_EVENT_ERROR2
MediaPlayerReason 18 members
Membervalue
PLAYER_REASON_NONE0
PLAYER_REASON_INVALID_ARGUMENTS-1
PLAYER_REASON_INTERNAL-2
PLAYER_REASON_NO_RESOURCE-3
PLAYER_REASON_INVALID_MEDIA_SOURCE-4
PLAYER_REASON_UNKNOWN_STREAM_TYPE-5
PLAYER_REASON_OBJ_NOT_INITIALIZED-6
PLAYER_REASON_CODEC_NOT_SUPPORTED-7
PLAYER_REASON_VIDEO_RENDER_FAILED-8
PLAYER_REASON_INVALID_STATE-9
PLAYER_REASON_URL_NOT_FOUND-10
PLAYER_REASON_INVALID_CONNECTION_STATE-11
PLAY_REASON_SRC_BUFFER_UNDERFLOW-12
PLAYER_REASON_INTERRUPTED-13
PLAYER_REASON_NOT_SUPPORTED-14
PLAYER_REASON_TOKEN_EXPIRED-15
PLAYER_REASON_IP_EXPIRED-16
PLAYER_REASON_UNKNOWN-17
MediaPlayerState 10 members
Membervalue
PLAYER_STATE_UNKNOWN-1
PLAYER_STATE_IDLE0
PLAYER_STATE_OPENING1
PLAYER_STATE_OPEN_COMPLETED2
PLAYER_STATE_PLAYING3
PLAYER_STATE_PAUSED4
PLAYER_STATE_PLAYBACK_COMPLETED5
PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED6
PLAYER_STATE_STOPPED7
PLAYER_STATE_FAILED100
MediaSourceType 15 members
Membervalue
AUDIO_PLAYOUT_SOURCE0
AUDIO_RECORDING_SOURCE1
PRIMARY_CAMERA_SOURCE2
SECONDARY_CAMERA_SOURCE3
PRIMARY_SCREEN_SOURCE4
SECONDARY_SCREEN_SOURCE5
CUSTOM_VIDEO_SOURCE6
MEDIA_PLAYER_SOURCE7
RTC_IMAGE_PNG_SOURCE8
RTC_IMAGE_JPEG_SOURCE9
RTC_IMAGE_GIF_SOURCE10
REMOTE_VIDEO_SOURCE11
TRANSCODED_VIDEO_SOURCE12
SPEECH_DRIVEN_VIDEO_SOURCE13
UNKNOWN_MEDIA_SOURCE100
MediaStreamType 4 members
Membervalue
STREAM_TYPE_UNKNOWN0
STREAM_TYPE_VIDEO1
STREAM_TYPE_AUDIO2
STREAM_TYPE_SUBTITLE3
MultipathMode 1 members
Membervalue
MULTIPATH_MODE_DUPLICATE0
MultipathType 4 members
Membervalue
MULTIPATH_TYPE_LAN0
MULTIPATH_TYPE_WIFI1
MULTIPATH_TYPE_MOBILE2
MULTIPATH_TYPE_UNKNOWN99
MusicPlayMode 3 members
Membervalue
MUSIC_PLAY_MODE_ORIGINAL0
MUSIC_PLAY_MODE_ACCOMPANY1
MUSIC_PLAY_MODE_LEAD_SING2
ORIENTATION_MODE 3 members
Membervalue
ORIENTATION_MODE_ADAPTIVE0
ORIENTATION_MODE_FIXED_LANDSCAPE1
ORIENTATION_MODE_FIXED_PORTRAIT2
PlayerEvent 21 members
Membervalue
SEEK_BEGIN0
SEEK_COMPLETE1
SEEK_ERROR2
BUFFER_LOW3
BUFFER_RECOVER4
FREEZE_START5
FREEZE_STOP6
ONE_LOOP_PLAYBACK_COMPLETED7
AUTHENTICATION_WILL_EXPIRE8
ABR_FALLBACK_TO_AUDIO_ONLY_LAYER9
ABR_RECOVER_FROM_AUDIO_ONLY_LAYER10
SWITCH_BEGIN11
SWITCH_COMPLETE12
SWITCH_ERROR13
FIRST_DISPLAYED14
REACH_CACHE_FILE_MAX_COUNT15
REACH_CACHE_FILE_MAX_SIZE16
TRY_OPEN_START17
TRY_OPEN_SUCCEED18
TRY_OPEN_FAILED19
AUDIO_TRACK_CHANGED20
PlayerState 8 members
Membervalue
IDLE0
OPENING1
OPEN_COMPLETED2
PLAYING3
PAUSED4
PLAYBACK_COMPLETED5
STOPPED6
FAILED7
RenewTokenErrorCode 7 members
Membervalue
RENEW_TOKEN_SUCCESS0
RENEW_TOKEN_FAILURE1
RENEW_TOKEN_TOKEN_EXPIRED2
RENEW_TOKEN_INVALID_TOKEN3
RENEW_TOKEN_INVALID_CHANNEL_NAME4
RENEW_TOKEN_INCONSISTENT_APPID5
RENEW_TOKEN_CANCELED_BY_NEW_REQUEST6
ScreenScenarioType 3 members
Membervalue
SCREEN_SCENARIO_DOCUMENT1
SCREEN_SCENARIO_GAMING2
SCREEN_SCENARIO_VIDEO3
SimulcastStreamMode 3 members
Membervalue
AUTO_SIMULCAST_STREAM-1
DISABLE_SIMULCAST_STREAM0
ENABLE_SIMULCAST_STREAM1
StreamFallbackOptions 9 members
Membervalue
STREAM_FALLBACK_OPTION_DISABLED0
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW1
STREAM_FALLBACK_OPTION_AUDIO_ONLY2
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LAYER_13
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LAYER_24
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LAYER_35
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LAYER_46
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LAYER_57
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LAYER_68
VIDEO_CODEC_TYPE 7 members
Membervalue
VIDEO_CODEC_NONE0
VIDEO_CODEC_VP81
VIDEO_CODEC_H2642
VIDEO_CODEC_H2653
VIDEO_CODEC_GENERIC6
VIDEO_CODEC_VP913
VIDEO_CODEC_GENERIC_JPEG20
VIDEO_EFFECT_ACTION 2 members
Membervalue
SAVE1
RESET2
VIDEO_EFFECT_NODE_ID 4 members
Membervalue
BEAUTY1
STYLE_MAKEUP2
FILTER4
STICKER8
VideoCodecProfileType 3 members
Membervalue
BASELINE66
MAIN77
HIGH100
VideoCodecType 2 members
Membervalue
H2641
H2652
VideoMirrorMode 3 members
Membervalue
AUTO0
ENABLED1
DISABLED2
VideoModulePosition 4 members
Membervalue
VIDEO_MODULE_POSITION_POST_CAPTURER1
VIDEO_MODULE_POSITION_PRE_RENDERER2
VIDEO_MODULE_POSITION_PRE_ENCODER4
VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN8
VideoRenderMode 2 members
Membervalue
HIDDEN0
FIT1
VideoScenario 4 members
Membervalue
APPLICATION_SCENARIO_GENERAL0
APPLICATION_SCENARIO_MEETINGnull
APPLICATION_SCENARIO_1V12
APPLICATION_SCENARIO_LIVESHOW3
VideoSourceType 15 members
Membervalue
VIDEO_SOURCE_CAMERA_PRIMARY0
VIDEO_SOURCE_CAMERA_SECONDARY1
VIDEO_SOURCE_SCREEN_PRIMARY2
VIDEO_SOURCE_SCREEN_SECONDARY3
VIDEO_SOURCE_CUSTOM4
VIDEO_SOURCE_MEDIA_PLAYER5
VIDEO_SOURCE_RTC_IMAGE_PNG6
VIDEO_SOURCE_RTC_IMAGE_JPEG7
VIDEO_SOURCE_RTC_IMAGE_GIF8
VIDEO_SOURCE_REMOTE9
VIDEO_SOURCE_TRANSCODED10
VIDEO_SOURCE_CAMERA_THIRD11
VIDEO_SOURCE_CAMERA_FOURTH12
VIDEO_SOURCE_SPEECH_DRIVEN15
VIDEO_SOURCE_UNKNOWN100
VideoStreamType 8 members
Membervalue
VIDEO_STREAM_HIGH0
VIDEO_STREAM_LOW1
VIDEO_STREAM_LAYER_14
VIDEO_STREAM_LAYER_25
VIDEO_STREAM_LAYER_36
VIDEO_STREAM_LAYER_47
VIDEO_STREAM_LAYER_58
VIDEO_STREAM_LAYER_69
VOICE_AI_TUNER_TYPE 10 members
Membervalue
VOICE_AI_TUNER_MATURE_MALE0
VOICE_AI_TUNER_FRESH_MALE1
VOICE_AI_TUNER_ELEGANT_FEMALE2
VOICE_AI_TUNER_SWEET_FEMALE3
VOICE_AI_TUNER_WARM_MALE_SINGING4
VOICE_AI_TUNER_GENTLE_FEMALE_SINGING5
VOICE_AI_TUNER_HUSKY_MALE_SINGING6
VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING7
VOICE_AI_TUNER_POWERFUL_MALE_SINGING8
VOICE_AI_TUNER_DREAMY_FEMALE_SINGING9

error-code constants

Constantvalue
AUTHENTICATION_FAILED5
INVALID_ARGUMENT2
INVALID_OPERATION3
NETWORK_ERROR4
OK0
STREAM_NOT_FOUND6

Known limitations

The following members are not available in the current version and return -4 (ERR_NOT_SUPPORTED). They remain in the interface definition so cross-platform code stays consistent.

InterfaceMember
CanvasCanvas
CanvasaddView
CanvasgetConfigs
CanvasremoveView
CanvassetConfigs
CanvasConfiggetVideoMirrorMode
CanvasConfiggetVideoRenderMode
CanvasConfigsetVideoMirrorMode
CanvasConfigsetVideoRenderMode
ChannelMediaRelayConfigurationremoveDestChannelInfo
ChannelMediaRelayConfigurationsetDestChannelInfo
ChannelMediaRelayConfigurationsetSrcChannelInfo
ConfiggetAppId
ConfiggetJsonParameter
ConfigsetAppId
ConfigsetJsonParameter
Errorcode
Errormessage
IAgoraMusicContentCentercreateMusicPlayer
IAgoraMusicContentCenterdestroy
IAgoraMusicContentCenterdestroyMusicPlayer
IAgoraMusicContentCentergetCaches
IAgoraMusicContentCentergetInternalSongCode
IAgoraMusicContentCentergetLyric
IAgoraMusicContentCentergetMusicCharts
IAgoraMusicContentCentergetMusicCollectionByMusicChartId
IAgoraMusicContentCentergetSongSimpleInfo
IAgoraMusicContentCenterinitialize
IAgoraMusicContentCenterisPreloaded
IAgoraMusicContentCenterpreload
IAgoraMusicContentCenterregisterEventHandler
IAgoraMusicContentCenterremoveCache
IAgoraMusicContentCenterrenewToken
IAgoraMusicContentCentersearchMusic
IAgoraMusicContentCenterunregisterEventHandler
IAgoraMusicPlayerdestroy
IAgoraMusicPlayergetPlaySrc
IAgoraMusicPlayeropen
IAgoraMusicPlayersetPlayMode
IAgoraMusicPlayerstop
IAudioFrameObservergetEarMonitoringAudioParams
IAudioFrameObservergetMixedAudioParams
IAudioFrameObservergetObservedAudioFramePosition
IAudioFrameObservergetPlaybackAudioParams
IAudioFrameObservergetRecordAudioParams
IAudioFrameObserveronEarMonitoringAudioFrame
IAudioFrameObserveronMixedAudioFrame
IAudioFrameObserveronPlaybackAudioFrame
IAudioFrameObserveronPlaybackAudioFrameBeforeMixing
IAudioFrameObserveronRecordAudioFrame
IAudioSpectrumObserveronLocalAudioSpectrum
IAudioSpectrumObserveronRemoteAudioSpectrum
IBaseSpatialAudioEngineclearRemotePositions
IBaseSpatialAudioEnginemuteAllRemoteAudioStreams
IBaseSpatialAudioEnginemuteLocalAudioStream
IBaseSpatialAudioEnginemuteRemoteAudioStream
IBaseSpatialAudioEnginesetAudioRecvRange
IBaseSpatialAudioEnginesetDistanceUnit
IBaseSpatialAudioEnginesetMaxAudioRecvCount
IBaseSpatialAudioEnginesetPlayerAttenuation
IBaseSpatialAudioEnginesetZones
IBaseSpatialAudioEngineupdatePlayerPositionInfo
IBaseSpatialAudioEngineupdateSelfPosition
ILocalSpatialAudioEnginecreate
ILocalSpatialAudioEnginedestroy
ILocalSpatialAudioEngineinitialize
ILocalSpatialAudioEngineremoveRemotePosition
ILocalSpatialAudioEnginesetRemoteAudioAttenuation
ILocalSpatialAudioEngineupdateRemotePosition
IMediaPlayerregisterAudioFrameObserver
IMediaPlayerregisterVideoFrameObserver
IMediaPlayerCustomDataProvideronReadData
IMediaPlayerCustomDataProvideronSeek
IMetadataObservergetMaxMetadataSize
IMetadataObserveronReadyToSendMetadata
IVideoEffectObjectaddOrUpdateVideoEffect
IVideoEffectObjectgetVideoEffectBoolParam
IVideoEffectObjectgetVideoEffectFloatParam
IVideoEffectObjectgetVideoEffectIntParam
IVideoEffectObjectperformVideoEffectAction
IVideoEffectObjectremoveVideoEffect
IVideoEffectObjectsetVideoEffectBoolParam
IVideoEffectObjectsetVideoEffectFloatParam
IVideoEffectObjectsetVideoEffectIntParam
IVideoEffectObjectsetVideoEffectStringParam
IVideoEncodedFrameObserveronEncodedVideoFrameReceived
IVideoFrameObservergetMirrorApplied
IVideoFrameObservergetObservedFramePosition
IVideoFrameObservergetRotationApplied
IVideoFrameObservergetVideoFormatPreference
IVideoFrameObservergetVideoFrameProcessMode
IVideoFrameObserveronCaptureVideoFrame
IVideoFrameObserveronPreEncodeVideoFrame
IVideoFrameObserveronRenderVideoFrame
LiveTranscodingaddBackgroundImage
LiveTranscodingaddUser
LiveTranscodingaddWatermark
LiveTranscodinggetAdvancedFeatures
LiveTranscodinggetBackgroundColor
LiveTranscodinggetBackgroundImageList
LiveTranscodinggetBlue
LiveTranscodinggetGreen
LiveTranscodinggetRed
LiveTranscodinggetUserCount
LiveTranscodinggetUsers
LiveTranscodinggetWatermarkList
LiveTranscodingremoveBackgroundImage
LiveTranscodingremoveUser
LiveTranscodingremoveWatermark
LiveTranscodingsetAdvancedFeatures
LiveTranscodingsetBackgroundColor
LiveTranscodingsetBlue
LiveTranscodingsetGreen
LiveTranscodingsetRed
LiveTranscodingsetUsers
PlayerPlayer
PlayergetConfigs
PlayergetInfo
PlayergetPosition
PlayergetStats
PlayermuteAudio
PlayermuteVideo
PlayeropenWithUrl
Playerpause
Playerplay
PlayerpreloadWithUrl
PlayerregisterObserver
Playerseek
PlayersetCanvas
PlayersetConfigs
Playerstop
PlayerswitchWithUrl
PlayerunregisterObserver
PlayerConfiggetAbrFallbackLayer
PlayerConfiggetAbrSubscriptionLayer
PlayerConfiggetAutoPlay
PlayerConfiggetLoopCount
PlayerConfiggetPlaybackSpeed
PlayerConfiggetPlayoutVolume
PlayerConfigsetAbrFallbackLayer
PlayerConfigsetAbrSubscriptionLayer
PlayerConfigsetAutoPlay
PlayerConfigsetLoopCount
PlayerConfigsetPlaybackSpeed
PlayerConfigsetPlayoutVolume
PlayerInfoabrSubscriptionLayer
PlayerInfoaudioBitsPerSample
PlayerInfoaudioChannels
PlayerInfoaudioSampleRate
PlayerInfocurrentUrl
PlayerInfoduration
PlayerInfohasAudio
PlayerInfohasVideo
PlayerInfoisAudioMuted
PlayerInfoisVideoMuted
PlayerInfostate
PlayerInfostreamCount
PlayerInfovideoHeight
PlayerInfovideoWidth
RtcEngineaddExtension
RtcEngineadjustCustomAudioPlayoutVolume
RtcEngineadjustCustomAudioPublishVolume
RtcEnginecreateCustomAudioTrack
RtcEnginecreateCustomVideoTrack
RtcEnginecreateVideoEffectObject
RtcEnginedestroyCustomAudioTrack
RtcEnginedestroyCustomVideoTrack
RtcEnginedestroyVideoEffectObject
RtcEngineenableContentInspect
RtcEngineenableCustomAudioLocalPlayback
RtcEngineenableExtension
RtcEngineenableSpatialAudio
RtcEnginegetAudioEffectManager
RtcEnginegetExtensionProperty
RtcEnginegetNativeHandle
RtcEngineisTextureEncodeSupported
RtcEnginepauseAllChannelMediaRelay
RtcEnginepullPlaybackAudioFrame
RtcEnginepushExternalAudioFrame
RtcEnginepushExternalVideoFrame
RtcEnginepushExternalVideoFrameById
RtcEngineregisterAudioEncodedFrameObserver
RtcEngineregisterAudioFrameObserver
RtcEngineregisterAudioSpectrumObserver
RtcEngineregisterExtension
RtcEngineregisterMediaMetadataObserver
RtcEngineregisterVideoEncodedFrameObserver
RtcEngineregisterVideoFrameObserver
RtcEngineresumeAllChannelMediaRelay
RtcEnginesetEarMonitoringAudioFrameParameters
RtcEnginesetExtensionProperty
RtcEnginesetExtensionProviderProperty
RtcEnginesetExternalAudioSink
RtcEnginesetExternalAudioSource
RtcEnginesetExternalMediaProjection
RtcEnginesetExternalRemoteEglContext
RtcEnginesetExternalVideoSource
RtcEnginesetLocalAccessPoint
RtcEnginesetMixedAudioFrameParameters
RtcEnginesetPlaybackAudioFrameBeforeMixingParameters
RtcEnginesetPlaybackAudioFrameParameters
RtcEnginesetRecordingAudioFrameParameters
RtcEnginestartEchoTest
RtcEnginestartLastmileProbeTest
RtcEnginestartOrUpdateChannelMediaRelay
RtcEnginestartPlaybackDeviceTest
RtcEnginestartRecordingDeviceTest
RtcEnginestartRtmpStreamWithTranscoding
RtcEnginestartRtmpStreamWithoutTranscoding
RtcEnginestopChannelMediaRelay
RtcEnginestopEchoTest
RtcEnginestopLastmileProbeTest
RtcEnginestopPlaybackDeviceTest
RtcEnginestopRecordingDeviceTest
RtcEnginestopRtmpStream
RtcEnginetakeSnapshot
RtcEngineunRegisterAudioSpectrumObserver
RtcEngineunregisterMediaMetadataObserver
RtcEngineupdateRtmpTranscoding
RtcEngineExenableContentInspectEx
RtcEngineExpauseAllChannelMediaRelayEx
RtcEngineExresumeAllChannelMediaRelayEx
RtcEngineExstartOrUpdateChannelMediaRelayEx
RtcEngineExstartRtmpStreamWithTranscodingEx
RtcEngineExstartRtmpStreamWithoutTranscodingEx
RtcEngineExstopChannelMediaRelayEx
RtcEngineExstopRtmpStreamEx
RtcEngineExtakeSnapshotEx
RtcEngineExupdateRtmpTranscodingEx
RteRte
Rtedestroy
RtegetConfigs
RtegetFromBridge
RteinitMediaEngine
RtesetConfigs
RteExceptionerrorCode
WatermarkBuffergetBuffer
WatermarkBuffergetFormat
WatermarkBuffergetHeight
WatermarkBuffergetId
WatermarkBuffergetWidth
WatermarkConfiggetImageUrl
WatermarkConfiggetOptions
WatermarkConfiggetType
WatermarkOptionsgetPositionInLandscapeMode
WatermarkOptionsgetPositionInPortraitMode
WatermarkOptionsgetzOrder
WatermarkOptionsisVisibleInPreview

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.