Flutter SDK API Reference
Complete Flutter public surface generated from the public SDK interface definition: classes, interfaces, enums, events, error identifiers and capability scope.
Interface overview
This page lists the public API of Flutter: classes, methods, overloads, properties, events and error codes. The interface definition matches the SDK package version.
| Checklist item | Count |
|---|---|
| Interface / class | 150 |
| Method | 618 |
| Method overloads | 618 |
| Property | 666 |
| Enums | 150 |
| error-code constants | 48 |
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”.
| Step | Interface | Method | Overload count |
|---|---|---|---|
| subscribe to remote media | BaseSpatialAudioEngine | muteRemoteAudioStream | 1 |
| Create / initialize | LocalSpatialAudioEngine | initialize | 1 |
| Renew the Token | MusicContentCenter | renewToken | 1 |
| enable video and preview | RtcEngine | enableVideo | 1 |
| Join a channel | RtcEngine | joinChannel | 1 |
| Leave a channel | RtcEngine | leaveChannel | 1 |
| Channel scenarios | RtcEngine | setChannelProfile | 1 |
| role switching | RtcEngine | setClientRole | 1 |
| local video | RtcEngine | setupLocalVideo | 1 |
parameters for the minimal runnable flow
| Parameters | Type | Optional | Variadic parameters |
|---|---|---|---|
mute | int uid,required bool | No | No |
token | String | No | No |
options | String token,required String channelId,required int uid,required ChannelMediaOptions | No | No |
options | LeaveChannelOptions? | is | No |
profile | ChannelProfileType | No | No |
options | ClientRoleType role,ClientRoleOptions? | is | No |
canvas | VideoCanvas | No | No |
Endpoint index
all endpoints
AdvancedAudioOptions 0 method / 1 Property
| Property | Type | read-only |
|---|---|---|
audioProcessingChannels | AudioProcessingChannels? | No |
AdvancedConfigInfo 0 method / 1 Property
| Property | Type | read-only |
|---|---|---|
logUploadServer | LogUploadServerInfo? | No |
AdvanceOptions 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
encodingPreference | EncodingPreference? | No |
compressionPreference | CompressionPreference? | No |
encodeAlpha | bool? | No |
AgoraPipContentViewLayout 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
padding | int? | No |
spacing | int? | No |
row | int? | No |
column | int? | No |
AgoraPipController 10 method / 0 Property
dispose(): Future
isPipActivated(): Future
pipDispose(): Future
pipIsAutoEnterSupported(): Future
pipIsSupported(): Future
pipSetup(options: AgoraPipOptions): Future
pipStart(): Future
pipStop(): Future
registerPipStateChangedObserver(observer: AgoraPipStateChangedObserver): Future
unregisterPipStateChangedObserver(): FutureMethod detail: 10 / 10 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
dispose | — | Future | Error code index |
isPipActivated | — | Future | Error code index |
pipDispose | — | Future | Error code index |
pipIsAutoEnterSupported | — | Future | Error code index |
pipIsSupported | — | Future | Error code index |
pipSetup | options: AgoraPipOptions | Future | Error code index |
pipStart | — | Future | Error code index |
pipStop | — | Future | Error code index |
registerPipStateChangedObserver | observer: AgoraPipStateChangedObserver | Future | Error code index |
unregisterPipStateChangedObserver | — | Future | Error code index |
AgoraPipOptions 0 method / 17 Property
| Property | Type | read-only |
|---|---|---|
autoEnterEnabled | bool? | No |
aspectRatioX | int? | No |
aspectRatioY | int? | No |
sourceRectHintLeft | int? | No |
sourceRectHintTop | int? | No |
sourceRectHintRight | int? | No |
sourceRectHintBottom | int? | No |
seamlessResizeEnabled | bool? | No |
useExternalStateMonitor | bool? | No |
externalStateMonitorInterval | int? | No |
sourceContentView | int? | No |
contentView | int? | No |
videoStreams | List ? | No |
contentViewLayout | AgoraPipContentViewLayout? | No |
preferredContentWidth | int? | No |
preferredContentHeight | int? | No |
controlStyle | int? | No |
AgoraPipStateChangedObserver 1 method / 0 Property
onPipStateChanged(state: AgoraPipState, error?: String?): voidMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onPipStateChanged | state: AgoraPipState, error?: String? | void | Error code index |
AgoraPipVideoStream 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
connection | RtcConnection | No |
canvas | VideoCanvas | No |
AgoraRhythmPlayerConfig 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
beatsPerMeasure | int? | No |
beatsPerMinute | int? | No |
AgoraRtcException 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
code | int | No |
message | String? | No |
AgoraVideoView 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
key | unknown | No |
controller | VideoViewControllerBase | No |
AudioDeviceInfo 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
deviceId | String? | No |
deviceName | String? | No |
deviceTypeName | String? | No |
AudioDeviceManager 30 method / 0 Property
enumeratePlaybackDevices(): List
enumerateRecordingDevices(): List
followSystemLoopbackDevice(enable: bool): Future
followSystemPlaybackDevice(enable: bool): Future
followSystemRecordingDevice(enable: bool): Future
getLoopbackDevice(): Future
getPlaybackDefaultDevice(): Future
getPlaybackDevice(): Future
getPlaybackDeviceInfo(): Future
getPlaybackDeviceMute(): Future
getPlaybackDeviceVolume(): Future
getRecordingDefaultDevice(): Future
getRecordingDevice(): Future
getRecordingDeviceInfo(): Future
getRecordingDeviceMute(): Future
getRecordingDeviceVolume(): Future
release(): Future
setLoopbackDevice(deviceId: String): Future
setPlaybackDevice(deviceId: String): Future
setPlaybackDeviceMute(mute: bool): Future
setPlaybackDeviceVolume(volume: int): Future
setRecordingDevice(deviceId: String): Future
setRecordingDeviceMute(mute: bool): Future
setRecordingDeviceVolume(volume: int): Future
startAudioDeviceLoopbackTest(indicationInterval: int): Future
startPlaybackDeviceTest(testAudioFilePath: String): Future
startRecordingDeviceTest(indicationInterval: int): Future
stopAudioDeviceLoopbackTest(): Future
stopPlaybackDeviceTest(): Future
stopRecordingDeviceTest(): FutureMethod detail: 30 / 30 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
enumeratePlaybackDevices | — | List | Error code index |
enumerateRecordingDevices | — | List | Error code index |
followSystemLoopbackDevice | enable: bool | Future | Error code index |
followSystemPlaybackDevice | enable: bool | Future | Error code index |
followSystemRecordingDevice | enable: bool | Future | Error code index |
getLoopbackDevice | — | Future | Error code index |
getPlaybackDefaultDevice | — | Future | Error code index |
getPlaybackDevice | — | Future | Error code index |
getPlaybackDeviceInfo | — | Future | Error code index |
getPlaybackDeviceMute | — | Future | Error code index |
getPlaybackDeviceVolume | — | Future | Error code index |
getRecordingDefaultDevice | — | Future | Error code index |
getRecordingDevice | — | Future | Error code index |
getRecordingDeviceInfo | — | Future | Error code index |
getRecordingDeviceMute | — | Future | Error code index |
getRecordingDeviceVolume | — | Future | Error code index |
release | — | Future | Error code index |
setLoopbackDevice | deviceId: String | Future | Error code index |
setPlaybackDevice | deviceId: String | Future | Error code index |
setPlaybackDeviceMute | mute: bool | Future | Error code index |
setPlaybackDeviceVolume | volume: int | Future | Error code index |
setRecordingDevice | deviceId: String | Future | Error code index |
setRecordingDeviceMute | mute: bool | Future | Error code index |
setRecordingDeviceVolume | volume: int | Future | Error code index |
startAudioDeviceLoopbackTest | indicationInterval: int | Future | Error code index |
startPlaybackDeviceTest | testAudioFilePath: String | Future | Error code index |
startRecordingDeviceTest | indicationInterval: int | Future | Error code index |
stopAudioDeviceLoopbackTest | — | Future | Error code index |
stopPlaybackDeviceTest | — | Future | Error code index |
stopRecordingDeviceTest | — | Future | Error code index |
AudioEncodedFrameObserver 3 method / 0 Property
onMixedAudioEncodedFrame(frameBuffer: Uint8List, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo): void
onPlaybackAudioEncodedFrame(frameBuffer: Uint8List, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo): void
onRecordAudioEncodedFrame(frameBuffer: Uint8List, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo): voidMethod detail: 3 / 3 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onMixedAudioEncodedFrame | frameBuffer: Uint8List, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo | void | Error code index |
onPlaybackAudioEncodedFrame | frameBuffer: Uint8List, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo | void | Error code index |
onRecordAudioEncodedFrame | frameBuffer: Uint8List, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo | void | Error code index |
AudioEncodedFrameObserverConfig 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
postionType | AudioEncodedFrameObserverPosition? | No |
encodingType | AudioEncodingType? | No |
AudioFrame 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
type | unknown | No |
samplesPerChannel | unknown | No |
bytesPerSample | unknown | No |
channels | unknown | No |
samplesPerSec | unknown | No |
buffer | unknown | No |
renderTimeMs | unknown | No |
avsyncType | unknown | No |
AudioFrameObserver 1 method / 0 Property
onPlaybackAudioFrameBeforeMixing(channelId: String, uid: int, audioFrame: AudioFrame): voidMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onPlaybackAudioFrameBeforeMixing | channelId: String, uid: int, audioFrame: AudioFrame | void | Error code index |
AudioFrameObserverBase 4 method / 0 Property
onEarMonitoringAudioFrame(audioFrame: AudioFrame): void
onMixedAudioFrame(channelId: String, audioFrame: AudioFrame): void
onPlaybackAudioFrame(channelId: String, audioFrame: AudioFrame): void
onRecordAudioFrame(channelId: String, audioFrame: AudioFrame): voidMethod detail: 4 / 4 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onEarMonitoringAudioFrame | audioFrame: AudioFrame | void | Error code index |
onMixedAudioFrame | channelId: String, audioFrame: AudioFrame | void | Error code index |
onPlaybackAudioFrame | channelId: String, audioFrame: AudioFrame | void | Error code index |
onRecordAudioFrame | channelId: String, audioFrame: AudioFrame | void | Error code index |
AudioParams 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
sampleRate | int? | No |
channels | int? | No |
mode | RawAudioFrameOpModeType? | No |
samplesPerCall | int? | No |
AudioPcmFrame 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
captureTimestamp | int? | No |
samplesPerChannel | int? | No |
sampleRateHz | int? | No |
numChannels | int? | No |
bytesPerSample | BytesPerSample? | No |
data | List ? | No |
AudioPcmFrameSink 1 method / 0 Property
onFrame(frame: AudioPcmFrame): voidMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onFrame | frame: AudioPcmFrame | void | Error code index |
AudioRecordingConfiguration 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
filePath | String? | No |
encode | bool? | No |
sampleRate | int? | No |
fileRecordingType | AudioFileRecordingType? | No |
quality | AudioRecordingQualityType? | No |
recordingChannel | int? | No |
AudioSpectrumData 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
audioSpectrumData | List ? | No |
dataLength | int? | No |
AudioSpectrumObserver 2 method / 0 Property
onLocalAudioSpectrum(data: AudioSpectrumData): void
onRemoteAudioSpectrum(spectrums: List, spectrumNumber: int): voidMethod detail: 2 / 2 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onLocalAudioSpectrum | data: AudioSpectrumData | void | Error code index |
onRemoteAudioSpectrum | spectrums: List, spectrumNumber: int | void | Error code index |
AudioTrackConfig 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
enableLocalPlayback | bool? | No |
enableAudioProcessing | bool? | No |
AudioVolumeInfo 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
volume | int? | No |
vad | int? | No |
voicePitch | double? | No |
BaseSpatialAudioEngine 11 method / 0 Property
muteAllRemoteAudioStreams(mute: bool): Future
muteLocalAudioStream(mute: bool): Future
muteRemoteAudioStream(mute: int uid,required bool): Future
release(): unknown
setAudioRecvRange(range: double): Future
setDistanceUnit(unit: double): Future
setMaxAudioRecvCount(maxCount: int): Future
setPlayerAttenuation(forceSet: int playerId,required double attenuation,required bool): Future
setZones(zoneCount: SpatialAudioZone zones,required int): Future
updatePlayerPositionInfo(positionInfo: int playerId,required RemoteVoicePositionInfo): Future
updateSelfPosition(axisUp: List position,required List axisForward,required List axisRight,required List): FutureMethod detail: 11 / 11 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
muteAllRemoteAudioStreams | mute: bool | Future | Error code index |
muteLocalAudioStream | mute: bool | Future | Error code index |
muteRemoteAudioStream | mute: int uid,required bool | Future | Error code index |
release | — | unknown | Error code index |
setAudioRecvRange | range: double | Future | Error code index |
setDistanceUnit | unit: double | Future | Error code index |
setMaxAudioRecvCount | maxCount: int | Future | Error code index |
setPlayerAttenuation | forceSet: int playerId,required double attenuation,required bool | Future | Error code index |
setZones | zoneCount: SpatialAudioZone zones,required int | Future | Error code index |
updatePlayerPositionInfo | positionInfo: int playerId,required RemoteVoicePositionInfo | Future | Error code index |
updateSelfPosition | axisUp: List position,required List axisForward,required List axisRight,required List | Future | Error code index |
BeautyOptions 0 method / 5 Property
| Property | Type | read-only |
|---|---|---|
lighteningContrastLevel | LighteningContrastLevel? | No |
lighteningLevel | double? | No |
smoothnessLevel | double? | No |
rednessLevel | double? | No |
sharpnessLevel | double? | No |
CacheStatistics 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
fileSize | int? | No |
cacheSize | int? | No |
downloadSize | int? | No |
CameraCapturerConfiguration 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
cameraDirection | CameraDirection? | No |
cameraId | String? | No |
cameraFocalLengthType | CameraFocalLengthType? | No |
format | VideoFormat? | No |
deviceId | String? | No |
followEncodeDimensionRatio | bool? | No |
ChannelMediaInfo 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
channelName | String? | No |
token | String? | No |
uid | int? | No |
ChannelMediaOptions 0 method / 36 Property
| Property | Type | read-only |
|---|---|---|
publishCameraTrack | bool? | No |
publishSecondaryCameraTrack | bool? | No |
publishMicrophoneTrack | bool? | No |
publishThirdCameraTrack | bool? | No |
publishFourthCameraTrack | bool? | No |
publishScreenTrack | bool? | No |
publishScreenCaptureVideo | bool? | No |
publishScreenCaptureAudio | bool? | No |
publishSecondaryScreenTrack | bool? | No |
publishThirdScreenTrack | bool? | No |
publishFourthScreenTrack | bool? | No |
publishTranscodedVideoTrack | bool? | No |
publishMixedAudioTrack | bool? | No |
publishLipSyncTrack | unknown | No |
publishCustomAudioTrack | bool? | No |
publishCustomAudioTrackId | int? | No |
publishCustomVideoTrack | bool? | No |
publishEncodedVideoTrack | bool? | No |
publishMediaPlayerAudioTrack | bool? | No |
publishMediaPlayerVideoTrack | bool? | No |
autoSubscribeAudio | bool? | No |
autoSubscribeVideo | bool? | No |
enableAudioRecordingOrPlayout | bool? | No |
publishMediaPlayerId | int? | No |
clientRoleType | ClientRoleType? | No |
audienceLatencyLevel | AudienceLatencyLevelType? | No |
defaultVideoStreamType | VideoStreamType? | No |
channelProfile | ChannelProfileType? | No |
audioDelayMs | int? | No |
token | String? | No |
publishRhythmPlayerTrack | bool? | No |
isInteractiveAudience | bool? | No |
customVideoTrackId | int? | No |
isAudioFilterable | bool? | No |
enableMultipath | bool? | No |
preferMultipathType | MultipathType? | No |
ChannelMediaRelayConfiguration 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
srcInfo | ChannelMediaInfo? | No |
destInfos | List ? | No |
destCount | int? | No |
ClientRoleOptions 0 method / 1 Property
| Property | Type | read-only |
|---|---|---|
audienceLatencyLevel | AudienceLatencyLevelType? | No |
ClimaxSegment 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
startTimeMs | int? | No |
endTimeMs | int? | No |
CodecCapInfo 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
codecType | VideoCodecType? | No |
codecCapMask | int? | No |
codecLevels | CodecCapLevels? | No |
CodecCapLevels 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
hwDecodingLevel | VideoCodecCapabilityLevel? | No |
swDecodingLevel | VideoCodecCapabilityLevel? | No |
ColorEnhanceOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
strengthLevel | double? | No |
skinProtectLevel | double? | No |
ContentInspectConfig 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
extraInfo | String? | No |
serverConfig | String? | No |
modules | List ? | No |
moduleCount | int? | No |
ContentInspectModule 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
type | ContentInspectType? | No |
interval | int? | No |
position | VideoModulePosition? | No |
DataStreamConfig 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
syncWithAudio | bool? | No |
ordered | bool? | No |
DeviceInfo 0 method / 1 Property
| Property | Type | read-only |
|---|---|---|
isLowLatencyAudioSupported | bool? | No |
EchoTestConfiguration 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
view | int? | No |
enableAudio | bool? | No |
enableVideo | bool? | No |
token | String? | No |
channelId | String? | No |
intervalInSeconds | int? | No |
EncodedAudioFrameInfo 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
codec | AudioCodecType? | No |
sampleRateHz | int? | No |
samplesPerChannel | int? | No |
numberOfChannels | int? | No |
advancedSettings | EncodedAudioFrameAdvancedSettings? | No |
captureTimeMs | int? | No |
EncodedVideoFrameInfo 0 method / 9 Property
| Property | Type | read-only |
|---|---|---|
codecType | VideoCodecType? | No |
width | int? | No |
height | int? | No |
framesPerSecond | int? | No |
frameType | VideoFrameType? | No |
rotation | VideoOrientation? | No |
trackId | int? | No |
captureTimeMs | int? | No |
streamType | VideoStreamType? | No |
EncryptionConfig 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
encryptionMode | EncryptionMode? | No |
encryptionKey | String? | No |
encryptionKdfSalt | Uint8List? | No |
datastreamEncryptionEnabled | bool? | No |
ExtensionContext 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
isValid | bool? | No |
uid | int? | No |
providerName | String? | No |
extensionName | String? | No |
ExternalVideoFrame 0 method / 23 Property
| Property | Type | read-only |
|---|---|---|
type | VideoBufferType? | No |
format | VideoPixelFormat? | No |
buffer | Uint8List? | No |
stride | int? | No |
height | int? | No |
eglContext | unknown | No |
eglType | EglContextType? | No |
textureId | int? | No |
matrix | List ? | No |
metadataBuffer | Uint8List? | No |
metadataSize | int? | No |
d3d11Texture2d | int? | No |
alphaBuffer | Uint8List? | No |
fillAlphaBuffer | bool? | No |
alphaStitchMode | AlphaStitchMode? | No |
textureSliceIndex | int? | No |
cropLeft | int? | No |
cropTop | int? | No |
cropRight | int? | No |
cropBottom | int? | No |
rotation | int? | No |
timestamp | int? | No |
colorSpace | ColorSpace? | No |
FaceShapeAreaOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
shapeArea | unknown | No |
shapeIntensity | unknown | No |
FaceShapeBeautyOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
shapeStyle | FaceShapeBeautyStyle? | No |
styleIntensity | int? | No |
FilterEffectOptions 1 method / 1 Property
path(): unknownMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
path | — | unknown | Error code index |
| Property | Type | read-only |
|---|---|---|
strength | unknown | No |
FocalLengthInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
cameraDirection | int? | No |
focalLengthType | CameraFocalLengthType? | No |
ImageTrackOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
imageUrl | String? | No |
fps | int? | No |
LastmileProbeConfig 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
probeUplink | bool? | No |
probeDownlink | bool? | No |
expectedUplinkBitrate | int? | No |
expectedDownlinkBitrate | int? | No |
LastmileProbeOneWayResult 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
packetLossRate | int? | No |
jitter | int? | No |
availableBandwidth | int? | No |
LastmileProbeResult 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
state | LastmileProbeResultState? | No |
uplinkReport | LastmileProbeOneWayResult? | No |
downlinkReport | LastmileProbeOneWayResult? | No |
rtt | int? | No |
LeaveChannelOptions 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
stopAudioMixing | bool? | No |
stopAllEffect | bool? | No |
stopMicrophoneRecording | bool? | No |
LiveStreamAdvancedFeature 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
featureName | String? | No |
opened | bool? | No |
LiveTranscoding 0 method / 23 Property
| Property | Type | read-only |
|---|---|---|
width | int? | No |
height | int? | No |
videoBitrate | int? | No |
videoFramerate | int? | No |
lowLatency | bool? | No |
videoGop | int? | No |
videoCodecProfile | VideoCodecProfileType? | No |
videoCodecType | VideoCodecTypeForStream? | No |
transcodingUsers | List ? | No |
transcodingExtraInfo | String? | No |
backgroundColor | int? | No |
userCount | int? | No |
metadata | String? | No |
watermark | List ? | No |
backgroundImage | List ? | No |
audioSampleRate | AudioSampleRateType? | No |
audioBitrate | int? | No |
audioChannels | int? | No |
audioCodecProfile | AudioCodecProfileType? | No |
watermarkCount | int? | No |
backgroundImageCount | int? | No |
advancedFeatures | unknown | No |
advancedFeatureCount | int? | No |
LocalAccessPointConfiguration 0 method / 7 Property
| Property | Type | read-only |
|---|---|---|
ipList | List ? | No |
ipListSize | int? | No |
domainList | List ? | No |
domainListSize | int? | No |
verifyDomainName | String? | No |
mode | LocalProxyMode? | No |
advancedConfig | AdvancedConfigInfo? | No |
LocalAudioMixerConfiguration 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
streamCount | int? | No |
audioInputStreams | List ? | No |
syncWithLocalMic | bool? | No |
LocalAudioStats 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
numChannels | int? | No |
sentSampleRate | int? | No |
sentBitrate | int? | No |
txPacketLossRate | int? | No |
internalCodec | int? | No |
audioDeviceDelay | int? | No |
earMonitorDelay | int? | No |
aecEstimatedDelay | int? | No |
LocalSpatialAudioEngine 5 method / 0 Property
clearRemotePositions(): Future
initialize(): Future
removeRemotePosition(uid: int): Future
setRemoteAudioAttenuation(forceSet: int uid,required double attenuation,required bool): Future
updateRemotePosition(posInfo: int uid,required RemoteVoicePositionInfo): FutureMethod detail: 5 / 5 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
clearRemotePositions | — | Future | Error code index |
initialize | — | Future | Error code index |
removeRemotePosition | uid: int | Future | Error code index |
setRemoteAudioAttenuation | forceSet: int uid,required double attenuation,required bool | Future | Error code index |
updateRemotePosition | posInfo: int uid,required RemoteVoicePositionInfo | Future | Error code index |
LocalTranscoderConfiguration 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
streamCount | int? | No |
videoInputStreams | List ? | No |
videoOutputConfiguration | VideoEncoderConfiguration? | No |
LocalVideoStats 0 method / 22 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
sentBitrate | int? | No |
sentFrameRate | int? | No |
captureFrameRate | int? | No |
captureFrameWidth | int? | No |
captureFrameHeight | int? | No |
regulatedCaptureFrameRate | int? | No |
regulatedCaptureFrameWidth | int? | No |
regulatedCaptureFrameHeight | int? | No |
encoderOutputFrameRate | int? | No |
rendererOutputFrameRate | int? | No |
targetBitrate | int? | No |
targetFrameRate | int? | No |
qualityAdaptIndication | QualityAdaptIndication? | No |
encodedBitrate | int? | No |
encodedFrameHeight | int? | No |
encodedFrameWidth | int? | No |
encodedFrameCount | int? | No |
codecType | VideoCodecType? | No |
txPacketLossRate | int? | No |
captureBrightnessLevel | CaptureBrightnessLevelType? | No |
hwEncoderAccelerating | int? | No |
LogConfig 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
filePath | String? | No |
fileSizeInKB | int? | No |
level | LogLevel? | No |
LogUploadServerInfo 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
serverDomain | String? | No |
serverPath | String? | No |
serverPort | int? | No |
serverHttps | bool? | No |
LowlightEnhanceOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
level | LowLightEnhanceLevel? | No |
mode | LowLightEnhanceMode? | No |
MediaEngine 16 method / 0 Property
createCustomAudioTrack(config: AudioTrackType trackType,required AudioTrackConfig): Future
destroyCustomAudioTrack(trackId: int): Future
pullAudioFrame(frame: AudioFrame): Future
pushAudioFrame(null: AudioFrame frame,int trackId = 0): Future
pushVideoFrame(null: ExternalVideoFrame frame,int videoTrackId = 0): Future
registerAudioFrameObserver(observer: AudioFrameObserver): void
registerFaceInfoObserver(observer: FaceInfoObserver): void
registerVideoEncodedFrameObserver(observer: VideoEncodedFrameObserver): void
registerVideoFrameObserver(observer: VideoFrameObserver): void
setExternalAudioSink(channels: bool enabled,required int sampleRate,required int): Future
setExternalAudioSource(true: bool enabled,required int sampleRate,required int channels,bool localPlayback = false,bool publish =): Future
setExternalVideoSource(null: bool enabled,required bool useTexture,ExternalVideoSourceType sourceType = ExternalVideoSourceType.videoFrame,SenderOptions encodedVideoOption = const SenderOptions()): Future
unregisterAudioFrameObserver(observer: AudioFrameObserver): void
unregisterFaceInfoObserver(observer: FaceInfoObserver): void
unregisterVideoEncodedFrameObserver(observer: VideoEncodedFrameObserver): void
unregisterVideoFrameObserver(observer: VideoFrameObserver): voidMethod detail: 16 / 16 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
createCustomAudioTrack | config: AudioTrackType trackType,required AudioTrackConfig | Future | Error code index |
destroyCustomAudioTrack | trackId: int | Future | Error code index |
pullAudioFrame | frame: AudioFrame | Future | Error code index |
pushAudioFrame | null: AudioFrame frame,int trackId = 0 | Future | Error code index |
pushVideoFrame | null: ExternalVideoFrame frame,int videoTrackId = 0 | Future | Error code index |
registerAudioFrameObserver | observer: AudioFrameObserver | void | Error code index |
registerFaceInfoObserver | observer: FaceInfoObserver | void | Error code index |
registerVideoEncodedFrameObserver | observer: VideoEncodedFrameObserver | void | Error code index |
registerVideoFrameObserver | observer: VideoFrameObserver | void | Error code index |
setExternalAudioSink | channels: bool enabled,required int sampleRate,required int | Future | Error code index |
setExternalAudioSource | true: bool enabled,required int sampleRate,required int channels,bool localPlayback = false,bool publish = | Future | Error code index |
setExternalVideoSource | null: bool enabled,required bool useTexture,ExternalVideoSourceType sourceType = ExternalVideoSourceType.videoFrame,SenderOptions encodedVideoOption = const SenderOptions() | Future | Error code index |
unregisterAudioFrameObserver | observer: AudioFrameObserver | void | Error code index |
unregisterFaceInfoObserver | observer: FaceInfoObserver | void | Error code index |
unregisterVideoEncodedFrameObserver | observer: VideoEncodedFrameObserver | void | Error code index |
unregisterVideoFrameObserver | observer: VideoFrameObserver | void | Error code index |
MediaPlayer 42 method / 0 Property
adjustPlayoutVolume(volume: int): Future
adjustPublishSignalVolume(volume: int): Future
getAudioBufferDelay(): Future
getDuration(): Future
getMediaPlayerId(): int
getMute(): Future
getPlayPosition(): Future
getPlaySrc(): Future
getPlayoutVolume(): Future
getPublishSignalVolume(): Future
getState(): Future
getStreamCount(): Future
getStreamInfo(index: int): Future
mute(muted: bool): Future
open(startPos: String url,required int): Future
openWithMediaSource(source: MediaSource): Future
pause(): Future
play(): Future
playPreloadedSrc(src: String): Future
preloadSrc(startPos: String src,required int): Future
registerAudioFrameObserver(null: AudioPcmFrameSink observer,RawAudioFrameOpModeType mode = RawAudioFrameOpModeType.rawAudioFrameOpModeReadOnly): void
registerPlayerSourceObserver(observer: MediaPlayerSourceObserver): void
registerVideoFrameObserver(observer: MediaPlayerVideoFrameObserver): void
resume(): Future
seek(newPos: int): Future
selectAudioTrack(index: int): Future
selectMultiAudioTrack(publishTrackIndex: int playoutTrackIndex,required int): Future
setAudioDualMonoMode(mode: AudioDualMonoMode): Future
setAudioPitch(pitch: int): Future
setLoopCount(loopCount: int): Future
setPlaybackSpeed(speed: int): Future
setPlayerOptionInInt(value: String key,required int): Future
setPlayerOptionInString(value: String key,required String): Future
setRenderMode(renderMode: RenderModeType): Future
setSpatialAudioParams(params: SpatialAudioParams): Future
setView(view: int): Future
stop(): Future
switchSrc(true: String src,bool syncPts =): Future
unloadSrc(src: String): Future
unregisterAudioFrameObserver(observer: AudioPcmFrameSink): void
unregisterPlayerSourceObserver(observer: MediaPlayerSourceObserver): void
unregisterVideoFrameObserver(observer: MediaPlayerVideoFrameObserver): voidMethod detail: 42 / 42 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
adjustPlayoutVolume | volume: int | Future | Error code index |
adjustPublishSignalVolume | volume: int | Future | Error code index |
getAudioBufferDelay | — | Future | Error code index |
getDuration | — | Future | Error code index |
getMediaPlayerId | — | int | Error code index |
getMute | — | Future | Error code index |
getPlayPosition | — | Future | Error code index |
getPlaySrc | — | Future | Error code index |
getPlayoutVolume | — | Future | Error code index |
getPublishSignalVolume | — | Future | Error code index |
getState | — | Future | Error code index |
getStreamCount | — | Future | Error code index |
getStreamInfo | index: int | Future | Error code index |
mute | muted: bool | Future | Error code index |
open | startPos: String url,required int | Future | Error code index |
openWithMediaSource | source: MediaSource | Future | Error code index |
pause | — | Future | Error code index |
play | — | Future | Error code index |
playPreloadedSrc | src: String | Future | Error code index |
preloadSrc | startPos: String src,required int | Future | Error code index |
registerAudioFrameObserver | null: AudioPcmFrameSink observer,RawAudioFrameOpModeType mode = RawAudioFrameOpModeType.rawAudioFrameOpModeReadOnly | void | Error code index |
registerPlayerSourceObserver | observer: MediaPlayerSourceObserver | void | Error code index |
registerVideoFrameObserver | observer: MediaPlayerVideoFrameObserver | void | Error code index |
resume | — | Future | Error code index |
seek | newPos: int | Future | Error code index |
selectAudioTrack | index: int | Future | Error code index |
selectMultiAudioTrack | publishTrackIndex: int playoutTrackIndex,required int | Future | Error code index |
setAudioDualMonoMode | mode: AudioDualMonoMode | Future | Error code index |
setAudioPitch | pitch: int | Future | Error code index |
setLoopCount | loopCount: int | Future | Error code index |
setPlaybackSpeed | speed: int | Future | Error code index |
setPlayerOptionInInt | value: String key,required int | Future | Error code index |
setPlayerOptionInString | value: String key,required String | Future | Error code index |
setRenderMode | renderMode: RenderModeType | Future | Error code index |
setSpatialAudioParams | params: SpatialAudioParams | Future | Error code index |
setView | view: int | Future | Error code index |
stop | — | Future | Error code index |
switchSrc | true: String src,bool syncPts = | Future | Error code index |
unloadSrc | src: String | Future | Error code index |
unregisterAudioFrameObserver | observer: AudioPcmFrameSink | void | Error code index |
unregisterPlayerSourceObserver | observer: MediaPlayerSourceObserver | void | Error code index |
unregisterVideoFrameObserver | observer: MediaPlayerVideoFrameObserver | void | Error code index |
MediaPlayerCacheManager 12 method / 0 Property
enableAutoRemoveCache(enable: bool): Future
getCacheDir(length: int): Future
getCacheFileCount(): Future
getMaxCacheFileCount(): Future
getMaxCacheFileSize(): Future
getMediaPlayerCacheManager(): MediaPlayerCacheManager
removeAllCaches(): Future
removeCacheByUri(uri: String): uture
removeOldCache(): Future
setCacheDir(path: String): Future
setMaxCacheFileCount(count: int): Future
setMaxCacheFileSize(cacheSize: int): FutureMethod detail: 12 / 12 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
enableAutoRemoveCache | enable: bool | Future | Error code index |
getCacheDir | length: int | Future | Error code index |
getCacheFileCount | — | Future | Error code index |
getMaxCacheFileCount | — | Future | Error code index |
getMaxCacheFileSize | — | Future | Error code index |
getMediaPlayerCacheManager | — | MediaPlayerCacheManager | Error code index |
removeAllCaches | — | Future | Error code index |
removeCacheByUri | uri: String | uture | Error code index |
removeOldCache | — | Future | Error code index |
setCacheDir | path: String | Future | Error code index |
setMaxCacheFileCount | count: int | Future | Error code index |
setMaxCacheFileSize | cacheSize: int | Future | Error code index |
MediaPlayerController 1 method / 0 Property
initialize(): FutureMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
initialize | — | Future | Error code index |
MediaPlayerSourceObserver 11 method / 0 Property
onAudioVolumeIndication(volume: int): void
onMetaData(data: Uint8List, length: int): void
onPlayBufferUpdated(playCachedBuffer: int): void
onPlayerCacheStats(stats: CacheStatistics): void
onPlayerEvent(eventCode: MediaPlayerEvent, elapsedTime: int, message: String): void
onPlayerInfoUpdated(info: PlayerUpdatedInfo): void
onPlayerPlaybackStats(stats: PlayerPlaybackStats): void
onPlayerSourceStateChanged(state: MediaPlayerState, reason: MediaPlayerReason): void
onPlayerSrcInfoChanged(from: SrcInfo, to: SrcInfo): void
onPositionChanged(positionMs: int, timestampMs: int): void
onPreloadEvent(src: String, event: PlayerPreloadEvent): voidMethod detail: 11 / 11 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onAudioVolumeIndication | volume: int | void | Error code index |
onMetaData | data: Uint8List, length: int | void | Error code index |
onPlayBufferUpdated | playCachedBuffer: int | void | Error code index |
onPlayerCacheStats | stats: CacheStatistics | void | Error code index |
onPlayerEvent | eventCode: MediaPlayerEvent, elapsedTime: int, message: String | void | Error code index |
onPlayerInfoUpdated | info: PlayerUpdatedInfo | void | Error code index |
onPlayerPlaybackStats | stats: PlayerPlaybackStats | void | Error code index |
onPlayerSourceStateChanged | state: MediaPlayerState, reason: MediaPlayerReason | void | Error code index |
onPlayerSrcInfoChanged | from: SrcInfo, to: SrcInfo | void | Error code index |
onPositionChanged | positionMs: int, timestampMs: int | void | Error code index |
onPreloadEvent | src: String, event: PlayerPreloadEvent | void | Error code index |
MediaPlayerVideoFrameObserver 1 method / 0 Property
onFrame(frame: VideoFrame): voidMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onFrame | frame: VideoFrame | void | Error code index |
MediaRecorder 3 method / 0 Property
setMediaRecorderObserver(callback: RtcConnection connection,required MediaRecorderObserver): Future
startRecording(config: MediaRecorderConfiguration): Future
stopRecording(): FutureMethod detail: 3 / 3 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
setMediaRecorderObserver | callback: RtcConnection connection,required MediaRecorderObserver | Future | Error code index |
startRecording | config: MediaRecorderConfiguration | Future | Error code index |
stopRecording | — | Future | Error code index |
MediaRecorderConfiguration 0 method / 11 Property
| Property | Type | read-only |
|---|---|---|
storagePath | String? | No |
containerFormat | MediaRecorderContainerFormat? | No |
streamType | MediaRecorderStreamType? | No |
maxDurationMs | int? | No |
recorderInfoUpdateInterval | int? | No |
width | int? | No |
height | int? | No |
fps | int? | No |
sampleRate | int? | No |
channelNum | int? | No |
videoSourceType | VideoSourceType? | No |
MediaRecorderObserver 2 method / 0 Property
onRecorderInfoUpdated(channelId: String, uid: int, info: RecorderInfo): void
onRecorderStateChanged(channelId: String, uid: int, state: RecorderState, reason: RecorderReasonCode): voidMethod detail: 2 / 2 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onRecorderInfoUpdated | channelId: String, uid: int, info: RecorderInfo | void | Error code index |
onRecorderStateChanged | channelId: String, uid: int, state: RecorderState, reason: RecorderReasonCode | void | Error code index |
MediaSource 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
url | String? | No |
uri | String? | No |
startPos | int? | No |
autoPlay | bool? | No |
enableCache | bool? | No |
enableMultiAudioTrack | unknown | No |
isAgoraSource | bool? | No |
isLiveSource | bool? | No |
Metadata 0 method / 5 Property
| Property | Type | read-only |
|---|---|---|
channelId | String? | No |
uid | int? | No |
size | int? | No |
buffer | Uint8List? | No |
timeStampMs | int? | No |
MetadataObserver 1 method / 0 Property
onMetadataReceived(metadata: Metadata): voidMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onMetadataReceived | metadata: Metadata | void | Error code index |
MultipathStats 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
lanTxBytes | int? | No |
lanRxBytes | int? | No |
wifiTxBytes | int? | No |
wifiRxBytes | int? | No |
mobileTxBytes | int? | No |
mobileRxBytes | int? | No |
activePathNum | int? | No |
pathStats | List ? | No |
Music 0 method / 12 Property
| Property | Type | read-only |
|---|---|---|
songCode | int? | No |
name | String? | No |
singer | String? | No |
poster | String? | No |
releaseTime | String? | No |
type | int? | No |
pitchType | int? | No |
durationS | int? | No |
lyricList | List ? | No |
climaxSegmentList | List ? | No |
lyricCount | int? | No |
climaxSegmentCount | int? | No |
MusicCacheInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
songCode | int? | No |
status | MusicCacheStatusType? | No |
MusicChartCollection 2 method / 0 Property
get(index: int): Future
getCount(): FutureMethod detail: 2 / 2 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
get | index: int | Future | Error code index |
getCount | — | Future | Error code index |
MusicChartInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
chartName | String? | No |
id | int? | No |
MusicCollection 5 method / 0 Property
getCount(): int
getMusic(index: int): Music
getPage(): int
getPageSize(): int
getTotal(): intMethod detail: 5 / 5 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
getCount | — | int | Error code index |
getMusic | index: int | Music | Error code index |
getPage | — | int | Error code index |
getPageSize | — | int | Error code index |
getTotal | — | int | Error code index |
MusicContentCenter 17 method / 0 Property
createMusicPlayer(): Future
destroyMusicPlayer(musicPlayer: MusicPlayer): Future
getCaches(cacheInfoSize: int): Future ->
getInternalSongCode(jsonOption: int songCode,required String): Future
getLyric(null: int songCode,int lyricType = 0): Future
getMusicCharts(): Future
getMusicCollectionByMusicChartId(jsonOption?: int musicChartId,required int page,required int pageSize,String?): Future
getSongSimpleInfo(songCode: int): Future
initialize(configuration: MusicContentCenterConfiguration): Future
isPreloaded(songCode: int): Future
preload(songCode: int): Future
registerEventHandler(eventHandler: MusicContentCenterEventHandler): void
release(): Future
removeCache(songCode: int): Future
renewToken(token: String): Future
searchMusic(jsonOption?: String keyWord,required int page,required int pageSize,String?): Future
unregisterEventHandler(): voidMethod detail: 17 / 17 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
createMusicPlayer | — | Future | Error code index |
destroyMusicPlayer | musicPlayer: MusicPlayer | Future | Error code index |
getCaches | cacheInfoSize: int | Future -> | Error code index |
getInternalSongCode | jsonOption: int songCode,required String | Future | Error code index |
getLyric | null: int songCode,int lyricType = 0 | Future | Error code index |
getMusicCharts | — | Future | Error code index |
getMusicCollectionByMusicChartId | jsonOption?: int musicChartId,required int page,required int pageSize,String? | Future | Error code index |
getSongSimpleInfo | songCode: int | Future | Error code index |
initialize | configuration: MusicContentCenterConfiguration | Future | Error code index |
isPreloaded | songCode: int | Future | Error code index |
preload | songCode: int | Future | Error code index |
registerEventHandler | eventHandler: MusicContentCenterEventHandler | void | Error code index |
release | — | Future | Error code index |
removeCache | songCode: int | Future | Error code index |
renewToken | token: String | Future | Error code index |
searchMusic | jsonOption?: String keyWord,required int page,required int pageSize,String? | Future | Error code index |
unregisterEventHandler | — | void | Error code index |
MusicContentCenterConfiguration 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
appId | String? | No |
token | String? | No |
mccUid | int? | No |
maxCacheSize | int? | No |
MusicContentCenterEventHandler 5 method / 0 Property
onLyricResult(requestId: String, songCode: int, lyricUrl: String, reason: MusicContentCenterStateReason): void
onMusicChartsResult(requestId: String, result: List, reason: MusicContentCenterStateReason): void
onMusicCollectionResult(requestId: String, result: MusicCollection, reason: MusicContentCenterStateReason): void
onPreLoadEvent(requestId: String, songCode: int, percent: int, lyricUrl: String, state: PreloadState, reason: MusicContentCenterStateReason): void
onSongSimpleInfoResult(requestId: String, songCode: int, simpleInfo: String, reason: MusicContentCenterStateReason): voidMethod detail: 5 / 5 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onLyricResult | requestId: String, songCode: int, lyricUrl: String, reason: MusicContentCenterStateReason | void | Error code index |
onMusicChartsResult | requestId: String, result: List, reason: MusicContentCenterStateReason | void | Error code index |
onMusicCollectionResult | requestId: String, result: MusicCollection, reason: MusicContentCenterStateReason | void | Error code index |
onPreLoadEvent | requestId: String, songCode: int, percent: int, lyricUrl: String, state: PreloadState, reason: MusicContentCenterStateReason | void | Error code index |
onSongSimpleInfoResult | requestId: String, songCode: int, simpleInfo: String, reason: MusicContentCenterStateReason | void | Error code index |
MusicPlayer 2 method / 0 Property
openWithSongCode(null: int songCode,int startPos = 0): Future
setPlayMode(mode: MusicPlayMode): FutureMethod detail: 2 / 2 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
openWithSongCode | null: int songCode,int startPos = 0 | Future | Error code index |
setPlayMode | mode: MusicPlayMode | Future | Error code index |
PathStats 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
type | MultipathType? | No |
txKBitRate | int? | No |
rxKBitRate | int? | No |
PlayerPlaybackStats 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
videoFps | int? | No |
videoBitrateInKbps | int? | No |
audioBitrateInKbps | int? | No |
totalBitrateInKbps | int? | No |
PlayerStreamInfo 0 method / 13 Property
| Property | Type | read-only |
|---|---|---|
streamIndex | int? | No |
streamType | MediaStreamType? | No |
codecName | String? | No |
language | String? | No |
videoFrameRate | int? | No |
videoBitRate | int? | No |
videoWidth | int? | No |
videoHeight | int? | No |
videoRotation | int? | No |
audioSampleRate | int? | No |
audioChannels | int? | No |
audioBitsPerSample | int? | No |
duration | int? | No |
PlayerUpdatedInfo 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
deviceId | String? | No |
videoHeight | unknown | No |
videoWidth | unknown | No |
audioSampleRate | unknown | No |
audioChannels | unknown | No |
audioBitsPerSample | unknown | No |
RecorderInfo 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
fileName | unknown | No |
durationMs | unknown | No |
fileSize | unknown | No |
RecorderStreamInfo 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
channelId | String? | No |
uid | int? | No |
type | RecorderStreamType? | No |
Rectangle 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
x | int? | No |
y | int? | No |
width | int? | No |
height | int? | No |
RemoteAudioStats 0 method / 16 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
quality | int? | No |
networkTransportDelay | int? | No |
jitterBufferDelay | int? | No |
audioLossRate | int? | No |
numChannels | int? | No |
receivedSampleRate | int? | No |
receivedBitrate | int? | No |
totalFrozenTime | int? | No |
frozenRate | int? | No |
totalActiveTime | int? | No |
publishDuration | int? | No |
qoeQuality | int? | No |
qualityChangedReason | int? | No |
mosValue | int? | No |
e2eDelay | int? | No |
RemoteVideoStats 0 method / 17 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
delay | int? | No |
e2eDelay | int? | No |
width | int? | No |
height | int? | No |
receivedBitrate | int? | No |
decoderOutputFrameRate | int? | No |
rendererOutputFrameRate | int? | No |
frameLossRate | int? | No |
packetLossRate | int? | No |
rxStreamType | VideoStreamType? | No |
totalFrozenTime | int? | No |
frozenRate | int? | No |
totalActiveTime | int? | No |
publishDuration | int? | No |
avSyncTimeMs | int? | No |
mosValue | int? | No |
RemoteVoicePositionInfo 0 method / 1 Property
| Property | Type | read-only |
|---|---|---|
position | unknown | No |
RtcConnection 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
channelId | String? | No |
localUid | int? | No |
RtcEngine 272 method / 0 Property
addVideoWatermark(options: String watermarkUrl,required WatermarkOptions): Future
addVideoWatermarkWithConfig(configs: WatermarkConfig): Future
adjustAudioMixingPlayoutVolume(volume: int): Future
adjustAudioMixingPublishVolume(volume: int): Future
adjustAudioMixingVolume(volume: int): Future
adjustCustomAudioPlayoutVolume(volume: int trackId,required int): Future
adjustCustomAudioPublishVolume(volume: int trackId,required int): Future
adjustLoopbackSignalVolume(volume: int): Future
adjustPlaybackSignalVolume(volume: int): Future
adjustRecordingSignalVolume(volume: int): Future
adjustUserPlaybackSignalVolume(volume: int uid,required int): Future
clearVideoWatermarks(): Future
complain(description: String callId,required String): Future
configRhythmPlayer(config: AgoraRhythmPlayerConfig): Future
createAgoraRtcEngine(): RtcEngine
createCustomVideoTrack(): Future
createDataStream(config: DataStreamConfig): Future
createMediaPlayer(): Future
createMediaRecorder(info: RecorderStreamInfo): Future
createVideoEffectObject(null: String bundlePath,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
destroyCustomVideoTrack(videoTrackId: int): Future
destroyMediaPlayer(mediaPlayer: MediaPlayer): Future
destroyMediaRecorder(mediaRecorder: MediaRecorder): Future
destroyVideoEffectObject(videoEffectObject: VideoEffectObject): Future
disableAudio(): Future
disableAudioSpectrumMonitor(): Future
disableVideo(): Future
enableAudio(): Future
enableAudioSpectrumMonitor(null: int intervalInMS = 100): Future
enableAudioVolumeIndication(reportVad: int interval,required int smooth,required bool): Future
enableCameraCenterStage(enabled: bool): Future
enableContentInspect(config: bool enabled,required ContentInspectConfig): Future
enableCustomAudioLocalPlayback(enabled: int trackId,required bool): Future
enableDualStreamMode(streamConfig?: bool enabled,SimulcastStreamConfig?): Future
enableEncryption(config: bool enabled,required EncryptionConfig): Future
enableExtension(null: String provider,required String extension,bool enable = true,MediaSourceType type = MediaSourceType.unknownMediaSource): Future
enableFaceDetection(enabled: bool): Future
enableInEarMonitoring(includeAudioFilters: bool enabled,required EarMonitoringFilterType): Future
enableInstantMediaRendering(): Future
enableLocalAudio(enabled: bool): Future
enableLocalVideo(enabled: bool): Future
enableLoopbackRecording(deviceName?: bool enabled,String?): Future
enableMultiCamera(config: bool enabled,required CameraCapturerConfiguration): Future
enableSoundPositionIndication(enabled: bool): Future
enableSpatialAudio(enabled: bool): Future
enableVideo(): Future
enableVideoImageSource(options: bool enable,required ImageTrackOptions): Future
enableVirtualBackground(null: bool enabled,required VirtualBackgroundSource backgroundSource,required SegmentationProperty segproperty,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
enableVoiceAITuner(type: bool enabled,required VoiceAiTunerType): Future
enableWebSdkInteroperability(enabled: bool): Future
getAudioDeviceInfo(): Future
getAudioDeviceManager(): AudioDeviceManager
getAudioMixingCurrentPosition(): Future
getAudioMixingDuration(): Future
getAudioMixingPlayoutVolume(): Future
getAudioMixingPublishVolume(): Future
getAudioTrackCount(): Future
getCallId(): Future
getCameraMaxZoomFactor(): Future
getConnectionState(): Future
getCurrentMonotonicTimeInMs(): Future
getEffectCurrentPosition(soundId: int): Future
getEffectDuration(filePath: String): Future
getEffectsVolume(): Future
getErrorDescription(code: int): Future
getExtensionProperty(null: String provider,required String extension,required String key,required int bufLen,MediaSourceType type = MediaSourceType.unknownMediaSource): Future
getFaceShapeAreaOptions(null: FaceShapeArea shapeArea,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
getFaceShapeBeautyOptions(null: MediaSourceType type = MediaSourceType.primaryCameraSource): Future
getLocalSpatialAudioEngine(): LocalSpatialAudioEngine
getMediaEngine(): MediaEngine
getMusicContentCenter(): MusicContentCenter
getNativeHandle(): Future
getNetworkType(): Future
getNtpWallTimeInMs(): Future
getScreenCaptureSources(includeScreen: Size thumbSize,required Size iconSize,required bool): Future ->
getUserInfoByUid(uid: int): Future
getUserInfoByUserAccount(userAccount: String): Future
getVersion(): Future
getVideoDeviceManager(): VideoDeviceManager
getVolumeOfEffect(soundId: int): Future
initialize(context: RtcEngineContext): Future
isCameraAutoExposureFaceModeSupported(): Future
isCameraAutoFocusFaceModeSupported(): Future
isCameraCenterStageSupported(): Future
isCameraExposurePositionSupported(): Future
isCameraExposureSupported(): Future
isCameraFaceDetectSupported(): Future
isCameraFocusSupported(): Future
isCameraTorchSupported(): Future
isCameraZoomSupported(): Future
isFeatureAvailableOnDevice(type: FeatureType): Future
isSpeakerphoneEnabled(): Future
joinChannel(options: String token,required String channelId,required int uid,required ChannelMediaOptions): Future
joinChannelWithUserAccount(options?: String token,required String channelId,required String userAccount,ChannelMediaOptions?): Future
joinChannelWithUserAccountEx(options: String token,required String channelId,required String userAccount,required ChannelMediaOptions): Future
leaveChannel(options?: LeaveChannelOptions?): Future
loadExtensionProvider(false: String path,bool unloadAfterUse =): Future
muteAllRemoteAudioStreams(mute: bool): Future
muteAllRemoteVideoStreams(mute: bool): Future
muteLocalAudioStream(mute: bool): Future
muteLocalVideoStream(mute: bool): Future
muteRecordingSignal(mute: bool): Future
muteRemoteAudioStream(mute: int uid,required bool): Future
muteRemoteVideoStream(mute: int uid,required bool): Future
pauseAllChannelMediaRelay(): Future
pauseAllEffects(): Future
pauseAudioMixing(): Future
pauseEffect(soundId: int): Future
playAllEffects(false: int loopCount,required double pitch,required double pan,required int gain,bool publish =): Future
playEffect(null: int soundId,required String filePath,required int loopCount,required double pitch,required double pan,required int gain,bool publish = false,int startPos = 0): Future
preloadChannel(uid: String token,required String channelId,required int): Future
preloadChannelWithUserAccount(userAccount: String token,required String channelId,required String): Future
preloadEffect(null: int soundId,required String filePath,int startPos = 0): Future
queryCameraFocalLengthCapability(): Future ->
queryCodecCapability(size: int): Future ->
queryDeviceScore(): Future
queryScreenCaptureCapability(): Future
rate(description: String callId,required int rating,required String): Future
registerAudioEncodedFrameObserver(observer: AudioEncodedFrameObserverConfig config,required AudioEncodedFrameObserver): void
registerAudioSpectrumObserver(observer: AudioSpectrumObserver): void
registerEventHandler(eventHandler: RtcEngineEventHandler): void
registerExtension(null: String provider,required String extension,MediaSourceType type = MediaSourceType.unknownMediaSource): Future
registerLocalUserAccount(userAccount: String appId,required String): Future
registerMediaMetadataObserver(type: MetadataObserver observer,required MetadataType): void
release(false: bool sync =): Future
removeVideoWatermark(id: String): Future
renewToken(token: String): Future
resumeAllChannelMediaRelay(): Future
resumeAllEffects(): Future
resumeAudioMixing(): Future
resumeEffect(soundId: int): Future
selectAudioTrack(index: int): Future
sendCustomReportMessage(value: String id,required String category,required String event,required String label,required int): Future
sendMetaData(sourceType: Metadata metadata,required VideoSourceType): Future
sendStreamMessage(length: int streamId,required Uint8List data,required int): Future
setAINSMode(mode: bool enabled,required AudioAinsMode): Future
setAVSyncSource(uid: String channelId,required int): Future
setAdvancedAudioOptions(options: AdvancedAudioOptions): Future
setAudioEffectParameters(param2: AudioEffectPreset preset,required int param1,required int): Future
setAudioEffectPreset(preset: AudioEffectPreset): Future
setAudioMixingDualMonoMode(mode: AudioMixingDualMonoMode): Future
setAudioMixingPitch(pitch: int): Future
setAudioMixingPlaybackSpeed(speed: int): Future
setAudioMixingPosition(pos: int): Future
setAudioProfile(null: AudioProfileType profile,AudioScenarioType scenario = AudioScenarioType.audioScenarioDefault): Future
setAudioScenario(scenario: AudioScenarioType): Future
setAudioSessionOperationRestriction(restriction: AudioSessionOperationRestriction): Future
setBeautyEffectOptions(null: bool enabled,required BeautyOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setCameraAutoExposureFaceModeEnabled(enabled: bool): Future
setCameraAutoFocusFaceModeEnabled(enabled: bool): Future
setCameraCapturerConfiguration(config: CameraCapturerConfiguration): Future
setCameraDeviceOrientation(orientation: VideoSourceType type,required VideoOrientation): Future
setCameraExposureFactor(factor: double): Future
setCameraExposurePosition(positionYinView: double positionXinView,required double): Future
setCameraFocusPositionInPreview(positionY: double positionX,required double): Future
setCameraStabilizationMode(mode: CameraStabilizationMode): Future
setCameraTorchOn(isOn: bool): Future
setCameraZoomFactor(factor: double): Future
setChannelProfile(profile: ChannelProfileType): Future
setClientRole(options?: ClientRoleType role,ClientRoleOptions?): Future
setCloudProxy(proxyType: CloudProxyType): Future
setColorEnhanceOptions(null: bool enabled,required ColorEnhanceOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setDefaultAudioRouteToSpeakerphone(defaultToSpeaker: bool): Future
setDualStreamMode(streamConfig?: SimulcastStreamMode mode,SimulcastStreamConfig?): Future
setEarMonitoringAudioFrameParameters(samplesPerCall: int sampleRate,required int channel,required RawAudioFrameOpModeType mode,required int): Future
setEffectPosition(pos: int soundId,required int): Future
setEffectsVolume(volume: int): Future
setEnableSpeakerphone(speakerOn: bool): Future
setExtensionProperty(null: String provider,required String extension,required String key,required String value,MediaSourceType type = MediaSourceType.unknownMediaSource): Future
setExtensionProviderProperty(value: String provider,required String key,required String): Future
setExternalMediaProjection(mediaProjection: int): Future
setExternalRemoteEglContext(eglContext: int): Future
setFaceShapeAreaOptions(null: FaceShapeAreaOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setFaceShapeBeautyOptions(null: bool enabled,required FaceShapeBeautyOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setFilterEffectOptions(null: bool enabled,required FilterEffectOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setHeadphoneEQParameters(highGain: int lowGain,required int): Future
setHeadphoneEQPreset(preset: HeadphoneEqualizerPreset): Future
setInEarMonitoringVolume(volume: int): Future
setLocalAccessPoint(config: LocalAccessPointConfiguration): Future
setLocalRenderMode(null: RenderModeType renderMode,VideoMirrorModeType mirrorMode = VideoMirrorModeType.videoMirrorModeAuto): Future
setLocalRenderTargetFps(targetFps: VideoSourceType sourceType,required int): Future
setLocalVideoMirrorMode(mirrorMode: VideoMirrorModeType): Future
setLocalVoiceEqualization(bandGain: AudioEqualizationBandFrequency bandFrequency,required int): Future
setLocalVoiceFormant(formantRatio: double): Future
setLocalVoicePitch(pitch: double): Future
setLocalVoiceReverb(value: AudioReverbType reverbKey,required int): Future
setLogFile(filePath: String): Future
setLogFileSize(fileSizeInKBytes: int): Future
setLogFilter(filter: LogFilterType): Future
setLogLevel(level: LogLevel): Future
setLowlightEnhanceOptions(null: bool enabled,required LowlightEnhanceOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setMaxMetadataSize(size: int): Future
setMixedAudioFrameParameters(samplesPerCall: int sampleRate,required int channel,required int): Future
setParameters(parameters: String): Future
setPlaybackAudioFrameBeforeMixingParameters(samplesPerCall: int sampleRate,required int channel {required int sampleRate,required int): Future
setPlaybackAudioFrameParameters(samplesPerCall: int sampleRate,required int channel,required RawAudioFrameOpModeType mode,required int): Future
setRecordingAudioFrameParameters(samplesPerCall: int sampleRate,required int channel,required RawAudioFrameOpModeType mode,required int): Future
setRemoteDefaultVideoStreamType(streamType: VideoStreamType): Future
setRemoteRenderMode(mirrorMode: int uid,required RenderModeType renderMode,required VideoMirrorModeType): Future
setRemoteRenderTargetFps(targetFps: int): Future
setRemoteSubscribeFallbackOption(option: StreamFallbackOptions): Future
setRemoteUserSpatialAudioParams(params: int uid,required SpatialAudioParams): Future
setRemoteVideoStreamType(streamType: int uid,required VideoStreamType): Future
setRemoteVideoSubscriptionOptions(options: int uid,required VideoSubscriptionOptions): Future
setRemoteVoicePosition(gain: int uid,required double pan,required double): Future
setRouteInCommunicationMode(route: int): Future
setScreenCaptureContentHint(contentHint: VideoContentHint): Future
setScreenCaptureScenario(screenScenario: ScreenScenarioType): Future
setSubscribeAudioAllowlist(uidNumber: List uidList,required int): Future
setSubscribeAudioBlocklist(uidNumber: List uidList,required int): Future
setSubscribeVideoAllowlist(uidNumber: List uidList,required int): Future
setSubscribeVideoBlocklist(uidNumber: List uidList,required int): Future
setVideoDenoiserOptions(null: bool enabled,required VideoDenoiserOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource): Future
setVideoEncoderConfiguration(config: VideoEncoderConfiguration): Future
setVideoScenario(scenarioType: VideoApplicationScenarioType): Future
setVoiceBeautifierParameters(param2: VoiceBeautifierPreset preset,required int param1,required int): Future
setVoiceBeautifierPreset(preset: VoiceBeautifierPreset): Future
setVoiceConversionPreset(preset: VoiceConversionPreset): Future
setVolumeOfEffect(volume: int soundId,required int): Future
setupLocalVideo(canvas: VideoCanvas): Future
setupRemoteVideo(canvas: VideoCanvas): Future
startAudioMixing(null: String filePath,required bool loopback,required int cycle,int startPos = 0): Future
startAudioRecording(config: AudioRecordingConfiguration): Future
startCameraCapture(config: VideoSourceType sourceType,required CameraCapturerConfiguration): Future
startEchoTest(config: EchoTestConfiguration): Future
startLastmileProbeTest(config: LastmileProbeConfig): Future
startLocalAudioMixer(config: LocalAudioMixerConfiguration): Future
startLocalVideoTranscoder(config: LocalTranscoderConfiguration): Future
startMediaRenderingTracing(): Future
startOrUpdateChannelMediaRelay(configuration: ChannelMediaRelayConfiguration): Future
startPreview(null: VideoSourceType sourceType = VideoSourceType.videoSourceCameraPrimary): Future
startPreviewWithoutSourceType(): Future
startRhythmPlayer(config: String sound1,required String sound2,required AgoraRhythmPlayerConfig): Future
startRtmpStreamWithTranscoding(transcoding: String url,required LiveTranscoding): Future
startRtmpStreamWithoutTranscoding(url: String): Future
startScreenCapture(captureParams: ScreenCaptureParameters2): Future
startScreenCaptureByDisplayId(captureParams: int displayId,required Rectangle regionRect,required ScreenCaptureParameters): Future
startScreenCaptureByScreenRect(captureParams: Rectangle screenRect,required Rectangle regionRect,required ScreenCaptureParameters): Future
startScreenCaptureBySourceType(config: VideoSourceType sourceType,required ScreenCaptureConfiguration): Future
startScreenCaptureByWindowId(captureParams: int windowId,required Rectangle regionRect,required ScreenCaptureParameters): Future
stopAllEffects(): Future
stopAudioMixing(): Future
stopAudioRecording(): Future
stopCameraCapture(sourceType: VideoSourceType): Future
stopChannelMediaRelay(): Future
stopEchoTest(): Future
stopEffect(soundId: int): Future
stopLastmileProbeTest(): Future
stopLocalAudioMixer(): Future
stopLocalVideoTranscoder(): Future
stopPreview(null: VideoSourceType sourceType = VideoSourceType.videoSourceCameraPrimary): Future
stopRhythmPlayer(): Future
stopRtmpStream(url: String): Future
stopScreenCapture(): Future
stopScreenCaptureBySourceType(sourceType: VideoSourceType): Future
switchCamera(): Future
takeSnapshot(filePath: int uid,required String): Future
takeSnapshotWithConfig(config: int uid,required SnapshotConfig): Future
unloadAllEffects(): Future
unloadEffect(soundId: int): Future
unregisterAudioEncodedFrameObserver(observer: AudioEncodedFrameObserver): void
unregisterAudioSpectrumObserver(observer: AudioSpectrumObserver): void
unregisterEventHandler(eventHandler: RtcEngineEventHandler): void
unregisterMediaMetadataObserver(type: MetadataObserver observer,required MetadataType): void
updateChannelMediaOptions(options: ChannelMediaOptions): Future
updateLocalAudioMixerConfiguration(config: LocalAudioMixerConfiguration): Future
updateLocalTranscoderConfiguration(config: LocalTranscoderConfiguration): Future
updatePreloadChannelToken(token: String): Future
updateRtmpTranscoding(transcoding: LiveTranscoding): Future
updateScreenCapture(captureParams: ScreenCaptureParameters2): Future
updateScreenCaptureParameters(captureParams: ScreenCaptureParameters): Future
updateScreenCaptureRegion(regionRect: Rectangle): FutureMethod detail: 272 / 272 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
addVideoWatermark | options: String watermarkUrl,required WatermarkOptions | Future | Error code index |
addVideoWatermarkWithConfig | configs: WatermarkConfig | Future | Error code index |
adjustAudioMixingPlayoutVolume | volume: int | Future | Error code index |
adjustAudioMixingPublishVolume | volume: int | Future | Error code index |
adjustAudioMixingVolume | volume: int | Future | Error code index |
adjustCustomAudioPlayoutVolume | volume: int trackId,required int | Future | Error code index |
adjustCustomAudioPublishVolume | volume: int trackId,required int | Future | Error code index |
adjustLoopbackSignalVolume | volume: int | Future | Error code index |
adjustPlaybackSignalVolume | volume: int | Future | Error code index |
adjustRecordingSignalVolume | volume: int | Future | Error code index |
adjustUserPlaybackSignalVolume | volume: int uid,required int | Future | Error code index |
clearVideoWatermarks | — | Future | Error code index |
complain | description: String callId,required String | Future | Error code index |
configRhythmPlayer | config: AgoraRhythmPlayerConfig | Future | Error code index |
createAgoraRtcEngine | — | RtcEngine | Error code index |
createCustomVideoTrack | — | Future | Error code index |
createDataStream | config: DataStreamConfig | Future | Error code index |
createMediaPlayer | — | Future | Error code index |
createMediaRecorder | info: RecorderStreamInfo | Future | Error code index |
createVideoEffectObject | null: String bundlePath,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
destroyCustomVideoTrack | videoTrackId: int | Future | Error code index |
destroyMediaPlayer | mediaPlayer: MediaPlayer | Future | Error code index |
destroyMediaRecorder | mediaRecorder: MediaRecorder | Future | Error code index |
destroyVideoEffectObject | videoEffectObject: VideoEffectObject | Future | Error code index |
disableAudio | — | Future | Error code index |
disableAudioSpectrumMonitor | — | Future | Error code index |
disableVideo | — | Future | Error code index |
enableAudio | — | Future | Error code index |
enableAudioSpectrumMonitor | null: int intervalInMS = 100 | Future | Error code index |
enableAudioVolumeIndication | reportVad: int interval,required int smooth,required bool | Future | Error code index |
enableCameraCenterStage | enabled: bool | Future | Error code index |
enableContentInspect | config: bool enabled,required ContentInspectConfig | Future | Error code index |
enableCustomAudioLocalPlayback | enabled: int trackId,required bool | Future | Error code index |
enableDualStreamMode | streamConfig?: bool enabled,SimulcastStreamConfig? | Future | Error code index |
enableEncryption | config: bool enabled,required EncryptionConfig | Future | Error code index |
enableExtension | null: String provider,required String extension,bool enable = true,MediaSourceType type = MediaSourceType.unknownMediaSource | Future | Error code index |
enableFaceDetection | enabled: bool | Future | Error code index |
enableInEarMonitoring | includeAudioFilters: bool enabled,required EarMonitoringFilterType | Future | Error code index |
enableInstantMediaRendering | — | Future | Error code index |
enableLocalAudio | enabled: bool | Future | Error code index |
enableLocalVideo | enabled: bool | Future | Error code index |
enableLoopbackRecording | deviceName?: bool enabled,String? | Future | Error code index |
enableMultiCamera | config: bool enabled,required CameraCapturerConfiguration | Future | Error code index |
enableSoundPositionIndication | enabled: bool | Future | Error code index |
enableSpatialAudio | enabled: bool | Future | Error code index |
enableVideo | — | Future | Error code index |
enableVideoImageSource | options: bool enable,required ImageTrackOptions | Future | Error code index |
enableVirtualBackground | null: bool enabled,required VirtualBackgroundSource backgroundSource,required SegmentationProperty segproperty,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
enableVoiceAITuner | type: bool enabled,required VoiceAiTunerType | Future | Error code index |
enableWebSdkInteroperability | enabled: bool | Future | Error code index |
getAudioDeviceInfo | — | Future | Error code index |
getAudioDeviceManager | — | AudioDeviceManager | Error code index |
getAudioMixingCurrentPosition | — | Future | Error code index |
getAudioMixingDuration | — | Future | Error code index |
getAudioMixingPlayoutVolume | — | Future | Error code index |
getAudioMixingPublishVolume | — | Future | Error code index |
getAudioTrackCount | — | Future | Error code index |
getCallId | — | Future | Error code index |
getCameraMaxZoomFactor | — | Future | Error code index |
getConnectionState | — | Future | Error code index |
getCurrentMonotonicTimeInMs | — | Future | Error code index |
getEffectCurrentPosition | soundId: int | Future | Error code index |
getEffectDuration | filePath: String | Future | Error code index |
getEffectsVolume | — | Future | Error code index |
getErrorDescription | code: int | Future | Error code index |
getExtensionProperty | null: String provider,required String extension,required String key,required int bufLen,MediaSourceType type = MediaSourceType.unknownMediaSource | Future | Error code index |
getFaceShapeAreaOptions | null: FaceShapeArea shapeArea,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
getFaceShapeBeautyOptions | null: MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
getLocalSpatialAudioEngine | — | LocalSpatialAudioEngine | Error code index |
getMediaEngine | — | MediaEngine | Error code index |
getMusicContentCenter | — | MusicContentCenter | Error code index |
getNativeHandle | — | Future | Error code index |
getNetworkType | — | Future | Error code index |
getNtpWallTimeInMs | — | Future | Error code index |
getScreenCaptureSources | includeScreen: Size thumbSize,required Size iconSize,required bool | Future -> | Error code index |
getUserInfoByUid | uid: int | Future | Error code index |
getUserInfoByUserAccount | userAccount: String | Future | Error code index |
getVersion | — | Future | Error code index |
getVideoDeviceManager | — | VideoDeviceManager | Error code index |
getVolumeOfEffect | soundId: int | Future | Error code index |
initialize | context: RtcEngineContext | Future | Error code index |
isCameraAutoExposureFaceModeSupported | — | Future | Error code index |
isCameraAutoFocusFaceModeSupported | — | Future | Error code index |
isCameraCenterStageSupported | — | Future | Error code index |
isCameraExposurePositionSupported | — | Future | Error code index |
isCameraExposureSupported | — | Future | Error code index |
isCameraFaceDetectSupported | — | Future | Error code index |
isCameraFocusSupported | — | Future | Error code index |
isCameraTorchSupported | — | Future | Error code index |
isCameraZoomSupported | — | Future | Error code index |
isFeatureAvailableOnDevice | type: FeatureType | Future | Error code index |
isSpeakerphoneEnabled | — | Future | Error code index |
joinChannel | options: String token,required String channelId,required int uid,required ChannelMediaOptions | Future | Error code index |
joinChannelWithUserAccount | options?: String token,required String channelId,required String userAccount,ChannelMediaOptions? | Future | Error code index |
joinChannelWithUserAccountEx | options: String token,required String channelId,required String userAccount,required ChannelMediaOptions | Future | Error code index |
leaveChannel | options?: LeaveChannelOptions? | Future | Error code index |
loadExtensionProvider | false: String path,bool unloadAfterUse = | Future | Error code index |
muteAllRemoteAudioStreams | mute: bool | Future | Error code index |
muteAllRemoteVideoStreams | mute: bool | Future | Error code index |
muteLocalAudioStream | mute: bool | Future | Error code index |
muteLocalVideoStream | mute: bool | Future | Error code index |
muteRecordingSignal | mute: bool | Future | Error code index |
muteRemoteAudioStream | mute: int uid,required bool | Future | Error code index |
muteRemoteVideoStream | mute: int uid,required bool | Future | Error code index |
pauseAllChannelMediaRelay | — | Future | Error code index |
pauseAllEffects | — | Future | Error code index |
pauseAudioMixing | — | Future | Error code index |
pauseEffect | soundId: int | Future | Error code index |
playAllEffects | false: int loopCount,required double pitch,required double pan,required int gain,bool publish = | Future | Error code index |
playEffect | null: int soundId,required String filePath,required int loopCount,required double pitch,required double pan,required int gain,bool publish = false,int startPos = 0 | Future | Error code index |
preloadChannel | uid: String token,required String channelId,required int | Future | Error code index |
preloadChannelWithUserAccount | userAccount: String token,required String channelId,required String | Future | Error code index |
preloadEffect | null: int soundId,required String filePath,int startPos = 0 | Future | Error code index |
queryCameraFocalLengthCapability | — | Future -> | Error code index |
queryCodecCapability | size: int | Future -> | Error code index |
queryDeviceScore | — | Future | Error code index |
queryScreenCaptureCapability | — | Future | Error code index |
rate | description: String callId,required int rating,required String | Future | Error code index |
registerAudioEncodedFrameObserver | observer: AudioEncodedFrameObserverConfig config,required AudioEncodedFrameObserver | void | Error code index |
registerAudioSpectrumObserver | observer: AudioSpectrumObserver | void | Error code index |
registerEventHandler | eventHandler: RtcEngineEventHandler | void | Error code index |
registerExtension | null: String provider,required String extension,MediaSourceType type = MediaSourceType.unknownMediaSource | Future | Error code index |
registerLocalUserAccount | userAccount: String appId,required String | Future | Error code index |
registerMediaMetadataObserver | type: MetadataObserver observer,required MetadataType | void | Error code index |
release | false: bool sync = | Future | Error code index |
removeVideoWatermark | id: String | Future | Error code index |
renewToken | token: String | Future | Error code index |
resumeAllChannelMediaRelay | — | Future | Error code index |
resumeAllEffects | — | Future | Error code index |
resumeAudioMixing | — | Future | Error code index |
resumeEffect | soundId: int | Future | Error code index |
selectAudioTrack | index: int | Future | Error code index |
sendCustomReportMessage | value: String id,required String category,required String event,required String label,required int | Future | Error code index |
sendMetaData | sourceType: Metadata metadata,required VideoSourceType | Future | Error code index |
sendStreamMessage | length: int streamId,required Uint8List data,required int | Future | Error code index |
setAINSMode | mode: bool enabled,required AudioAinsMode | Future | Error code index |
setAVSyncSource | uid: String channelId,required int | Future | Error code index |
setAdvancedAudioOptions | options: AdvancedAudioOptions | Future | Error code index |
setAudioEffectParameters | param2: AudioEffectPreset preset,required int param1,required int | Future | Error code index |
setAudioEffectPreset | preset: AudioEffectPreset | Future | Error code index |
setAudioMixingDualMonoMode | mode: AudioMixingDualMonoMode | Future | Error code index |
setAudioMixingPitch | pitch: int | Future | Error code index |
setAudioMixingPlaybackSpeed | speed: int | Future | Error code index |
setAudioMixingPosition | pos: int | Future | Error code index |
setAudioProfile | null: AudioProfileType profile,AudioScenarioType scenario = AudioScenarioType.audioScenarioDefault | Future | Error code index |
setAudioScenario | scenario: AudioScenarioType | Future | Error code index |
setAudioSessionOperationRestriction | restriction: AudioSessionOperationRestriction | Future | Error code index |
setBeautyEffectOptions | null: bool enabled,required BeautyOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setCameraAutoExposureFaceModeEnabled | enabled: bool | Future | Error code index |
setCameraAutoFocusFaceModeEnabled | enabled: bool | Future | Error code index |
setCameraCapturerConfiguration | config: CameraCapturerConfiguration | Future | Error code index |
setCameraDeviceOrientation | orientation: VideoSourceType type,required VideoOrientation | Future | Error code index |
setCameraExposureFactor | factor: double | Future | Error code index |
setCameraExposurePosition | positionYinView: double positionXinView,required double | Future | Error code index |
setCameraFocusPositionInPreview | positionY: double positionX,required double | Future | Error code index |
setCameraStabilizationMode | mode: CameraStabilizationMode | Future | Error code index |
setCameraTorchOn | isOn: bool | Future | Error code index |
setCameraZoomFactor | factor: double | Future | Error code index |
setChannelProfile | profile: ChannelProfileType | Future | Error code index |
setClientRole | options?: ClientRoleType role,ClientRoleOptions? | Future | Error code index |
setCloudProxy | proxyType: CloudProxyType | Future | Error code index |
setColorEnhanceOptions | null: bool enabled,required ColorEnhanceOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setDefaultAudioRouteToSpeakerphone | defaultToSpeaker: bool | Future | Error code index |
setDualStreamMode | streamConfig?: SimulcastStreamMode mode,SimulcastStreamConfig? | Future | Error code index |
setEarMonitoringAudioFrameParameters | samplesPerCall: int sampleRate,required int channel,required RawAudioFrameOpModeType mode,required int | Future | Error code index |
setEffectPosition | pos: int soundId,required int | Future | Error code index |
setEffectsVolume | volume: int | Future | Error code index |
setEnableSpeakerphone | speakerOn: bool | Future | Error code index |
setExtensionProperty | null: String provider,required String extension,required String key,required String value,MediaSourceType type = MediaSourceType.unknownMediaSource | Future | Error code index |
setExtensionProviderProperty | value: String provider,required String key,required String | Future | Error code index |
setExternalMediaProjection | mediaProjection: int | Future | Error code index |
setExternalRemoteEglContext | eglContext: int | Future | Error code index |
setFaceShapeAreaOptions | null: FaceShapeAreaOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setFaceShapeBeautyOptions | null: bool enabled,required FaceShapeBeautyOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setFilterEffectOptions | null: bool enabled,required FilterEffectOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setHeadphoneEQParameters | highGain: int lowGain,required int | Future | Error code index |
setHeadphoneEQPreset | preset: HeadphoneEqualizerPreset | Future | Error code index |
setInEarMonitoringVolume | volume: int | Future | Error code index |
setLocalAccessPoint | config: LocalAccessPointConfiguration | Future | Error code index |
setLocalRenderMode | null: RenderModeType renderMode,VideoMirrorModeType mirrorMode = VideoMirrorModeType.videoMirrorModeAuto | Future | Error code index |
setLocalRenderTargetFps | targetFps: VideoSourceType sourceType,required int | Future | Error code index |
setLocalVideoMirrorMode | mirrorMode: VideoMirrorModeType | Future | Error code index |
setLocalVoiceEqualization | bandGain: AudioEqualizationBandFrequency bandFrequency,required int | Future | Error code index |
setLocalVoiceFormant | formantRatio: double | Future | Error code index |
setLocalVoicePitch | pitch: double | Future | Error code index |
setLocalVoiceReverb | value: AudioReverbType reverbKey,required int | Future | Error code index |
setLogFile | filePath: String | Future | Error code index |
setLogFileSize | fileSizeInKBytes: int | Future | Error code index |
setLogFilter | filter: LogFilterType | Future | Error code index |
setLogLevel | level: LogLevel | Future | Error code index |
setLowlightEnhanceOptions | null: bool enabled,required LowlightEnhanceOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setMaxMetadataSize | size: int | Future | Error code index |
setMixedAudioFrameParameters | samplesPerCall: int sampleRate,required int channel,required int | Future | Error code index |
setParameters | parameters: String | Future | Error code index |
setPlaybackAudioFrameBeforeMixingParameters | samplesPerCall: int sampleRate,required int channel {required int sampleRate,required int | Future | Error code index |
setPlaybackAudioFrameParameters | samplesPerCall: int sampleRate,required int channel,required RawAudioFrameOpModeType mode,required int | Future | Error code index |
setRecordingAudioFrameParameters | samplesPerCall: int sampleRate,required int channel,required RawAudioFrameOpModeType mode,required int | Future | Error code index |
setRemoteDefaultVideoStreamType | streamType: VideoStreamType | Future | Error code index |
setRemoteRenderMode | mirrorMode: int uid,required RenderModeType renderMode,required VideoMirrorModeType | Future | Error code index |
setRemoteRenderTargetFps | targetFps: int | Future | Error code index |
setRemoteSubscribeFallbackOption | option: StreamFallbackOptions | Future | Error code index |
setRemoteUserSpatialAudioParams | params: int uid,required SpatialAudioParams | Future | Error code index |
setRemoteVideoStreamType | streamType: int uid,required VideoStreamType | Future | Error code index |
setRemoteVideoSubscriptionOptions | options: int uid,required VideoSubscriptionOptions | Future | Error code index |
setRemoteVoicePosition | gain: int uid,required double pan,required double | Future | Error code index |
setRouteInCommunicationMode | route: int | Future | Error code index |
setScreenCaptureContentHint | contentHint: VideoContentHint | Future | Error code index |
setScreenCaptureScenario | screenScenario: ScreenScenarioType | Future | Error code index |
setSubscribeAudioAllowlist | uidNumber: List uidList,required int | Future | Error code index |
setSubscribeAudioBlocklist | uidNumber: List uidList,required int | Future | Error code index |
setSubscribeVideoAllowlist | uidNumber: List uidList,required int | Future | Error code index |
setSubscribeVideoBlocklist | uidNumber: List uidList,required int | Future | Error code index |
setVideoDenoiserOptions | null: bool enabled,required VideoDenoiserOptions options,MediaSourceType type = MediaSourceType.primaryCameraSource | Future | Error code index |
setVideoEncoderConfiguration | config: VideoEncoderConfiguration | Future | Error code index |
setVideoScenario | scenarioType: VideoApplicationScenarioType | Future | Error code index |
setVoiceBeautifierParameters | param2: VoiceBeautifierPreset preset,required int param1,required int | Future | Error code index |
setVoiceBeautifierPreset | preset: VoiceBeautifierPreset | Future | Error code index |
setVoiceConversionPreset | preset: VoiceConversionPreset | Future | Error code index |
setVolumeOfEffect | volume: int soundId,required int | Future | Error code index |
setupLocalVideo | canvas: VideoCanvas | Future | Error code index |
setupRemoteVideo | canvas: VideoCanvas | Future | Error code index |
startAudioMixing | null: String filePath,required bool loopback,required int cycle,int startPos = 0 | Future | Error code index |
startAudioRecording | config: AudioRecordingConfiguration | Future | Error code index |
startCameraCapture | config: VideoSourceType sourceType,required CameraCapturerConfiguration | Future | Error code index |
startEchoTest | config: EchoTestConfiguration | Future | Error code index |
startLastmileProbeTest | config: LastmileProbeConfig | Future | Error code index |
startLocalAudioMixer | config: LocalAudioMixerConfiguration | Future | Error code index |
startLocalVideoTranscoder | config: LocalTranscoderConfiguration | Future | Error code index |
startMediaRenderingTracing | — | Future | Error code index |
startOrUpdateChannelMediaRelay | configuration: ChannelMediaRelayConfiguration | Future | Error code index |
startPreview | null: VideoSourceType sourceType = VideoSourceType.videoSourceCameraPrimary | Future | Error code index |
startPreviewWithoutSourceType | — | Future | Error code index |
startRhythmPlayer | config: String sound1,required String sound2,required AgoraRhythmPlayerConfig | Future | Error code index |
startRtmpStreamWithTranscoding | transcoding: String url,required LiveTranscoding | Future | Error code index |
startRtmpStreamWithoutTranscoding | url: String | Future | Error code index |
startScreenCapture | captureParams: ScreenCaptureParameters2 | Future | Error code index |
startScreenCaptureByDisplayId | captureParams: int displayId,required Rectangle regionRect,required ScreenCaptureParameters | Future | Error code index |
startScreenCaptureByScreenRect | captureParams: Rectangle screenRect,required Rectangle regionRect,required ScreenCaptureParameters | Future | Error code index |
startScreenCaptureBySourceType | config: VideoSourceType sourceType,required ScreenCaptureConfiguration | Future | Error code index |
startScreenCaptureByWindowId | captureParams: int windowId,required Rectangle regionRect,required ScreenCaptureParameters | Future | Error code index |
stopAllEffects | — | Future | Error code index |
stopAudioMixing | — | Future | Error code index |
stopAudioRecording | — | Future | Error code index |
stopCameraCapture | sourceType: VideoSourceType | Future | Error code index |
stopChannelMediaRelay | — | Future | Error code index |
stopEchoTest | — | Future | Error code index |
stopEffect | soundId: int | Future | Error code index |
stopLastmileProbeTest | — | Future | Error code index |
stopLocalAudioMixer | — | Future | Error code index |
stopLocalVideoTranscoder | — | Future | Error code index |
stopPreview | null: VideoSourceType sourceType = VideoSourceType.videoSourceCameraPrimary | Future | Error code index |
stopRhythmPlayer | — | Future | Error code index |
stopRtmpStream | url: String | Future | Error code index |
stopScreenCapture | — | Future | Error code index |
stopScreenCaptureBySourceType | sourceType: VideoSourceType | Future | Error code index |
switchCamera | — | Future | Error code index |
takeSnapshot | filePath: int uid,required String | Future | Error code index |
takeSnapshotWithConfig | config: int uid,required SnapshotConfig | Future | Error code index |
unloadAllEffects | — | Future | Error code index |
unloadEffect | soundId: int | Future | Error code index |
unregisterAudioEncodedFrameObserver | observer: AudioEncodedFrameObserver | void | Error code index |
unregisterAudioSpectrumObserver | observer: AudioSpectrumObserver | void | Error code index |
unregisterEventHandler | eventHandler: RtcEngineEventHandler | void | Error code index |
unregisterMediaMetadataObserver | type: MetadataObserver observer,required MetadataType | void | Error code index |
updateChannelMediaOptions | options: ChannelMediaOptions | Future | Error code index |
updateLocalAudioMixerConfiguration | config: LocalAudioMixerConfiguration | Future | Error code index |
updateLocalTranscoderConfiguration | config: LocalTranscoderConfiguration | Future | Error code index |
updatePreloadChannelToken | token: String | Future | Error code index |
updateRtmpTranscoding | transcoding: LiveTranscoding | Future | Error code index |
updateScreenCapture | captureParams: ScreenCaptureParameters2 | Future | Error code index |
updateScreenCaptureParameters | captureParams: ScreenCaptureParameters | Future | Error code index |
updateScreenCaptureRegion | regionRect: Rectangle | Future | Error code index |
RtcEngineContext 0 method / 7 Property
| Property | Type | read-only |
|---|---|---|
appId | String? | No |
channelProfile | ChannelProfileType? | No |
audioScenario | AudioScenarioType? | No |
areaCode | int? | No |
logConfig | LogConfig? | No |
domainLimit | bool? | No |
autoRegisterAgoraExtensions | bool? | No |
RtcEngineEventHandler 87 method / 0 Property
onActiveSpeaker(connection: RtcConnection, uid: int): void
onAudioDeviceStateChanged(deviceId: String, deviceType: MediaDeviceType, deviceState: MediaDeviceStateType): void
onAudioDeviceVolumeChanged(deviceType: MediaDeviceType, volume: int, muted: bool): void
onAudioEffectFinished(soundId: int): void
onAudioMixingFinished(): void
onAudioMixingPositionChanged(position: int): void
onAudioMixingStateChanged(state: AudioMixingStateType, reason: AudioMixingReasonType): void
onAudioPublishStateChanged(channel: String, oldState: StreamPublishState, newState: StreamPublishState, elapseSinceLastState: int): void
onAudioQuality(connection: RtcConnection, remoteUid: int, quality: QualityType, delay: int, lost: int): void
onAudioRoutingChanged(routing: int): void
onAudioSubscribeStateChanged(channel: String, uid: int, oldState: StreamSubscribeState, newState: StreamSubscribeState, elapseSinceLastState: int): void
onAudioVolumeIndication(connection: RtcConnection, speakers: List, speakerNumber: int, totalVolume: int): void
onCameraExposureAreaChanged(x: int, y: int, width: int, height: int): void
onCameraFocusAreaChanged(x: int, y: int, width: int, height: int): void
onCameraReady(): void
onChannelMediaRelayStateChanged(state: ChannelMediaRelayState, code: ChannelMediaRelayError): void
onClientRoleChangeFailed(connection: RtcConnection, reason: ClientRoleChangeFailedReason, currentRole: ClientRoleType): void
onClientRoleChanged(connection: RtcConnection, oldRole: ClientRoleType, newRole: ClientRoleType, newRoleOptions: ClientRoleOptions): void
onConnectionBanned(connection: RtcConnection): void
onConnectionInterrupted(connection: RtcConnection): void
onConnectionLost(connection: RtcConnection): void
onConnectionStateChanged(connection: RtcConnection, state: ConnectionStateType, reason: ConnectionChangedReasonType): void
onEncryptionError(connection: RtcConnection, errorType: EncryptionErrorType): void
onError(err: ErrorCodeType, msg: String): void
onExtensionErrorWithContext(context: ExtensionContext, error: int, message: String): void
onExtensionEventWithContext(context: ExtensionContext, key: String, value: String): void
onExtensionStartedWithContext(context: ExtensionContext): void
onExtensionStoppedWithContext(context: ExtensionContext): void
onFacePositionChanged(imageWidth: int, imageHeight: int, vecRectangle: Rectangle, vecDistance: int, numFaces: int): void
onFirstLocalAudioFramePublished(connection: RtcConnection, elapsed: int): void
onFirstLocalVideoFrame(source: VideoSourceType, width: int, height: int, elapsed: int): void
onFirstLocalVideoFramePublished(connection: RtcConnection, elapsed: int): void
onFirstRemoteAudioDecoded(connection: RtcConnection, uid: int, elapsed: int): void
onFirstRemoteAudioFrame(connection: RtcConnection, userId: int, elapsed: int): void
onFirstRemoteVideoDecoded(connection: RtcConnection, remoteUid: int, width: int, height: int, elapsed: int): void
onFirstRemoteVideoFrame(connection: RtcConnection, remoteUid: int, width: int, height: int, elapsed: int): void
onJoinChannelSuccess(connection: RtcConnection, elapsed: int): void
onLastmileProbeResult(result: LastmileProbeResult): void
onLastmileQuality(quality: QualityType): void
onLeaveChannel(connection: RtcConnection, stats: RtcStats): void
onLocalAudioStateChanged(connection: RtcConnection, state: LocalAudioStreamState, reason: LocalAudioStreamReason): void
onLocalAudioStats(connection: RtcConnection, stats: LocalAudioStats): void
onLocalUserRegistered(uid: int, userAccount: String): void
onLocalVideoEvent(source: VideoSourceType, event: LocalVideoEventType): void
onLocalVideoStateChanged(source: unknown, state: unknown, reason: unknown): unknown
onLocalVideoStats(connection: RtcConnection, stats: LocalVideoStats): void
onLocalVideoTranscoderError(stream: TranscodingVideoStream, error: VideoTranscoderError): void
onMultipathStats(connection: RtcConnection, stats: MultipathStats): void
onNetworkQuality(connection: RtcConnection, remoteUid: int, txQuality: QualityType, rxQuality: QualityType): void
onNetworkTypeChanged(connection: RtcConnection, type: NetworkType): void
onPermissionError(permissionType: PermissionType): void
onPermissionGranted(permissionType: PermissionType): void
onProxyConnected(channel: String, uid: int, proxyType: ProxyType, localProxyIp: String, elapsed: int): void
onRejoinChannelSuccess(connection: RtcConnection, elapsed: int): void
onRemoteAudioStateChanged(connection: RtcConnection, remoteUid: int, state: RemoteAudioState, reason: RemoteAudioStateReason, elapsed: int): void
onRemoteAudioStats(connection: RtcConnection, stats: RemoteAudioStats): void
onRemoteAudioTransportStats(connection: RtcConnection, remoteUid: int, delay: int, lost: int, rxKBitRate: int): void
onRemoteSubscribeFallbackToAudioOnly(uid: int, isFallbackOrRecover: bool): void
onRemoteVideoStateChanged(connection: RtcConnection, remoteUid: int, state: RemoteVideoState, reason: RemoteVideoStateReason, elapsed: int): void
onRemoteVideoStats(connection: RtcConnection, stats: RemoteVideoStats): void
onRemoteVideoTransportStats(connection: RtcConnection, remoteUid: int, delay: int, lost: int, rxKBitRate: int): void
onRenewTokenResult(connection: RtcConnection, token: String, code: RenewTokenErrorCode): void
onRequestToken(connection: RtcConnection): void
onRhythmPlayerStateChanged(state: RhythmPlayerStateType, reason: RhythmPlayerReason): void
onRtcStats(connection: RtcConnection, stats: RtcStats): void
onRtmpStreamingEvent(url: String, eventCode: RtmpStreamingEvent): void
onRtmpStreamingStateChanged(url: String, state: RtmpStreamPublishState, reason: RtmpStreamPublishReason): void
onSnapshotTaken(connection: RtcConnection, uid: int, filePath: String, width: int, height: int, errCode: int): void
onStreamMessage(connection: RtcConnection, remoteUid: int, streamId: int, data: Uint8List, length: int, sentTs: int): void
onStreamMessageError(connection: RtcConnection, remoteUid: int, streamId: int, code: ErrorCodeType, missed: int, cached: int): void
onTokenPrivilegeWillExpire(connection: RtcConnection, token: String): void
onTranscodedStreamLayoutInfo(connection: RtcConnection, uid: int, width: int, height: int, layoutCount: int, layoutlist: List): void
onTranscodingUpdated(): void
onUplinkNetworkInfoUpdated(info: UplinkNetworkInfo): void
onUserEnableLocalVideo(connection: RtcConnection, remoteUid: int, enabled: bool): void
onUserEnableVideo(connection: RtcConnection, remoteUid: int, enabled: bool): void
onUserInfoUpdated(uid: int, info: UserInfo): void
onUserJoined(connection: RtcConnection, remoteUid: int, elapsed: int): void
onUserMuteAudio(connection: RtcConnection, remoteUid: int, muted: bool): void
onUserMuteVideo(connection: RtcConnection, remoteUid: int, muted: bool): void
onUserOffline(connection: RtcConnection, remoteUid: int, reason: UserOfflineReasonType): void
onVideoDeviceStateChanged(deviceId: String, deviceType: MediaDeviceType, deviceState: MediaDeviceStateType): void
onVideoPublishStateChanged(source: VideoSourceType, channel: String, oldState: StreamPublishState, newState: StreamPublishState, elapseSinceLastState: int): void
onVideoRenderingTracingResult(connection: RtcConnection, uid: int, currentEvent: MediaTraceEvent, tracingInfo: VideoRenderingTracingInfo): void
onVideoSizeChanged(connection: RtcConnection, sourceType: VideoSourceType, uid: int, width: int, height: int, rotation: int): void
onVideoStopped(): void
onVideoSubscribeStateChanged(channel: String, uid: int, oldState: StreamSubscribeState, newState: StreamSubscribeState, elapseSinceLastState: int): voidMethod detail: 87 / 87 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onActiveSpeaker | connection: RtcConnection, uid: int | void | Error code index |
onAudioDeviceStateChanged | deviceId: String, deviceType: MediaDeviceType, deviceState: MediaDeviceStateType | void | Error code index |
onAudioDeviceVolumeChanged | deviceType: MediaDeviceType, volume: int, muted: bool | void | Error code index |
onAudioEffectFinished | soundId: int | void | Error code index |
onAudioMixingFinished | — | void | Error code index |
onAudioMixingPositionChanged | position: int | void | Error code index |
onAudioMixingStateChanged | state: AudioMixingStateType, reason: AudioMixingReasonType | void | Error code index |
onAudioPublishStateChanged | channel: String, oldState: StreamPublishState, newState: StreamPublishState, elapseSinceLastState: int | void | Error code index |
onAudioQuality | connection: RtcConnection, remoteUid: int, quality: QualityType, delay: int, lost: int | void | Error code index |
onAudioRoutingChanged | routing: int | void | Error code index |
onAudioSubscribeStateChanged | channel: String, uid: int, oldState: StreamSubscribeState, newState: StreamSubscribeState, elapseSinceLastState: int | void | Error code index |
onAudioVolumeIndication | connection: RtcConnection, speakers: List, speakerNumber: int, totalVolume: int | void | Error code index |
onCameraExposureAreaChanged | x: int, y: int, width: int, height: int | void | Error code index |
onCameraFocusAreaChanged | x: int, y: int, width: int, height: int | void | Error code index |
onCameraReady | — | void | Error code index |
onChannelMediaRelayStateChanged | state: ChannelMediaRelayState, code: ChannelMediaRelayError | void | Error code index |
onClientRoleChangeFailed | connection: RtcConnection, reason: ClientRoleChangeFailedReason, currentRole: ClientRoleType | void | Error code index |
onClientRoleChanged | connection: RtcConnection, oldRole: ClientRoleType, newRole: ClientRoleType, newRoleOptions: ClientRoleOptions | void | Error code index |
onConnectionBanned | connection: RtcConnection | void | Error code index |
onConnectionInterrupted | connection: RtcConnection | void | Error code index |
onConnectionLost | connection: RtcConnection | void | Error code index |
onConnectionStateChanged | connection: RtcConnection, state: ConnectionStateType, reason: ConnectionChangedReasonType | void | Error code index |
onEncryptionError | connection: RtcConnection, errorType: EncryptionErrorType | void | Error code index |
onError | err: ErrorCodeType, msg: String | void | Error code index |
onExtensionErrorWithContext | context: ExtensionContext, error: int, message: String | void | Error code index |
onExtensionEventWithContext | context: ExtensionContext, key: String, value: String | void | Error code index |
onExtensionStartedWithContext | context: ExtensionContext | void | Error code index |
onExtensionStoppedWithContext | context: ExtensionContext | void | Error code index |
onFacePositionChanged | imageWidth: int, imageHeight: int, vecRectangle: Rectangle, vecDistance: int, numFaces: int | void | Error code index |
onFirstLocalAudioFramePublished | connection: RtcConnection, elapsed: int | void | Error code index |
onFirstLocalVideoFrame | source: VideoSourceType, width: int, height: int, elapsed: int | void | Error code index |
onFirstLocalVideoFramePublished | connection: RtcConnection, elapsed: int | void | Error code index |
onFirstRemoteAudioDecoded | connection: RtcConnection, uid: int, elapsed: int | void | Error code index |
onFirstRemoteAudioFrame | connection: RtcConnection, userId: int, elapsed: int | void | Error code index |
onFirstRemoteVideoDecoded | connection: RtcConnection, remoteUid: int, width: int, height: int, elapsed: int | void | Error code index |
onFirstRemoteVideoFrame | connection: RtcConnection, remoteUid: int, width: int, height: int, elapsed: int | void | Error code index |
onJoinChannelSuccess | connection: RtcConnection, elapsed: int | void | Error code index |
onLastmileProbeResult | result: LastmileProbeResult | void | Error code index |
onLastmileQuality | quality: QualityType | void | Error code index |
onLeaveChannel | connection: RtcConnection, stats: RtcStats | void | Error code index |
onLocalAudioStateChanged | connection: RtcConnection, state: LocalAudioStreamState, reason: LocalAudioStreamReason | void | Error code index |
onLocalAudioStats | connection: RtcConnection, stats: LocalAudioStats | void | Error code index |
onLocalUserRegistered | uid: int, userAccount: String | void | Error code index |
onLocalVideoEvent | source: VideoSourceType, event: LocalVideoEventType | void | Error code index |
onLocalVideoStateChanged | source: unknown, state: unknown, reason: unknown | unknown | Error code index |
onLocalVideoStats | connection: RtcConnection, stats: LocalVideoStats | void | Error code index |
onLocalVideoTranscoderError | stream: TranscodingVideoStream, error: VideoTranscoderError | void | Error code index |
onMultipathStats | connection: RtcConnection, stats: MultipathStats | void | Error code index |
onNetworkQuality | connection: RtcConnection, remoteUid: int, txQuality: QualityType, rxQuality: QualityType | void | Error code index |
onNetworkTypeChanged | connection: RtcConnection, type: NetworkType | void | Error code index |
onPermissionError | permissionType: PermissionType | void | Error code index |
onPermissionGranted | permissionType: PermissionType | void | Error code index |
onProxyConnected | channel: String, uid: int, proxyType: ProxyType, localProxyIp: String, elapsed: int | void | Error code index |
onRejoinChannelSuccess | connection: RtcConnection, elapsed: int | void | Error code index |
onRemoteAudioStateChanged | connection: RtcConnection, remoteUid: int, state: RemoteAudioState, reason: RemoteAudioStateReason, elapsed: int | void | Error code index |
onRemoteAudioStats | connection: RtcConnection, stats: RemoteAudioStats | void | Error code index |
onRemoteAudioTransportStats | connection: RtcConnection, remoteUid: int, delay: int, lost: int, rxKBitRate: int | void | Error code index |
onRemoteSubscribeFallbackToAudioOnly | uid: int, isFallbackOrRecover: bool | void | Error code index |
onRemoteVideoStateChanged | connection: RtcConnection, remoteUid: int, state: RemoteVideoState, reason: RemoteVideoStateReason, elapsed: int | void | Error code index |
onRemoteVideoStats | connection: RtcConnection, stats: RemoteVideoStats | void | Error code index |
onRemoteVideoTransportStats | connection: RtcConnection, remoteUid: int, delay: int, lost: int, rxKBitRate: int | void | Error code index |
onRenewTokenResult | connection: RtcConnection, token: String, code: RenewTokenErrorCode | void | Error code index |
onRequestToken | connection: RtcConnection | void | Error code index |
onRhythmPlayerStateChanged | state: RhythmPlayerStateType, reason: RhythmPlayerReason | void | Error code index |
onRtcStats | connection: RtcConnection, stats: RtcStats | void | Error code index |
onRtmpStreamingEvent | url: String, eventCode: RtmpStreamingEvent | void | Error code index |
onRtmpStreamingStateChanged | url: String, state: RtmpStreamPublishState, reason: RtmpStreamPublishReason | void | Error code index |
onSnapshotTaken | connection: RtcConnection, uid: int, filePath: String, width: int, height: int, errCode: int | void | Error code index |
onStreamMessage | connection: RtcConnection, remoteUid: int, streamId: int, data: Uint8List, length: int, sentTs: int | void | Error code index |
onStreamMessageError | connection: RtcConnection, remoteUid: int, streamId: int, code: ErrorCodeType, missed: int, cached: int | void | Error code index |
onTokenPrivilegeWillExpire | connection: RtcConnection, token: String | void | Error code index |
onTranscodedStreamLayoutInfo | connection: RtcConnection, uid: int, width: int, height: int, layoutCount: int, layoutlist: List | void | Error code index |
onTranscodingUpdated | — | void | Error code index |
onUplinkNetworkInfoUpdated | info: UplinkNetworkInfo | void | Error code index |
onUserEnableLocalVideo | connection: RtcConnection, remoteUid: int, enabled: bool | void | Error code index |
onUserEnableVideo | connection: RtcConnection, remoteUid: int, enabled: bool | void | Error code index |
onUserInfoUpdated | uid: int, info: UserInfo | void | Error code index |
onUserJoined | connection: RtcConnection, remoteUid: int, elapsed: int | void | Error code index |
onUserMuteAudio | connection: RtcConnection, remoteUid: int, muted: bool | void | Error code index |
onUserMuteVideo | connection: RtcConnection, remoteUid: int, muted: bool | void | Error code index |
onUserOffline | connection: RtcConnection, remoteUid: int, reason: UserOfflineReasonType | void | Error code index |
onVideoDeviceStateChanged | deviceId: String, deviceType: MediaDeviceType, deviceState: MediaDeviceStateType | void | Error code index |
onVideoPublishStateChanged | source: VideoSourceType, channel: String, oldState: StreamPublishState, newState: StreamPublishState, elapseSinceLastState: int | void | Error code index |
onVideoRenderingTracingResult | connection: RtcConnection, uid: int, currentEvent: MediaTraceEvent, tracingInfo: VideoRenderingTracingInfo | void | Error code index |
onVideoSizeChanged | connection: RtcConnection, sourceType: VideoSourceType, uid: int, width: int, height: int, rotation: int | void | Error code index |
onVideoStopped | — | void | Error code index |
onVideoSubscribeStateChanged | channel: String, uid: int, oldState: StreamSubscribeState, newState: StreamSubscribeState, elapseSinceLastState: int | void | Error code index |
RtcEngineEx 49 method / 0 Property
addVideoWatermarkEx(connection: String watermarkUrl,required WatermarkOptions options,required RtcConnection): Future
addVideoWatermarkWithConfigEx(connection: WatermarkConfig config,required RtcConnection): Future
adjustUserPlaybackSignalVolumeEx(connection: int uid,required int volume,required RtcConnection): Future
clearVideoWatermarkEx(connection: RtcConnection): Future
createAgoraRtcEngineEx(): RtcEngineEx
createDataStreamEx(connection: DataStreamConfig config,required RtcConnection): Future
enableAudioVolumeIndicationEx(connection: int interval,required int smooth,required bool reportVad,required RtcConnection): Future
enableContentInspectEx(connection: bool enabled,required ContentInspectConfig config,required RtcConnection): Future
enableDualStreamModeEx(connection: bool enabled,required SimulcastStreamConfig streamConfig,required RtcConnection): Future
enableEncryptionEx(config: RtcConnection connection,required bool enabled,required EncryptionConfig): Future
enableLoopbackRecordingEx(deviceName?: RtcConnection connection,required bool enabled,String?): Future
getCallIdEx(connection: RtcConnection): Future
getConnectionStateEx(connection: RtcConnection): Future
joinChannelEx(options: String token,required RtcConnection connection,required ChannelMediaOptions): Future
leaveChannelEx(options?: RtcConnection connection,LeaveChannelOptions?): Future
muteAllRemoteAudioStreamsEx(connection: bool mute,required RtcConnection): Future
muteAllRemoteVideoStreamsEx(connection: bool mute,required RtcConnection): Future
muteLocalAudioStreamEx(connection: bool mute,required RtcConnection): Future
muteLocalVideoStreamEx(connection: bool mute,required RtcConnection): Future
muteRemoteAudioStreamEx(connection: int uid,required bool mute,required RtcConnection): Future
muteRemoteVideoStreamEx(connection: int uid,required bool mute,required RtcConnection): Future
pauseAllChannelMediaRelayEx(connection: RtcConnection): Future
playEffectEx(null: RtcConnection connection,required int soundId,required String filePath,required int loopCount,required double pitch,required double pan,required int gain,bool publish = false,int startPos = 0): Future
preloadEffectEx(null: RtcConnection connection,required int soundId,required String filePath,int startPos = 0): Future
removeVideoWatermarkEx(connection: String id,required RtcConnection): Future
resumeAllChannelMediaRelayEx(connection: RtcConnection): Future
sendCustomReportMessageEx(connection: String id,required String category,required String event,required String label,required int value,required RtcConnection): Future
sendStreamMessageEx(connection: int streamId,required Uint8List data,required int length,required RtcConnection): Future
setDualStreamModeEx(connection: SimulcastStreamMode mode,required SimulcastStreamConfig streamConfig,required RtcConnection): Future
setRemoteRenderModeEx(connection: int uid,required RenderModeType renderMode,required VideoMirrorModeType mirrorMode,required RtcConnection): Future
setRemoteVideoStreamTypeEx(connection: int uid,required VideoStreamType streamType,required RtcConnection): Future
setRemoteVideoSubscriptionOptionsEx(connection: int uid,required VideoSubscriptionOptions options,required RtcConnection): Future
setRemoteVoicePositionEx(connection: int uid,required double pan,required double gain,required RtcConnection): Future
setSubscribeAudioAllowlistEx(connection: List uidList,required int uidNumber,required RtcConnection): Future
setSubscribeAudioBlocklistEx(connection: List uidList,required int uidNumber,required RtcConnection): Future
setSubscribeVideoAllowlistEx(connection: List uidList,required int uidNumber,required RtcConnection): Future
setSubscribeVideoBlocklistEx(connection: List uidList,required int uidNumber,required RtcConnection): Future
setVideoEncoderConfigurationEx(connection: VideoEncoderConfiguration config,required RtcConnection): Future
setupRemoteVideoEx(connection: VideoCanvas canvas,required RtcConnection): Future
startMediaRenderingTracingEx(connection: RtcConnection): Future
startOrUpdateChannelMediaRelayEx(connection: ChannelMediaRelayConfiguration configuration,required RtcConnection): Future
startRtmpStreamWithTranscodingEx(connection: String url,required LiveTranscoding transcoding,required RtcConnection): Future
startRtmpStreamWithoutTranscodingEx(connection: String url,required RtcConnection): Future
stopChannelMediaRelayEx(connection: RtcConnection): Future
stopRtmpStreamEx(connection: String url,required RtcConnection): Future
takeSnapshotEx(filePath: RtcConnection connection,required int uid,required String): Future
takeSnapshotWithConfigEx(config: RtcConnection connection,required int uid,required SnapshotConfig): Future
updateChannelMediaOptionsEx(connection: ChannelMediaOptions options,required RtcConnection): Future
updateRtmpTranscodingEx(connection: LiveTranscoding transcoding,required RtcConnection): FutureMethod detail: 49 / 49 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
addVideoWatermarkEx | connection: String watermarkUrl,required WatermarkOptions options,required RtcConnection | Future | Error code index |
addVideoWatermarkWithConfigEx | connection: WatermarkConfig config,required RtcConnection | Future | Error code index |
adjustUserPlaybackSignalVolumeEx | connection: int uid,required int volume,required RtcConnection | Future | Error code index |
clearVideoWatermarkEx | connection: RtcConnection | Future | Error code index |
createAgoraRtcEngineEx | — | RtcEngineEx | Error code index |
createDataStreamEx | connection: DataStreamConfig config,required RtcConnection | Future | Error code index |
enableAudioVolumeIndicationEx | connection: int interval,required int smooth,required bool reportVad,required RtcConnection | Future | Error code index |
enableContentInspectEx | connection: bool enabled,required ContentInspectConfig config,required RtcConnection | Future | Error code index |
enableDualStreamModeEx | connection: bool enabled,required SimulcastStreamConfig streamConfig,required RtcConnection | Future | Error code index |
enableEncryptionEx | config: RtcConnection connection,required bool enabled,required EncryptionConfig | Future | Error code index |
enableLoopbackRecordingEx | deviceName?: RtcConnection connection,required bool enabled,String? | Future | Error code index |
getCallIdEx | connection: RtcConnection | Future | Error code index |
getConnectionStateEx | connection: RtcConnection | Future | Error code index |
joinChannelEx | options: String token,required RtcConnection connection,required ChannelMediaOptions | Future | Error code index |
leaveChannelEx | options?: RtcConnection connection,LeaveChannelOptions? | Future | Error code index |
muteAllRemoteAudioStreamsEx | connection: bool mute,required RtcConnection | Future | Error code index |
muteAllRemoteVideoStreamsEx | connection: bool mute,required RtcConnection | Future | Error code index |
muteLocalAudioStreamEx | connection: bool mute,required RtcConnection | Future | Error code index |
muteLocalVideoStreamEx | connection: bool mute,required RtcConnection | Future | Error code index |
muteRemoteAudioStreamEx | connection: int uid,required bool mute,required RtcConnection | Future | Error code index |
muteRemoteVideoStreamEx | connection: int uid,required bool mute,required RtcConnection | Future | Error code index |
pauseAllChannelMediaRelayEx | connection: RtcConnection | Future | Error code index |
playEffectEx | null: RtcConnection connection,required int soundId,required String filePath,required int loopCount,required double pitch,required double pan,required int gain,bool publish = false,int startPos = 0 | Future | Error code index |
preloadEffectEx | null: RtcConnection connection,required int soundId,required String filePath,int startPos = 0 | Future | Error code index |
removeVideoWatermarkEx | connection: String id,required RtcConnection | Future | Error code index |
resumeAllChannelMediaRelayEx | connection: RtcConnection | Future | Error code index |
sendCustomReportMessageEx | connection: String id,required String category,required String event,required String label,required int value,required RtcConnection | Future | Error code index |
sendStreamMessageEx | connection: int streamId,required Uint8List data,required int length,required RtcConnection | Future | Error code index |
setDualStreamModeEx | connection: SimulcastStreamMode mode,required SimulcastStreamConfig streamConfig,required RtcConnection | Future | Error code index |
setRemoteRenderModeEx | connection: int uid,required RenderModeType renderMode,required VideoMirrorModeType mirrorMode,required RtcConnection | Future | Error code index |
setRemoteVideoStreamTypeEx | connection: int uid,required VideoStreamType streamType,required RtcConnection | Future | Error code index |
setRemoteVideoSubscriptionOptionsEx | connection: int uid,required VideoSubscriptionOptions options,required RtcConnection | Future | Error code index |
setRemoteVoicePositionEx | connection: int uid,required double pan,required double gain,required RtcConnection | Future | Error code index |
setSubscribeAudioAllowlistEx | connection: List uidList,required int uidNumber,required RtcConnection | Future | Error code index |
setSubscribeAudioBlocklistEx | connection: List uidList,required int uidNumber,required RtcConnection | Future | Error code index |
setSubscribeVideoAllowlistEx | connection: List uidList,required int uidNumber,required RtcConnection | Future | Error code index |
setSubscribeVideoBlocklistEx | connection: List uidList,required int uidNumber,required RtcConnection | Future | Error code index |
setVideoEncoderConfigurationEx | connection: VideoEncoderConfiguration config,required RtcConnection | Future | Error code index |
setupRemoteVideoEx | connection: VideoCanvas canvas,required RtcConnection | Future | Error code index |
startMediaRenderingTracingEx | connection: RtcConnection | Future | Error code index |
startOrUpdateChannelMediaRelayEx | connection: ChannelMediaRelayConfiguration configuration,required RtcConnection | Future | Error code index |
startRtmpStreamWithTranscodingEx | connection: String url,required LiveTranscoding transcoding,required RtcConnection | Future | Error code index |
startRtmpStreamWithoutTranscodingEx | connection: String url,required RtcConnection | Future | Error code index |
stopChannelMediaRelayEx | connection: RtcConnection | Future | Error code index |
stopRtmpStreamEx | connection: String url,required RtcConnection | Future | Error code index |
takeSnapshotEx | filePath: RtcConnection connection,required int uid,required String | Future | Error code index |
takeSnapshotWithConfigEx | config: RtcConnection connection,required int uid,required SnapshotConfig | Future | Error code index |
updateChannelMediaOptionsEx | connection: ChannelMediaOptions options,required RtcConnection | Future | Error code index |
updateRtmpTranscodingEx | connection: LiveTranscoding transcoding,required RtcConnection | Future | Error code index |
RtcEngineExt 1 method / 0 Property
getAssetAbsolutePath(assetPath: String): FutureMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
getAssetAbsolutePath | assetPath: String | Future | Error code index |
RtcImage 0 method / 7 Property
| Property | Type | read-only |
|---|---|---|
url | String? | No |
x | int? | No |
y | int? | No |
width | int? | No |
height | int? | No |
zOrder | int? | No |
alpha | double? | No |
RtcStats 0 method / 24 Property
| Property | Type | read-only |
|---|---|---|
duration | int? | No |
txBytes | int? | No |
rxBytes | int? | No |
txAudioBytes | int? | No |
txVideoBytes | int? | No |
rxAudioBytes | int? | No |
rxVideoBytes | int? | No |
txKBitRate | int? | No |
rxKBitRate | int? | No |
rxAudioKBitRate | int? | No |
txAudioKBitRate | int? | No |
rxVideoKBitRate | int? | No |
txVideoKBitRate | int? | No |
lastmileDelay | int? | No |
txPacketLossRate | int? | No |
rxPacketLossRate | int? | No |
userCount | int? | No |
cpuAppUsage | double? | No |
cpuTotalUsage | double? | No |
connectTimeMs | int? | No |
gatewayRtt | int? | No |
memoryAppUsageRatio | double? | No |
memoryTotalUsageRatio | double? | No |
memoryAppUsageInKbytes | int? | No |
ScreenAudioParameters 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
sampleRate | int? | No |
channels | int? | No |
captureSignalVolume | int? | No |
ScreenCaptureConfiguration 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
isCaptureWindow | bool? | No |
displayId | int? | No |
screenRect | Rectangle? | No |
windowId | int? | No |
params | ScreenCaptureParameters? | No |
regionRect | Rectangle? | No |
ScreenCaptureParameters 0 method / 10 Property
| Property | Type | read-only |
|---|---|---|
dimensions | VideoDimensions? | No |
frameRate | int? | No |
bitrate | int? | No |
captureMouseCursor | bool? | No |
windowFocus | bool? | No |
excludeWindowList | List ? | No |
enableHighLight | bool? | No |
highLightColor | int? | No |
highLightWidth | int? | No |
excludeWindowCount | int? | No |
ScreenCaptureParameters2 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
captureAudio | bool? | No |
audioParams | ScreenAudioParameters? | No |
captureVideo | bool? | No |
videoParams | ScreenVideoParameters? | No |
ScreenCaptureSourceInfo 0 method / 11 Property
| Property | Type | read-only |
|---|---|---|
type | ScreenCaptureSourceType? | No |
sourceId | int? | No |
sourceName | String? | No |
thumbImage | ThumbImageBuffer? | No |
iconImage | ThumbImageBuffer? | No |
processPath | String? | No |
sourceTitle | String? | No |
primaryMonitor | bool? | No |
position | Rectangle? | No |
minimizeWindow | bool? | No |
sourceDisplayId | int? | No |
ScreenVideoParameters 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
dimensions | VideoDimensions? | No |
frameRate | int? | No |
bitrate | int? | No |
contentHint | VideoContentHint? | No |
SDKBuildInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
build | int? | No |
version | String? | No |
SegmentationProperty 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
modelType | SegModelType? | No |
greenCapacity | double? | No |
screenColorType | ScreenColorType? | No |
SimulcastStreamConfig 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
dimensions | VideoDimensions? | No |
kBitrate | int? | No |
framerate | int? | No |
SnapshotConfig 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
filePath | String? | No |
position | VideoModulePosition? | No |
SpatialAudioParams 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
speaker_azimuth | unknown | No |
speaker_elevation | unknown | No |
speaker_distance | unknown | No |
speaker_orientation | unknown | No |
enable_blur | unknown | No |
enable_air_absorb | unknown | No |
speaker_attenuation | unknown | No |
enable_doppler | unknown | No |
SpatialAudioZone 0 method / 9 Property
| Property | Type | read-only |
|---|---|---|
zoneSetId | int? | No |
position | List ? | No |
forward | List ? | No |
right | List ? | No |
up | List ? | No |
forwardLength | double? | No |
rightLength | double? | No |
upLength | double? | No |
audioAttenuation | double? | No |
SrcInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
bitrateInKbps | int? | No |
name | String? | No |
ThumbImageBuffer 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
buffer | Uint8List? | No |
length | int? | No |
width | int? | No |
height | int? | No |
TranscodingUser 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
x | int? | No |
y | int? | No |
width | int? | No |
height | int? | No |
zOrder | int? | No |
alpha | double? | No |
audioChannel | int? | No |
TranscodingVideoStream 0 method / 11 Property
| Property | Type | read-only |
|---|---|---|
sourceType | VideoSourceType? | No |
remoteUserUid | int? | No |
imageUrl | String? | No |
mediaPlayerId | int? | No |
x | int? | No |
y | int? | No |
width | int? | No |
height | int? | No |
zOrder | int? | No |
alpha | double? | No |
mirror | bool? | No |
UplinkNetworkInfo 0 method / 1 Property
| Property | Type | read-only |
|---|---|---|
videoEncoderTargetBitrateBps | int? | No |
UserAudioSpectrumInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
spectrumData | AudioSpectrumData? | No |
UserInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
userAccount | String? | No |
VideoCanvas 0 method / 12 Property
| Property | Type | read-only |
|---|---|---|
uid | int? | No |
subviewUid | int? | No |
view | int? | No |
renderMode | RenderModeType? | No |
mirrorMode | VideoMirrorModeType? | No |
sourceType | VideoSourceType? | No |
setupMode | VideoViewSetupMode? | No |
mediaPlayerId | int? | No |
cropArea | Rectangle? | No |
backgroundColor | int? | No |
enableAlphaMask | bool? | No |
position | VideoModulePosition? | No |
VideoDenoiserOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
level | VideoDenoiserLevel? | No |
mode | VideoDenoiserMode? | No |
VideoDeviceInfo 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
deviceId | String? | No |
deviceName | String? | No |
VideoDeviceManager 6 method / 0 Property
enumerateVideoDevices(): List
getCapability(deviceCapabilityNumber: String deviceIdUTF8,required int): Future
getDevice(): Future
numberOfCapabilities(deviceIdUTF8: String): Future
release(): Future
setDevice(deviceIdUTF8: String): FutureMethod detail: 6 / 6 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
enumerateVideoDevices | — | List | Error code index |
getCapability | deviceCapabilityNumber: String deviceIdUTF8,required int | Future | Error code index |
getDevice | — | Future | Error code index |
numberOfCapabilities | deviceIdUTF8: String | Future | Error code index |
release | — | Future | Error code index |
setDevice | deviceIdUTF8: String | Future | Error code index |
VideoDimensions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
width | int? | No |
height | int? | No |
VideoEffectObject 9 method / 0 Property
addOrUpdateVideoEffect(templateName: int nodeId,required String): Future
getVideoEffectBoolParam(key: String option,required String): Future
getVideoEffectFloatParam(key: String option,required String): Future
getVideoEffectIntParam(key: String option,required String): Future
performVideoEffectAction(actionId: int nodeId,required VideoEffectAction): Future
removeVideoEffect(nodeId: int): Future
setVideoEffectBoolParam(param: String option,required String key,required bool): Future
setVideoEffectFloatParam(param: String option,required String key,required double): Future
setVideoEffectIntParam(param: String option,required String key,required int): FutureMethod detail: 9 / 9 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
addOrUpdateVideoEffect | templateName: int nodeId,required String | Future | Error code index |
getVideoEffectBoolParam | key: String option,required String | Future | Error code index |
getVideoEffectFloatParam | key: String option,required String | Future | Error code index |
getVideoEffectIntParam | key: String option,required String | Future | Error code index |
performVideoEffectAction | actionId: int nodeId,required VideoEffectAction | Future | Error code index |
removeVideoEffect | nodeId: int | Future | Error code index |
setVideoEffectBoolParam | param: String option,required String key,required bool | Future | Error code index |
setVideoEffectFloatParam | param: String option,required String key,required double | Future | Error code index |
setVideoEffectIntParam | param: String option,required String key,required int | Future | Error code index |
VideoEncodedFrameObserver 1 method / 0 Property
onEncodedVideoFrameReceived(channelId: String, uid: int, imageBuffer: Uint8List, length: int, videoEncodedFrameInfo: EncodedVideoFrameInfo): voidMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onEncodedVideoFrameReceived | channelId: String, uid: int, imageBuffer: Uint8List, length: int, videoEncodedFrameInfo: EncodedVideoFrameInfo | void | Error code index |
VideoEncoderConfiguration 0 method / 9 Property
| Property | Type | read-only |
|---|---|---|
dimensions | VideoDimensions? | No |
codecType | VideoCodecType? | No |
frameRate | int? | No |
bitrate | int? | No |
minBitrate | int? | No |
orientationMode | OrientationMode? | No |
degradationPreference | DegradationPreference? | No |
mirrorMode | VideoMirrorModeType? | No |
advanceOptions | AdvanceOptions? | No |
VideoFormat 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
width | int? | No |
height | int? | No |
fps | int? | No |
VideoFrame 0 method / 20 Property
| Property | Type | read-only |
|---|---|---|
type | VideoPixelFormat? | No |
width | int? | No |
height | int? | No |
yStride | int? | No |
uStride | int? | No |
vStride | int? | No |
yBuffer | Uint8List? | No |
uBuffer | Uint8List? | No |
vBuffer | Uint8List? | No |
rotation | int? | No |
renderTimeMs | int? | No |
avsyncType | int? | No |
metadataBuffer | Uint8List? | No |
metadataSize | int? | No |
textureId | int? | No |
matrix | List ? | No |
colorSpace | ColorSpace? | No |
alphaBuffer | Uint8List? | No |
alphaStitchMode | AlphaStitchMode? | No |
metaInfo | VideoFrameMetaInfo? | No |
VideoFrameObserver 3 method / 0 Property
onCaptureVideoFrame(sourceType: VideoSourceType, videoFrame: VideoFrame): void
onPreEncodeVideoFrame(videoFrame: VideoFrame): void
onRenderVideoFrame(channelId: String, remoteUid: int, videoFrame: VideoFrame): voidMethod detail: 3 / 3 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
onCaptureVideoFrame | sourceType: VideoSourceType, videoFrame: VideoFrame | void | Error code index |
onPreEncodeVideoFrame | videoFrame: VideoFrame | void | Error code index |
onRenderVideoFrame | channelId: String, remoteUid: int, videoFrame: VideoFrame | void | Error code index |
VideoLayout 0 method / 8 Property
| Property | Type | read-only |
|---|---|---|
channelId | String? | No |
uid | int? | No |
strUid | String? | No |
x | int? | No |
y | int? | No |
width | int? | No |
height | int? | No |
videoState | int? | No |
VideoRenderingTracingInfo 0 method / 7 Property
| Property | Type | read-only |
|---|---|---|
elapsedTime | int? | No |
start2JoinChannel | int? | No |
join2JoinSuccess | int? | No |
joinSuccess2RemoteJoined | int? | No |
remoteJoined2SetView | int? | No |
remoteJoined2UnmuteVideo | int? | No |
remoteJoined2PacketReceived | int? | No |
VideoSubscriptionOptions 0 method / 2 Property
| Property | Type | read-only |
|---|---|---|
type | VideoStreamType? | No |
encodedFrameOnly | bool? | No |
VideoViewController 1 method / 5 Property
VideoViewControllerConstructor(rtcEngine: unknown, canvas: unknown, useFlutterTexture: unknown, FlutterTexture: unknown, useAndroidSurfaceView: unknown): unknownMethod detail: 1 / 1 (parameters, returns, errors)
| Method | Parameters | Returns | Errors |
|---|---|---|---|
VideoViewControllerConstructor | rtcEngine: unknown, canvas: unknown, useFlutterTexture: unknown, FlutterTexture: unknown, useAndroidSurfaceView: unknown | unknown | Error code index |
| Property | Type | read-only |
|---|---|---|
rtcEngine | RtcEngine | No |
canvas | VideoCanvas | No |
connection | RtcConnection | No |
useFlutterTexture | bool | No |
useAndroidSurfaceView | bool | No |
VideoViewControllerBase 0 method / 5 Property
| Property | Type | read-only |
|---|---|---|
rtcEngine | RtcEngine get | No |
canvas | VideoCanvas get | No |
connection | RtcConnection? get | No |
useFlutterTexture | bool get | No |
useAndroidSurfaceView | bool get | No |
VirtualBackgroundSource 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
backgroundSourceType | BackgroundSourceType? | No |
color | int? | No |
source | String? | No |
blurDegree | BackgroundBlurDegree? | No |
WatermarkBuffer 0 method / 5 Property
| Property | Type | read-only |
|---|---|---|
width | int? | No |
height | int? | No |
length | int? | No |
format | VideoPixelFormat? | No |
buffer | Uint8List? | No |
WatermarkConfig 0 method / 7 Property
| Property | Type | read-only |
|---|---|---|
id | String? | No |
type | WatermarkSourceType? | No |
buffer | WatermarkBuffer? | No |
timestamp | WatermarkTimestamp? | No |
literal | WatermarkLiteral? | No |
imageUrl | String? | No |
options | WatermarkOptions? | No |
WatermarkLiteral 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
fontSize | int? | No |
strokeWidth | int? | No |
wmLiteral | String? | No |
fontFilePath | String? | No |
WatermarkOptions 0 method / 6 Property
| Property | Type | read-only |
|---|---|---|
visibleInPreview | bool? | No |
positionInLandscapeMode | Rectangle? | No |
positionInPortraitMode | Rectangle? | No |
watermarkRatio | WatermarkRatio? | No |
mode | WatermarkFitMode? | No |
zOrder | int? | No |
WatermarkRatio 0 method / 3 Property
| Property | Type | read-only |
|---|---|---|
xRatio | double? | No |
yRatio | double? | No |
widthRatio | double? | No |
WatermarkTimestamp 0 method / 4 Property
| Property | Type | read-only |
|---|---|---|
fontSize | int? | No |
fontFilePath | String? | No |
strokeWidth | int? | No |
format | String? | No |
Enums
| Enums | Member count | Example value |
|---|---|---|
AgoraPipState | 3 | pipStateStarted = null |
AlphaStitchMode | 5 | noAlphaStitch = 0 |
AreaCode | 7 | areaCodeCn = null |
AudienceLatencyLevelType | 2 | audienceLatencyLevelLowLatency = 1 |
AudioAinsMode | 3 | ainsModeBalanced = 0 |
AudioCodecProfileType | 3 | audioCodecProfileLcAac = 0 |
AudioCodecType | 8 | audioCodecOpus = 1 |
AudioDualMonoMode | 4 | audioDualMonoStereo = 0 |
AudioEffectPreset | 19 | audioEffectOff = null |
AudioEncodedFrameObserverPosition | 3 | audioEncodedFrameObserverPositionRecord = 1 |
AudioEncodingType | 11 | audioEncodingTypeAac16000Low = 65793 |
AudioEqualizationBandFrequency | 10 | audioEqualizationBand31 = 0 |
AudioFileRecordingType | 3 | audioFileRecordingMic = 1 |
AudioFrameType | 1 | frameTypePcm16 = 0 |
AudioMixingDualMonoMode | 4 | audioMixingDualMonoAuto = 0 |
AudioMixingReasonType | 7 | audioMixingReasonOk = 0 |
AudioMixingStateType | 4 | audioMixingStatePlaying = 710 |
audioprocessingchannels | 2 | audioProcessingMono = 1 |
AudioProfileType | 8 | audioProfileDefault = 0 |
audiorecordingqualitytype | 4 | audioRecordingQualityLow = 0 |
AudioReverbType | 5 | audioReverbDryLevel = 0 |
AudioRoute | 12 | routeDefault = -1 |
AudioSampleRateType | 3 | audioSampleRate32000 = 32000 |
AudioScenarioType | 7 | audioScenarioDefault = 0 |
AudioSessionOperationRestriction | 5 | audioSessionOperationRestrictionNone = 0 |
AudioSourceType | 7 | audioSourceMicrophone = 0 |
AudioTrackType | 2 | audioTrackMixable = 0 |
backgroundblurdegree | 3 | blurDegreeLow = 1 |
backgroundSourceType | 5 | backgroundNone = 0 |
CameraDirection | 2 | cameraRear = 0 |
CameraFocalLengthType | 4 | cameraFocalLengthDefault = 0 |
CameraStabilizationMode | 5 | cameraStabilizationModeOff = -1 |
CaptureBrightnessLevelType | 4 | captureBrightnessLevelInvalid = -1 |
ChannelMediaRelayError | 12 | relayOk = 0 |
ChannelMediaRelayState | 4 | relayStateIdle = 0 |
ChannelProfileType | 4 | channelProfileCommunication = 0 |
ClientRoleChangeFailedReason | 4 | clientRoleChangeFailedTooManyBroadcasters = 1 |
ClientRoleType | 2 | clientRoleBroadcaster = 1 |
CloudProxyType | 3 | noneProxy = 0 |
CodecCapMask | 5 | codecCapMaskNone = 0 |
CompressionPreference | 3 | preferCompressionAuto = -1 |
ConnectionChangedReasonType | 21 | connectionChangedConnecting = 0 |
ConnectionStateType | 5 | connectionStateDisconnected = 1 |
ContentInspectType | 3 | contentInspectInvalid = 0 |
DegradationPreference | 5 | maintainAuto = -1 |
EarMonitoringFilterType | 4 | earMonitoringFilterNone = null |
EncodingPreference | 3 | preferAuto = -1 |
EncryptionErrorType | 5 | encryptionErrorInternalFailure = 0 |
EncryptionMode | 9 | aes128Xts = 1 |
ErrorCodeType | 48 | errOk = 0 |
ExperiencePoorReason | 5 | experienceReasonNone = 0 |
ExperienceQualityType | 2 | experienceQualityGood = 0 |
ExternalVideoSourceType | 2 | videoFrame = 0 |
FaceShapeArea | 30 | faceShapeAreaNone = -1 |
FaceShapeBeautyStyle | 3 | faceShapeBeautyStyleFemale = 0 |
FeatureType | 2 | videoVirtualBackground = 1 |
FrameRate | 7 | frameRateFps1 = 1 |
HeadphoneEqualizerPreset | 3 | headphoneEqualizerOff = null |
InterfaceIdType | 7 | agoraIidAudioDeviceManager = 1 |
LastmileProbeResultState | 3 | lastmileProbeResultComplete = 1 |
LighteningContrastLevel | 3 | lighteningContrastLow = 0 |
LocalAudioStreamReason | 11 | localAudioStreamReasonOk = 0 |
LocalAudioStreamState | 4 | localAudioStreamStateStopped = 0 |
LocalProxyMode | 2 | connectivityFirst = 0 |
LocalVideoEventType | 6 | localVideoEventTypeScreenCaptureWindowHidden = 1 |
LocalVideoStreamReason | 26 | localVideoStreamReasonOk = 0 |
LocalVideoStreamState | 4 | localVideoStreamStateStopped = 0 |
LogFilterType | 6 | logFilterOff = 0 |
LogLevel | 5 | logLevelNone = 0 |
LowLightEnhanceLevel | 2 | lowLightEnhanceLevelHighQuality = 0 |
LowLightEnhanceMode | 2 | LowLightEnhanceAuto = 0 |
MaxDeviceIdLengthType | 1 | maxDeviceIdLength = null |
MaxUserAccountLengthType | 1 | maxUserAccountLength = null |
MediaDeviceStateType | 6 | mediaDeviceStateIdle = 0 |
MediaDeviceType | 8 | unknownAudioDevice = -1 |
MediaPlayerEvent | 14 | playerEventSeekBegin = 0 |
MediaPlayerMetadataType | 2 | playerMetadataTypeUnknown = 0 |
MediaPlayerReason | 17 | playerReasonNone = 0 |
MediaPlayerState | 9 | playerStateIdle = 0 |
MediaRecorderContainerFormat | 1 | formatMp4 = 1 |
MediaRecorderStreamType | 3 | streamTypeAudio = 1 |
MediaSourceType | 7 | audioPlayoutSource = 0 |
MediaStreamType | 4 | streamTypeUnknown = 0 |
MediaTraceEvent | 2 | mediaTraceEventVideoRendered = 0 |
MetadataType | 2 | unknownMetadata = -1 |
MultipathMode | 1 | duplicate = 0 |
MultipathType | 4 | lan = 0 |
MusicCacheStatusType | 2 | musicCacheStatusTypeCached = 0 |
MusicContentCenterStateReason | 8 | kMusicContentCenterReasonOk = 0 |
MusicPlayMode | 3 | kMusicPlayModeOriginal = 0 |
NetworkType | 8 | networkTypeUnknown = -1 |
OrientationMode | 3 | orientationModeAdaptive = 0 |
PermissionType | 3 | recordAudio = 0 |
PlayerPreloadEvent | 3 | playerPreloadEventBegin = 0 |
PreloadState | 4 | kPreloadStateCompleted = 0 |
ProxyType | 5 | noneProxyType = 0 |
QualityAdaptIndication | 3 | adaptNone = 0 |
QualityType | 8 | qualityUnknown = 0 |
RawAudioFrameOpModeType | 2 | rawAudioFrameOpModeReadOnly = 0 |
RecorderReasonCode | 5 | recorderReasonNone = 0 |
RecorderState | 3 | recorderStateError = -1 |
RecorderStreamType | 2 | rtc = 0 |
RemoteAudioState | 5 | remoteAudioStateStopped = 0 |
RemoteAudioStateReason | 8 | remoteAudioReasonInternal = 0 |
RemoteVideoState | 5 | remoteVideoStateStopped = 0 |
RemoteVideoStateReason | 12 | remoteVideoStateReasonInternal = 0 |
RenderModeType | 3 | renderModeHidden = 1 |
RenewTokenErrorCode | 7 | renewTokenSuccess = 0 |
RhythmPlayerReason | 5 | rhythmPlayerReasonOk = 0 |
RhythmPlayerStateType | 5 | rhythmPlayerStateIdle = 810 |
RtmpStreamingEvent | 4 | rtmpStreamingEventFailedLoadImage = 1 |
RtmpStreamLifeCycleType | 2 | rtmpStreamLifeCycleBind2channel = null |
RtmpStreamPublishReason | 16 | rtmpStreamPublishReasonOk = 0 |
RtmpStreamPublishState | 6 | rtmpStreamPublishStateIdle = 0 |
ScreenCaptureFramerateCapability | 3 | screenCaptureFramerateCapability15Fps = 0 |
ScreenCaptureSourceType | 4 | screencapturesourcetypeUnknown = -1 |
ScreenColorType | 3 | screenColorAuto = 0 |
ScreenScenarioType | 4 | screenScenarioDocument = 1 |
SegModelType | 2 | segModelAi = 1 |
SimulcastStreamMode | 3 | autoSimulcastStream = -1 |
StreamFallbackOptions | 3 | streamFallbackOptionDisabled = 0 |
StreamPublishState | 4 | pubStateIdle = 0 |
StreamSubscribeState | 4 | subStateIdle = 0 |
UserOfflineReasonType | 3 | userOfflineQuit = 0 |
VideoApplicationScenarioType | 4 | applicationScenarioGeneral = 0 |
VideoBufferType | 3 | videoBufferRawData = 1 |
VideoCodecCapabilityLevel | 5 | codecCapabilityLevelUnspecified = -1 |
VideoCodecProfileType | 3 | videoCodecProfileBaseline = 66 |
VideoCodecType | 6 | videoCodecNone = 0 |
VideoCodecTypeForStream | 2 | videoCodecH264ForStream = 1 |
VideoContentHint | 3 | contentHintNone = null |
VideoDenoiserLevel | 2 | videoDenoiserLevelHighQuality = 0 |
VideoDenoiserMode | 2 | videoDenoiserAuto = 0 |
VideoEffectAction | 2 | save = 1 |
VideoEffectNodeId | 3 | beauty = 1 |
VideoFrameProcessMode | 2 | processModeReadOnly = null |
VideoFrameType | 6 | videoFrameTypeBlankFrame = 0 |
VideoMirrorModeType | 3 | videoMirrorModeAuto = 0 |
VideoModulePosition | 4 | positionPostCapturer = 1 |
VideoOrientation | 4 | videoOrientation0 = 0 |
VideoPixelFormat | 5 | videoPixelDefault = 0 |
VideoSourceType | 19 | videoSourceCameraPrimary = 0 |
VideoStreamType | 8 | videoStreamHigh = 0 |
VideoTranscoderError | 6 | vtErrVideoSourceNotReady = 1 |
VideoViewSetupMode | 3 | videoViewSetupReplace = 0 |
VoiceAiTunerType | 10 | voiceAiTunerMatureMale = 0 |
VoiceBeautifierPreset | 14 | voiceBeautifierOff = null |
VoiceConversionPreset | 5 | voiceConversionOff = null |
WatermarkFitMode | 2 | fitModeCoverPosition = 0 |
WatermarkSourceType | 4 | image = 0 |
AgoraPipState 3 members
| Member | value |
|---|---|
pipStateStarted | null |
pipStateStopped | null |
pipStateFailed | null |
AlphaStitchMode 5 members
| Member | value |
|---|---|
noAlphaStitch | 0 |
alphaStitchUp | 1 |
alphaStitchBelow | 2 |
alphaStitchLeft | 3 |
alphaStitchRight | 4 |
AreaCode 7 members
| Member | value |
|---|---|
areaCodeCn | null |
areaCodeNa | null |
areaCodeEu | null |
areaCodeAs | null |
areaCodeJp | null |
areaCodeIn | null |
areaCodeGlob | null |
AudienceLatencyLevelType 2 members
| Member | value |
|---|---|
audienceLatencyLevelLowLatency | 1 |
audienceLatencyLevelUltraLowLatency | 2 |
AudioAinsMode 3 members
| Member | value |
|---|---|
ainsModeBalanced | 0 |
ainsModeAggressive | 1 |
ainsModeUltralowlatency | 2 |
AudioCodecProfileType 3 members
| Member | value |
|---|---|
audioCodecProfileLcAac | 0 |
audioCodecProfileHeAac | 1 |
audioCodecProfileHeAacV2 | 2 |
AudioCodecType 8 members
| Member | value |
|---|---|
audioCodecOpus | 1 |
audioCodecPcma | 3 |
audioCodecPcmu | 4 |
audioCodecG722 | 5 |
audioCodecAaclc | 8 |
audioCodecHeaac | 9 |
audioCodecJc1 | 10 |
audioCodecHeaac2 | 11 |
AudioDualMonoMode 4 members
| Member | value |
|---|---|
audioDualMonoStereo | 0 |
audioDualMonoL | 1 |
audioDualMonoR | 2 |
audioDualMonoMix | 3 |
AudioEffectPreset 19 members
| Member | value |
|---|---|
audioEffectOff | null |
roomAcousticsVocalConcert | null |
roomAcousticsStudio | null |
roomAcousticsPhonograph | null |
roomAcousticsVirtualStereo | null |
roomAcousticsSpacial | null |
roomAcousticsEthereal | null |
roomAcousticsVirtualSurroundSound | null |
roomAcousticsChorus | null |
roomAcoustics3dVoice | null |
voiceChangerEffectUncle | null |
voiceChangerEffectOldman | null |
voiceChangerEffectBoy | null |
voiceChangerEffectSister | null |
voiceChangerEffectGirl | null |
voiceChangerEffectPigking | null |
voiceChangerEffectHulk | null |
styleTransformationPopular | null |
pitchCorrection | null |
AudioEncodedFrameObserverPosition 3 members
| Member | value |
|---|---|
audioEncodedFrameObserverPositionRecord | 1 |
audioEncodedFrameObserverPositionPlayback | 2 |
audioEncodedFrameObserverPositionMixed | 3 |
AudioEncodingType 11 members
| Member | value |
|---|---|
audioEncodingTypeAac16000Low | 65793 |
audioEncodingTypeAac16000Medium | 65794 |
audioEncodingTypeAac32000Low | 66049 |
audioEncodingTypeAac32000Medium | 66050 |
audioEncodingTypeAac32000High | 66051 |
audioEncodingTypeAac48000Medium | 66306 |
audioEncodingTypeAac48000High | 66307 |
audioEncodingTypeOpus16000Low | 131329 |
audioEncodingTypeOpus16000Medium | 131330 |
audioEncodingTypeOpus48000Medium | 131842 |
audioEncodingTypeOpus48000High | 131843 |
AudioEqualizationBandFrequency 10 members
| Member | value |
|---|---|
audioEqualizationBand31 | 0 |
audioEqualizationBand62 | 1 |
audioEqualizationBand125 | 2 |
audioEqualizationBand250 | 3 |
audioEqualizationBand500 | 4 |
audioEqualizationBand1k | 5 |
audioEqualizationBand2k | 6 |
audioEqualizationBand4k | 7 |
audioEqualizationBand8k | 8 |
audioEqualizationBand16k | 9 |
AudioFileRecordingType 3 members
| Member | value |
|---|---|
audioFileRecordingMic | 1 |
audioFileRecordingPlayback | 2 |
audioFileRecordingMixed | 3 |
AudioFrameType 1 members
| Member | value |
|---|---|
frameTypePcm16 | 0 |
AudioMixingDualMonoMode 4 members
| Member | value |
|---|---|
audioMixingDualMonoAuto | 0 |
audioMixingDualMonoL | 1 |
audioMixingDualMonoR | 2 |
audioMixingDualMonoMix | 3 |
AudioMixingReasonType 7 members
| Member | value |
|---|---|
audioMixingReasonOk | 0 |
audioMixingReasonCanNotOpen | 701 |
audioMixingReasonTooFrequentCall | 702 |
audioMixingReasonInterruptedEof | 703 |
audioMixingReasonOneLoopCompleted | 721 |
audioMixingReasonAllLoopsCompleted | 723 |
audioMixingReasonStoppedByUser | 724 |
AudioMixingStateType 4 members
| Member | value |
|---|---|
audioMixingStatePlaying | 710 |
audioMixingStatePaused | 711 |
audioMixingStateStopped | 713 |
audioMixingStateFailed | 714 |
audioprocessingchannels 2 members
| Member | value |
|---|---|
audioProcessingMono | 1 |
audioProcessingStereo | 2 |
AudioProfileType 8 members
| Member | value |
|---|---|
audioProfileDefault | 0 |
audioProfileSpeechStandard | 1 |
audioProfileMusicStandard | 2 |
audioProfileMusicStandardStereo | 3 |
audioProfileMusicHighQuality | 4 |
audioProfileMusicHighQualityStereo | 5 |
audioProfileIot | 6 |
audioProfileNum | null |
audiorecordingqualitytype 4 members
| Member | value |
|---|---|
audioRecordingQualityLow | 0 |
audioRecordingQualityMedium | 1 |
audioRecordingQualityHigh | 2 |
audioRecordingQualityUltraHigh | 3 |
AudioReverbType 5 members
| Member | value |
|---|---|
audioReverbDryLevel | 0 |
audioReverbWetLevel | 1 |
audioReverbRoomSize | 2 |
audioReverbWetDelay | 3 |
audioReverbStrength | 4 |
AudioRoute 12 members
| Member | value |
|---|---|
routeDefault | -1 |
routeHeadset | 0 |
routeEarpiece | 1 |
routeHeadsetnomic | 2 |
routeSpeakerphone | 3 |
routeLoudspeaker | 4 |
routeHeadsetbluetooth | 5 |
routeUsb | 6 |
routeHdmi | 7 |
routeDisplayport | 8 |
routeAirplay | 9 |
routeBluetoothSpeaker | 10 |
AudioSampleRateType 3 members
| Member | value |
|---|---|
audioSampleRate32000 | 32000 |
audioSampleRate44100 | 44100 |
audioSampleRate48000 | 48000 |
AudioScenarioType 7 members
| Member | value |
|---|---|
audioScenarioDefault | 0 |
audioScenarioGameStreaming | 3 |
audioScenarioChatroom | 5 |
audioScenarioChorus | 7 |
audioScenarioMeeting | 8 |
audioScenarioAiClient | 10 |
audioScenarioNum | null |
AudioSessionOperationRestriction 5 members
| Member | value |
|---|---|
audioSessionOperationRestrictionNone | 0 |
audioSessionOperationRestrictionSetCategory | 1 |
audioSessionOperationRestrictionConfigureSession | 2 |
audioSessionOperationRestrictionDeactivateSession | 4 |
audioSessionOperationRestrictionAll | 128 |
AudioSourceType 7 members
| Member | value |
|---|---|
audioSourceMicrophone | 0 |
audioSourceCustom | 1 |
audioSourceMediaPlayer | 2 |
audioSourceLoopbackRecording | 3 |
audioSourceRemoteUser | 5 |
audioSourceRemoteChannel | 6 |
audioSourceUnknown | 100 |
AudioTrackType 2 members
| Member | value |
|---|---|
audioTrackMixable | 0 |
audioTrackDirect | 1 |
backgroundblurdegree 3 members
| Member | value |
|---|---|
blurDegreeLow | 1 |
blurDegreeMedium | 2 |
blurDegreeHigh | 3 |
backgroundSourceType 5 members
| Member | value |
|---|---|
backgroundNone | 0 |
backgroundColor | 1 |
backgroundImg | 2 |
backgroundBlur | 3 |
backgroundVideo | 4 |
CameraDirection 2 members
| Member | value |
|---|---|
cameraRear | 0 |
cameraFront | 1 |
CameraFocalLengthType 4 members
| Member | value |
|---|---|
cameraFocalLengthDefault | 0 |
cameraFocalLengthWideAngle | 1 |
cameraFocalLengthUltraWide | 2 |
cameraFocalLengthTelephoto | 3 |
CameraStabilizationMode 5 members
| Member | value |
|---|---|
cameraStabilizationModeOff | -1 |
cameraStabilizationModeAuto | 0 |
cameraStabilizationModeLevel1 | 1 |
cameraStabilizationModeLevel2 | 2 |
cameraStabilizationModeLevel3 | 3 |
CaptureBrightnessLevelType 4 members
| Member | value |
|---|---|
captureBrightnessLevelInvalid | -1 |
captureBrightnessLevelNormal | 0 |
captureBrightnessLevelBright | 1 |
captureBrightnessLevelDark | 2 |
ChannelMediaRelayError 12 members
| Member | value |
|---|---|
relayOk | 0 |
relayErrorServerErrorResponse | 1 |
relayErrorServerNoResponse | 2 |
relayErrorNoResourceAvailable | 3 |
relayErrorFailedJoinSrc | 4 |
relayErrorFailedJoinDest | 5 |
relayErrorFailedPacketReceivedFromSrc | 6 |
relayErrorFailedPacketSentToDest | 7 |
relayErrorServerConnectionLost | 8 |
relayErrorInternalError | 9 |
relayErrorSrcTokenExpired | 10 |
relayErrorDestTokenExpired | 11 |
ChannelMediaRelayState 4 members
| Member | value |
|---|---|
relayStateIdle | 0 |
relayStateConnecting | 1 |
relayStateRunning | 2 |
relayStateFailure | 3 |
ChannelProfileType 4 members
| Member | value |
|---|---|
channelProfileCommunication | 0 |
channelProfileLiveBroadcasting | 1 |
channelProfileGame | 2 |
channelProfileCloudGaming | 3 |
ClientRoleChangeFailedReason 4 members
| Member | value |
|---|---|
clientRoleChangeFailedTooManyBroadcasters | 1 |
clientRoleChangeFailedNotAuthorized | 2 |
clientRoleChangeFailedRequestTimeOut | 3 |
clientRoleChangeFailedConnectionFailed | 4 |
ClientRoleType 2 members
| Member | value |
|---|---|
clientRoleBroadcaster | 1 |
clientRoleAudience | 2 |
CloudProxyType 3 members
| Member | value |
|---|---|
noneProxy | 0 |
udpProxy | 1 |
tcpProxy | 2 |
CodecCapMask 5 members
| Member | value |
|---|---|
codecCapMaskNone | 0 |
codecCapMaskHwDec | null |
codecCapMaskHwEnc | null |
codecCapMaskSwDec | null |
codecCapMaskSwEnc | null |
CompressionPreference 3 members
| Member | value |
|---|---|
preferCompressionAuto | -1 |
preferLowLatency | 0 |
preferQuality | 1 |
ConnectionChangedReasonType 21 members
| Member | value |
|---|---|
connectionChangedConnecting | 0 |
connectionChangedJoinSuccess | 1 |
connectionChangedInterrupted | 2 |
connectionChangedBannedByServer | 3 |
connectionChangedJoinFailed | 4 |
connectionChangedLeaveChannel | 5 |
connectionChangedInvalidAppId | 6 |
connectionChangedInvalidChannelName | 7 |
connectionChangedInvalidToken | 8 |
connectionChangedTokenExpired | 9 |
connectionChangedRejectedByServer | 10 |
connectionChangedSettingProxyServer | 11 |
connectionChangedRenewToken | 12 |
connectionChangedClientIpAddressChanged | 13 |
connectionChangedKeepAliveTimeout | 14 |
connectionChangedRejoinSuccess | 15 |
connectionChangedLost | 16 |
connectionChangedEchoTest | 17 |
connectionChangedClientIpAddressChangedByUser | 18 |
connectionChangedSameUidLogin | 19 |
connectionChangedTooManyBroadcasters | 20 |
ConnectionStateType 5 members
| Member | value |
|---|---|
connectionStateDisconnected | 1 |
connectionStateConnecting | 2 |
connectionStateConnected | 3 |
connectionStateReconnecting | 4 |
connectionStateFailed | 5 |
ContentInspectType 3 members
| Member | value |
|---|---|
contentInspectInvalid | 0 |
contentInspectSupervision | 2 |
contentInspectImageModeration | 3 |
DegradationPreference 5 members
| Member | value |
|---|---|
maintainAuto | -1 |
maintainQuality | 0 |
maintainFramerate | 1 |
maintainBalanced | 2 |
maintainResolution | 3 |
EarMonitoringFilterType 4 members
| Member | value |
|---|---|
earMonitoringFilterNone | null |
earMonitoringFilterBuiltInAudioFilters | null |
earMonitoringFilterNoiseSuppression | null |
earMonitoringFilterReusePostProcessingFilter | null |
EncodingPreference 3 members
| Member | value |
|---|---|
preferAuto | -1 |
preferSoftware | 0 |
preferHardware | 1 |
EncryptionErrorType 5 members
| Member | value |
|---|---|
encryptionErrorInternalFailure | 0 |
encryptionErrorDecryptionFailure | 1 |
encryptionErrorEncryptionFailure | 2 |
encryptionErrorDatastreamDecryptionFailure | 3 |
encryptionErrorDatastreamEncryptionFailure | 4 |
EncryptionMode 9 members
| Member | value |
|---|---|
aes128Xts | 1 |
aes128Ecb | 2 |
aes256Xts | 3 |
sm4128Ecb | 4 |
aes128Gcm | 5 |
aes256Gcm | 6 |
aes128Gcm2 | 7 |
aes256Gcm2 | 8 |
modeEnd | null |
ErrorCodeType 48 members
| Member | value |
|---|---|
errOk | 0 |
errFailed | 1 |
errInvalidArgument | 2 |
errNotReady | 3 |
RtcEngine | null |
errNotSupported | 4 |
errRefused | 5 |
errBufferTooSmall | 6 |
errNotInitialized | 7 |
errInvalidState | 8 |
errNoPermission | 9 |
errTimedout | 10 |
errJoinChannelRejected | 17 |
errLeaveChannelRejected | 18 |
errAlreadyInUse | 19 |
errAborted | 20 |
errInitNetEngine | 21 |
errResourceLimited | 22 |
errInvalidAppId | 101 |
errInvalidChannelName | 102 |
errNoServerResources | 103 |
errTokenExpired | 109 |
errInvalidToken | null |
errConnectionInterrupted | 111 |
errConnectionLost | 112 |
errNotInChannel | 113 |
errSizeTooLarge | 114 |
errBitrateLimit | 115 |
errTooManyDataStreams | 116 |
errStreamMessageTimeout | 117 |
errSetClientRoleNotAuthorized | 119 |
errDecryptionFailed | 120 |
errInvalidUserId | 121 |
errDatastreamDecryptionFailed | 122 |
errClientIsBannedByServer | 123 |
errEncryptedStreamNotAllowedPublish | 130 |
errInvalidUserAccount | 134 |
errPcmsendFormat | 200 |
errPcmsendBufferoverflow | 201 |
errLoadMediaEngine | 1001 |
errAdmGeneralError | 1005 |
errAdmInitPlayout | 1008 |
errAdmStartPlayout | 1009 |
errAdmStopPlayout | 1010 |
errAdmInitRecording | 1011 |
errAdmStartRecording | 1012 |
errAdmStopRecording | 1013 |
errVdmCameraNotAuthorized | 1501 |
ExperiencePoorReason 5 members
| Member | value |
|---|---|
experienceReasonNone | 0 |
remoteNetworkQualityPoor | 1 |
localNetworkQualityPoor | 2 |
wirelessSignalPoor | 4 |
wifiBluetoothCoexist | 8 |
ExperienceQualityType 2 members
| Member | value |
|---|---|
experienceQualityGood | 0 |
experienceQualityBad | 1 |
ExternalVideoSourceType 2 members
| Member | value |
|---|---|
videoFrame | 0 |
encodedVideoFrame | 1 |
FaceShapeArea 30 members
| Member | value |
|---|---|
faceShapeAreaNone | -1 |
faceShapeAreaHeadscale | 100 |
faceShapeAreaForehead | 101 |
faceShapeAreaFacecontour | 102 |
faceShapeAreaFacelength | 103 |
faceShapeAreaFacewidth | 104 |
faceShapeAreaCheekbone | 105 |
faceShapeAreaCheek | 106 |
faceShapeAreaMandible | 107 |
faceShapeAreaChin | 108 |
faceShapeAreaEyescale | 200 |
faceShapeAreaEyedistance | 201 |
faceShapeAreaEyeposition | 202 |
faceShapeAreaLowereyelid | 203 |
faceShapeAreaEyepupils | 204 |
faceShapeAreaEyeinnercorner | 205 |
faceShapeAreaEyeoutercorner | 206 |
faceShapeAreaNoselength | 300 |
faceShapeAreaNosewidth | 301 |
faceShapeAreaNosewing | 302 |
faceShapeAreaNoseroot | 303 |
faceShapeAreaNosebridge | 304 |
faceShapeAreaNosetip | 305 |
faceShapeAreaNosegeneral | 306 |
faceShapeAreaMouthscale | 400 |
faceShapeAreaMouthposition | 401 |
faceShapeAreaMouthsmile | 402 |
faceShapeAreaMouthlip | 403 |
faceShapeAreaEyebrowposition | 500 |
faceShapeAreaEyebrowthickness | 501 |
FaceShapeBeautyStyle 3 members
| Member | value |
|---|---|
faceShapeBeautyStyleFemale | 0 |
faceShapeBeautyStyleMale | 1 |
faceShapeBeautyStyleNatural | 2 |
FeatureType 2 members
| Member | value |
|---|---|
videoVirtualBackground | 1 |
videoBeautyEffect | 2 |
FrameRate 7 members
| Member | value |
|---|---|
frameRateFps1 | 1 |
frameRateFps7 | 7 |
frameRateFps10 | 10 |
frameRateFps15 | 15 |
frameRateFps24 | 24 |
frameRateFps30 | 30 |
frameRateFps60 | 60 |
HeadphoneEqualizerPreset 3 members
| Member | value |
|---|---|
headphoneEqualizerOff | null |
headphoneEqualizerOverear | null |
headphoneEqualizerInear | null |
InterfaceIdType 7 members
| Member | value |
|---|---|
agoraIidAudioDeviceManager | 1 |
agoraIidVideoDeviceManager | 2 |
agoraIidParameterEngine | 3 |
agoraIidMediaEngine | 4 |
agoraIidSignalingEngine | 8 |
agoraIidLocalSpatialAudio | 11 |
agoraIidMusicContentCenter | 15 |
LastmileProbeResultState 3 members
| Member | value |
|---|---|
lastmileProbeResultComplete | 1 |
lastmileProbeResultIncompleteNoBwe | 2 |
lastmileProbeResultUnavailable | 3 |
LighteningContrastLevel 3 members
| Member | value |
|---|---|
lighteningContrastLow | 0 |
lighteningContrastNormal | 1 |
lighteningContrastHigh | 2 |
LocalAudioStreamReason 11 members
| Member | value |
|---|---|
localAudioStreamReasonOk | 0 |
localAudioStreamReasonFailure | 1 |
localAudioStreamReasonDeviceNoPermission | 2 |
localAudioStreamReasonDeviceBusy | 3 |
localAudioStreamReasonRecordFailure | 4 |
localAudioStreamReasonEncodeFailure | 5 |
localAudioStreamReasonNoRecordingDevice | 6 |
localAudioStreamReasonNoPlayoutDevice | 7 |
localAudioStreamReasonInterrupted | 8 |
localAudioStreamReasonRecordInvalidId | 9 |
localAudioStreamReasonPlayoutInvalidId | 10 |
LocalAudioStreamState 4 members
| Member | value |
|---|---|
localAudioStreamStateStopped | 0 |
localAudioStreamStateRecording | 1 |
localAudioStreamStateEncoding | 2 |
localAudioStreamStateFailed | 3 |
LocalProxyMode 2 members
| Member | value |
|---|---|
connectivityFirst | 0 |
localOnly | 1 |
LocalVideoEventType 6 members
| Member | value |
|---|---|
localVideoEventTypeScreenCaptureWindowHidden | 1 |
localVideoEventTypeScreenCaptureWindowRecoverFromHidden | 2 |
localVideoEventTypeScreenCaptureStoppedByUser | 3 |
localVideoEventTypeScreenCaptureSystemInternalError | 4 |
localVideoEventTypeCameraFocalLengthApplied | 5 |
localVideoEventTypeCameraFocalLengthFallbackToDefault | 6 |
LocalVideoStreamReason 26 members
| Member | value |
|---|---|
localVideoStreamReasonOk | 0 |
localVideoStreamReasonFailure | 1 |
localVideoStreamReasonDeviceNoPermission | 2 |
localVideoStreamReasonDeviceBusy | 3 |
localVideoStreamReasonCaptureFailure | 4 |
localVideoStreamReasonCodecNotSupport | 5 |
localVideoStreamReasonCaptureInbackground | 6 |
localVideoStreamReasonCaptureMultipleForegroundApps | 7 |
localVideoStreamReasonDeviceNotFound | 8 |
localVideoStreamReasonDeviceDisconnected | 9 |
localVideoStreamReasonDeviceInvalidId | 10 |
localVideoStreamReasonScreenCaptureWindowMinimized | 11 |
localVideoStreamReasonScreenCaptureWindowClosed | 12 |
localVideoStreamReasonScreenCaptureWindowOccluded | 13 |
localVideoStreamReasonDeviceInterrupt | 14 |
localVideoStreamReasonDeviceFatalError | 15 |
localVideoStreamReasonScreenCaptureFailure | 21 |
localVideoStreamReasonScreenCaptureNoPermission | 22 |
localVideoStreamReasonScreenCaptureAutoFallback | 24 |
localVideoStreamReasonScreenCaptureWindowHidden | 25 |
localVideoStreamReasonScreenCaptureWindowRecoverFromHidden | 26 |
localVideoStreamReasonScreenCaptureWindowRecoverFromMinimized | 27 |
localVideoStreamReasonScreenCapturePaused | 28 |
localVideoStreamReasonScreenCaptureResumed | 29 |
localVideoStreamReasonScreenCaptureDisplayDisconnected | 30 |
localVideoStreamReasonDeviceSystemPressure | 101 |
LocalVideoStreamState 4 members
| Member | value |
|---|---|
localVideoStreamStateStopped | 0 |
localVideoStreamStateCapturing | 1 |
localVideoStreamStateEncoding | 2 |
localVideoStreamStateFailed | 3 |
LogFilterType 6 members
| Member | value |
|---|---|
logFilterOff | 0 |
logFilterDebug | 2063 |
logFilterInfo | 15 |
logFilterWarn | 14 |
logFilterError | 12 |
logFilterCritical | 8 |
LogLevel 5 members
| Member | value |
|---|---|
logLevelNone | 0 |
logLevelInfo | 1 |
logLevelWarn | 2 |
logLevelError | 4 |
logLevelFatal | 8 |
LowLightEnhanceLevel 2 members
| Member | value |
|---|---|
lowLightEnhanceLevelHighQuality | 0 |
lowLightEnhanceLevelFast | 1 |
LowLightEnhanceMode 2 members
| Member | value |
|---|---|
LowLightEnhanceAuto | 0 |
LowLightEnhanceManual | 1 |
MaxDeviceIdLengthType 1 members
| Member | value |
|---|---|
maxDeviceIdLength | null |
MaxUserAccountLengthType 1 members
| Member | value |
|---|---|
maxUserAccountLength | null |
MediaDeviceStateType 6 members
| Member | value |
|---|---|
mediaDeviceStateIdle | 0 |
mediaDeviceStateActive | 1 |
mediaDeviceStateDisabled | 2 |
mediaDeviceStatePluggedIn | 3 |
mediaDeviceStateNotPresent | 4 |
mediaDeviceStateUnplugged | 8 |
MediaDeviceType 8 members
| Member | value |
|---|---|
unknownAudioDevice | -1 |
audioPlayoutDevice | 0 |
audioRecordingDevice | 1 |
videoRenderDevice | 2 |
videoCaptureDevice | 3 |
audioApplicationPlayoutDevice | 4 |
audioVirtualPlayoutDevice | null |
audioVirtualRecordingDevice | null |
MediaPlayerEvent 14 members
| Member | value |
|---|---|
playerEventSeekBegin | 0 |
playerEventSeekComplete | 1 |
playerEventSeekError | 2 |
playerEventAudioTrackChanged | 5 |
playerEventBufferLow | 6 |
playerEventBufferRecover | 7 |
playerEventFreezeStart | 8 |
playerEventFreezeStop | 9 |
playerEventSwitchBegin | 10 |
playerEventSwitchComplete | 11 |
playerEventSwitchError | 12 |
playerEventFirstDisplayed | 13 |
playerEventReachCacheFileMaxCount | 14 |
playerEventReachCacheFileMaxSize | 15 |
MediaPlayerMetadataType 2 members
| Member | value |
|---|---|
playerMetadataTypeUnknown | 0 |
playerMetadataTypeSei | 1 |
MediaPlayerReason 17 members
| Member | value |
|---|---|
playerReasonNone | 0 |
playerReasonInvalidArguments | -1 |
playerReasonInternal | -2 |
playerReasonNoResource | -3 |
playerReasonInvalidMediaSource | -4 |
playerReasonUnknownStreamType | -5 |
playerReasonObjNotInitialized | -6 |
playerReasonCodecNotSupported | -7 |
playerReasonVideoRenderFailed | -8 |
playerReasonInvalidState | -9 |
playerReasonUrlNotFound | -10 |
playerReasonInvalidConnectionState | -11 |
playerReasonSrcBufferUnderflow | -12 |
playerReasonInterrupted | -13 |
playerReasonNotSupported | -14 |
playerReasonTokenExpired | -15 |
playerReasonUnknown | -17 |
MediaPlayerState 9 members
| Member | value |
|---|---|
playerStateIdle | 0 |
playerStateOpening | 1 |
playerStateOpenCompleted | 2 |
playerStatePlaying | 3 |
playerStatePaused | 4 |
playerStatePlaybackCompleted | 5 |
playerStatePlaybackAllLoopsCompleted | 6 |
playerStateStopped | 7 |
playerStateFailed | 100 |
MediaRecorderContainerFormat 1 members
| Member | value |
|---|---|
formatMp4 | 1 |
MediaRecorderStreamType 3 members
| Member | value |
|---|---|
streamTypeAudio | 1 |
streamTypeVideo | 2 |
streamTypeBoth | 3 |
MediaSourceType 7 members
| Member | value |
|---|---|
audioPlayoutSource | 0 |
audioRecordingSource | 1 |
primaryCameraSource | 2 |
secondaryCameraSource | 3 |
customVideoSource | 6 |
speechDrivenVideoSource | 13 |
unknownMediaSource | 100 |
MediaStreamType 4 members
| Member | value |
|---|---|
streamTypeUnknown | 0 |
streamTypeVideo | 1 |
streamTypeAudio | 2 |
streamTypeSubtitle | 3 |
MediaTraceEvent 2 members
| Member | value |
|---|---|
mediaTraceEventVideoRendered | 0 |
mediaTraceEventVideoDecoded | 1 |
MetadataType 2 members
| Member | value |
|---|---|
unknownMetadata | -1 |
videoMetadata | 0 |
MultipathMode 1 members
| Member | value |
|---|---|
duplicate | 0 |
MultipathType 4 members
| Member | value |
|---|---|
lan | 0 |
wifi | 1 |
mobile | 2 |
unknown | 99 |
MusicCacheStatusType 2 members
| Member | value |
|---|---|
musicCacheStatusTypeCached | 0 |
musicCacheStatusTypeCaching | 1 |
MusicContentCenterStateReason 8 members
| Member | value |
|---|---|
kMusicContentCenterReasonOk | 0 |
kMusicContentCenterReasonError | 1 |
kMusicContentCenterReasonGateway | 2 |
kMusicContentCenterReasonPermissionAndResource | 3 |
kMusicContentCenterReasonInternalDataParse | 4 |
kMusicContentCenterReasonMusicLoading | 5 |
kMusicContentCenterReasonMusicDecryption | 6 |
kMusicContentCenterReasonHttpInternalError | 7 |
MusicPlayMode 3 members
| Member | value |
|---|---|
kMusicPlayModeOriginal | 0 |
kMusicPlayModeAccompany | 1 |
kMusicPlayModeLeadSing | 2 |
NetworkType 8 members
| Member | value |
|---|---|
networkTypeUnknown | -1 |
networkTypeDisconnected | 0 |
networkTypeLan | 1 |
networkTypeWifi | 2 |
networkTypeMobile2g | 3 |
networkTypeMobile3g | 4 |
networkTypeMobile4g | 5 |
networkTypeMobile5g | 6 |
OrientationMode 3 members
| Member | value |
|---|---|
orientationModeAdaptive | 0 |
orientationModeFixedLandscape | 1 |
orientationModeFixedPortrait | 2 |
PermissionType 3 members
| Member | value |
|---|---|
recordAudio | 0 |
camera | 1 |
screenCapture | null |
PlayerPreloadEvent 3 members
| Member | value |
|---|---|
playerPreloadEventBegin | 0 |
playerPreloadEventComplete | 1 |
playerPreloadEventError | 2 |
PreloadState 4 members
| Member | value |
|---|---|
kPreloadStateCompleted | 0 |
kPreloadStateFailed | 1 |
kPreloadStatePreloading | 2 |
kPreloadStateRemoved | 3 |
ProxyType 5 members
| Member | value |
|---|---|
noneProxyType | 0 |
udpProxyType | 1 |
tcpProxyType | 2 |
localProxyType | 3 |
tcpProxyAutoFallbackType | 4 |
QualityAdaptIndication 3 members
| Member | value |
|---|---|
adaptNone | 0 |
adaptUpBandwidth | 1 |
adaptDownBandwidth | 2 |
QualityType 8 members
| Member | value |
|---|---|
qualityUnknown | 0 |
qualityExcellent | 1 |
qualityGood | 2 |
qualityPoor | 3 |
qualityBad | 4 |
qualityVbad | 5 |
qualityDown | 6 |
qualityDetecting | 8 |
RawAudioFrameOpModeType 2 members
| Member | value |
|---|---|
rawAudioFrameOpModeReadOnly | 0 |
rawAudioFrameOpModeReadWrite | 2 |
RecorderReasonCode 5 members
| Member | value |
|---|---|
recorderReasonNone | 0 |
recorderReasonWriteFailed | 1 |
recorderReasonNoStream | 2 |
recorderReasonOverMaxDuration | 3 |
recorderReasonConfigChanged | 4 |
RecorderState 3 members
| Member | value |
|---|---|
recorderStateError | -1 |
recorderStateStart | 2 |
recorderStateStop | 3 |
RecorderStreamType 2 members
| Member | value |
|---|---|
rtc | 0 |
preview | 1 |
RemoteAudioState 5 members
| Member | value |
|---|---|
remoteAudioStateStopped | 0 |
remoteAudioStateStarting | 1 |
remoteAudioStateDecoding | 2 |
remoteAudioStateFrozen | 3 |
remoteAudioStateFailed | 4 |
RemoteAudioStateReason 8 members
| Member | value |
|---|---|
remoteAudioReasonInternal | 0 |
remoteAudioReasonNetworkCongestion | 1 |
remoteAudioReasonNetworkRecovery | 2 |
remoteAudioReasonLocalMuted | 3 |
remoteAudioReasonLocalUnmuted | 4 |
remoteAudioReasonRemoteMuted | 5 |
remoteAudioReasonRemoteUnmuted | 6 |
remoteAudioReasonRemoteOffline | 7 |
RemoteVideoState 5 members
| Member | value |
|---|---|
remoteVideoStateStopped | 0 |
remoteVideoStateStarting | 1 |
remoteVideoStateDecoding | 2 |
remoteVideoStateFrozen | 3 |
remoteVideoStateFailed | 4 |
RemoteVideoStateReason 12 members
| Member | value |
|---|---|
remoteVideoStateReasonInternal | 0 |
remoteVideoStateReasonNetworkCongestion | 1 |
remoteVideoStateReasonNetworkRecovery | 2 |
remoteVideoStateReasonLocalMuted | 3 |
remoteVideoStateReasonLocalUnmuted | 4 |
remoteVideoStateReasonRemoteMuted | 5 |
remoteVideoStateReasonRemoteUnmuted | 6 |
remoteVideoStateReasonRemoteOffline | 7 |
remoteVideoStateReasonAudioFallback | 8 |
remoteVideoStateReasonAudioFallbackRecovery | 9 |
remoteVideoStateReasonSdkInBackground | 12 |
remoteVideoStateReasonCodecNotSupport | 13 |
RenderModeType 3 members
| Member | value |
|---|---|
renderModeHidden | 1 |
renderModeFit | 2 |
renderModeAdaptive | 3 |
RenewTokenErrorCode 7 members
| Member | value |
|---|---|
renewTokenSuccess | 0 |
renewTokenFailure | 1 |
renewTokenTokenExpired | 2 |
renewTokenInvalidToken | 3 |
renewTokenInvalidChannelName | 4 |
renewTokenInconsistentAppid | 5 |
renewTokenCanceledByNewRequest | 6 |
RhythmPlayerReason 5 members
| Member | value |
|---|---|
rhythmPlayerReasonOk | 0 |
rhythmPlayerReasonFailed | 1 |
rhythmPlayerReasonCanNotOpen | 801 |
rhythmPlayerReasonCanNotPlay | 802 |
rhythmPlayerReasonFileOverDurationLimit | 803 |
RhythmPlayerStateType 5 members
| Member | value |
|---|---|
rhythmPlayerStateIdle | 810 |
rhythmPlayerStateOpening | 811 |
rhythmPlayerStateDecoding | 812 |
rhythmPlayerStatePlaying | 813 |
rhythmPlayerStateFailed | 814 |
RtmpStreamingEvent 4 members
| Member | value |
|---|---|
rtmpStreamingEventFailedLoadImage | 1 |
rtmpStreamingEventUrlAlreadyInUse | 2 |
rtmpStreamingEventAdvancedFeatureNotSupport | 3 |
rtmpStreamingEventRequestTooOften | 4 |
RtmpStreamLifeCycleType 2 members
| Member | value |
|---|---|
rtmpStreamLifeCycleBind2channel | null |
rtmpStreamLifeCycleBind2owner | null |
RtmpStreamPublishReason 16 members
| Member | value |
|---|---|
rtmpStreamPublishReasonOk | 0 |
rtmpStreamPublishReasonInvalidArgument | 1 |
rtmpStreamPublishReasonEncryptedStreamNotAllowed | 2 |
rtmpStreamPublishReasonConnectionTimeout | 3 |
rtmpStreamPublishReasonInternalServerError | 4 |
rtmpStreamPublishReasonRtmpServerError | 5 |
rtmpStreamPublishReasonTooOften | 6 |
rtmpStreamPublishReasonReachLimit | 7 |
rtmpStreamPublishReasonNotAuthorized | 8 |
rtmpStreamPublishReasonStreamNotFound | 9 |
rtmpStreamPublishReasonFormatNotSupported | 10 |
rtmpStreamPublishReasonNotBroadcaster | 11 |
rtmpStreamPublishReasonTranscodingNoMixStream | 13 |
rtmpStreamPublishReasonNetDown | 14 |
rtmpStreamPublishReasonInvalidPrivilege | 16 |
rtmpStreamUnpublishReasonOk | 100 |
RtmpStreamPublishState 6 members
| Member | value |
|---|---|
rtmpStreamPublishStateIdle | 0 |
rtmpStreamPublishStateConnecting | 1 |
rtmpStreamPublishStateRunning | 2 |
rtmpStreamPublishStateRecovering | 3 |
rtmpStreamPublishStateFailure | 4 |
rtmpStreamPublishStateDisconnecting | 5 |
ScreenCaptureFramerateCapability 3 members
| Member | value |
|---|---|
screenCaptureFramerateCapability15Fps | 0 |
screenCaptureFramerateCapability30Fps | 1 |
screenCaptureFramerateCapability60Fps | 2 |
ScreenCaptureSourceType 4 members
| Member | value |
|---|---|
screencapturesourcetypeUnknown | -1 |
screencapturesourcetypeWindow | 0 |
screencapturesourcetypeScreen | 1 |
screencapturesourcetypeCustom | 2 |
ScreenColorType 3 members
| Member | value |
|---|---|
screenColorAuto | 0 |
screenColorGreen | 1 |
screenColorBlue | 2 |
ScreenScenarioType 4 members
| Member | value |
|---|---|
screenScenarioDocument | 1 |
screenScenarioGaming | 2 |
screenScenarioVideo | 3 |
screenScenarioRdc | 4 |
SegModelType 2 members
| Member | value |
|---|---|
segModelAi | 1 |
segModelGreen | 2 |
SimulcastStreamMode 3 members
| Member | value |
|---|---|
autoSimulcastStream | -1 |
disableSimulcastStream | 0 |
enableSimulcastStream | 1 |
StreamFallbackOptions 3 members
| Member | value |
|---|---|
streamFallbackOptionDisabled | 0 |
streamFallbackOptionVideoStreamLow | 1 |
streamFallbackOptionAudioOnly | 2 |
StreamPublishState 4 members
| Member | value |
|---|---|
pubStateIdle | 0 |
pubStateNoPublished | 1 |
pubStatePublishing | 2 |
pubStatePublished | 3 |
StreamSubscribeState 4 members
| Member | value |
|---|---|
subStateIdle | 0 |
subStateNoSubscribed | 1 |
subStateSubscribing | 2 |
subStateSubscribed | 3 |
UserOfflineReasonType 3 members
| Member | value |
|---|---|
userOfflineQuit | 0 |
userOfflineDropped | 1 |
userOfflineBecomeAudience | 2 |
VideoApplicationScenarioType 4 members
| Member | value |
|---|---|
applicationScenarioGeneral | 0 |
applicationScenarioMeeting | 1 |
applicationScenario1v1 | 2 |
applicationScenarioLiveshow | 3 |
VideoBufferType 3 members
| Member | value |
|---|---|
videoBufferRawData | 1 |
videoBufferArray | 2 |
videoBufferTexture | 3 |
VideoCodecCapabilityLevel 5 members
| Member | value |
|---|---|
codecCapabilityLevelUnspecified | -1 |
codecCapabilityLevelBasicSupport | 5 |
codecCapabilityLevel1080p30fps | 10 |
codecCapabilityLevel1080p60fps | 20 |
codecCapabilityLevel4k60fps | 30 |
VideoCodecProfileType 3 members
| Member | value |
|---|---|
videoCodecProfileBaseline | 66 |
videoCodecProfileMain | 77 |
videoCodecProfileHigh | 100 |
VideoCodecType 6 members
| Member | value |
|---|---|
videoCodecNone | 0 |
videoCodecVp8 | 1 |
videoCodecH264 | 2 |
videoCodecH265 | 3 |
videoCodecGeneric | 6 |
videoCodecGenericJpeg | 20 |
VideoCodecTypeForStream 2 members
| Member | value |
|---|---|
videoCodecH264ForStream | 1 |
videoCodecH265ForStream | 2 |
VideoContentHint 3 members
| Member | value |
|---|---|
contentHintNone | null |
contentHintMotion | null |
contentHintDetails | null |
VideoDenoiserLevel 2 members
| Member | value |
|---|---|
videoDenoiserLevelHighQuality | 0 |
videoDenoiserLevelFast | 1 |
VideoDenoiserMode 2 members
| Member | value |
|---|---|
videoDenoiserAuto | 0 |
videoDenoiserManual | 1 |
VideoEffectAction 2 members
| Member | value |
|---|---|
save | 1 |
reset | 2 |
VideoEffectNodeId 3 members
| Member | value |
|---|---|
beauty | 1 |
styleMakeup | 2 |
filter | 4 |
VideoFrameProcessMode 2 members
| Member | value |
|---|---|
processModeReadOnly | null |
processModeReadWrite | null |
VideoFrameType 6 members
| Member | value |
|---|---|
videoFrameTypeBlankFrame | 0 |
videoFrameTypeKeyFrame | 3 |
videoFrameTypeDeltaFrame | 4 |
videoFrameTypeBFrame | 5 |
videoFrameTypeDroppableFrame | 6 |
videoFrameTypeUnknow | null |
VideoMirrorModeType 3 members
| Member | value |
|---|---|
videoMirrorModeAuto | 0 |
videoMirrorModeEnabled | 1 |
videoMirrorModeDisabled | 2 |
VideoModulePosition 4 members
| Member | value |
|---|---|
positionPostCapturer | 1 |
positionPreRenderer | 2 |
positionPreEncoder | 4 |
positionPostCapturerOrigin | 8 |
VideoOrientation 4 members
| Member | value |
|---|---|
videoOrientation0 | 0 |
videoOrientation90 | 90 |
videoOrientation180 | 180 |
videoOrientation270 | 270 |
VideoPixelFormat 5 members
| Member | value |
|---|---|
videoPixelDefault | 0 |
videoPixelI420 | 1 |
videoPixelRgba | 4 |
videoPixelI422 | 16 |
videoTextureId3d11texture2d | 17 |
VideoSourceType 19 members
| Member | value |
|---|---|
videoSourceCameraPrimary | 0 |
videoSourceCamera | 0 |
videoSourceCameraSecondary | 1 |
videoSourceScreenPrimary | 2 |
videoSourceScreen | 2 |
videoSourceScreenSecondary | 3 |
videoSourceCustom | 4 |
videoSourceMediaPlayer | 5 |
videoSourceRtcImagePng | 6 |
videoSourceRtcImageJpeg | 7 |
videoSourceRtcImageGif | 8 |
videoSourceRemote | 9 |
videoSourceTranscoded | 10 |
videoSourceCameraThird | 11 |
videoSourceCameraFourth | 12 |
videoSourceScreenThird | 13 |
videoSourceScreenFourth | 14 |
videoSourceSpeechDriven | 15 |
videoSourceUnknown | 100 |
VideoStreamType 8 members
| Member | value |
|---|---|
videoStreamHigh | 0 |
videoStreamLow | 1 |
VIDEO_STREAM_LAYER_1 | 4 |
VIDEO_STREAM_LAYER_2 | 5 |
VIDEO_STREAM_LAYER_3 | 6 |
VIDEO_STREAM_LAYER_4 | 7 |
VIDEO_STREAM_LAYER_5 | 8 |
VIDEO_STREAM_LAYER_6 | 9 |
VideoTranscoderError 6 members
| Member | value |
|---|---|
vtErrVideoSourceNotReady | 1 |
vtErrInvalidVideoSourceType | 2 |
vtErrInvalidImagePath | 3 |
vtErrUnsupportImageFormat | 4 |
vtErrInvalidLayout | 5 |
vtErrInternal | 20 |
VideoViewSetupMode 3 members
| Member | value |
|---|---|
videoViewSetupReplace | 0 |
videoViewSetupAdd | 1 |
videoViewSetupRemove | 2 |
VoiceAiTunerType 10 members
| Member | value |
|---|---|
voiceAiTunerMatureMale | 0 |
voiceAiTunerFreshMale | 1 |
voiceAiTunerElegantFemale | 2 |
voiceAiTunerSweetFemale | 3 |
voiceAiTunerWarmMaleSinging | 4 |
voiceAiTunerGentleFemaleSinging | 5 |
voiceAiTunerHuskyMaleSinging | 6 |
voiceAiTunerWarmElegantFemaleSinging | 7 |
voiceAiTunerPowerfulMaleSinging | 8 |
voiceAiTunerDreamyFemaleSinging | 9 |
VoiceBeautifierPreset 14 members
| Member | value |
|---|---|
voiceBeautifierOff | null |
chatBeautifierMagnetic | null |
chatBeautifierFresh | null |
chatBeautifierVitality | null |
singingBeautifier | null |
timbreTransformationVigorous | null |
timbreTransformationDeep | null |
timbreTransformationMellow | null |
timbreTransformationFalsetto | null |
timbreTransformationFull | null |
timbreTransformationClear | null |
timbreTransformationResounding | null |
timbreTransformationRinging | null |
ultraHighQualityVoice | null |
VoiceConversionPreset 5 members
| Member | value |
|---|---|
voiceConversionOff | null |
voiceChangerNeutral | null |
voiceChangerSweet | null |
voiceChangerSolid | null |
voiceChangerBass | null |
WatermarkFitMode 2 members
| Member | value |
|---|---|
fitModeCoverPosition | 0 |
fitModeUseImageRatio | 1 |
WatermarkSourceType 4 members
| Member | value |
|---|---|
image | 0 |
buffer | 1 |
literal | 2 |
timestamps | 3 |
error-code constants
| Constant | value |
|---|---|
RtcEngine | null |
errAborted | 20 |
errAdmGeneralError | 1005 |
errAdmInitPlayout | 1008 |
errAdmInitRecording | 1011 |
errAdmStartPlayout | 1009 |
errAdmStartRecording | 1012 |
errAdmStopPlayout | 1010 |
errAdmStopRecording | 1013 |
errAlreadyInUse | 19 |
errBitrateLimit | 115 |
errBufferTooSmall | 6 |
errClientIsBannedByServer | 123 |
errConnectionInterrupted | 111 |
errConnectionLost | 112 |
errDatastreamDecryptionFailed | 122 |
errDecryptionFailed | 120 |
errEncryptedStreamNotAllowedPublish | 130 |
errFailed | 1 |
errInitNetEngine | 21 |
errInvalidAppId | 101 |
errInvalidArgument | 2 |
errInvalidChannelName | 102 |
errInvalidState | 8 |
errInvalidToken | null |
errInvalidUserAccount | 134 |
errInvalidUserId | 121 |
errJoinChannelRejected | 17 |
errLeaveChannelRejected | 18 |
errLoadMediaEngine | 1001 |
errNoPermission | 9 |
errNoServerResources | 103 |
errNotInChannel | 113 |
errNotInitialized | 7 |
errNotReady | 3 |
errNotSupported | 4 |
errOk | 0 |
errPcmsendBufferoverflow | 201 |
errPcmsendFormat | 200 |
errRefused | 5 |
errResourceLimited | 22 |
errSetClientRoleNotAuthorized | 119 |
errSizeTooLarge | 114 |
errStreamMessageTimeout | 117 |
errTimedout | 10 |
errTokenExpired | 109 |
errTooManyDataStreams | 116 |
errVdmCameraNotAuthorized | 1501 |
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.
| Interface | Member |
|---|---|
AgoraPipController | dispose |
AgoraPipController | isPipActivated |
AgoraPipController | pipDispose |
AgoraPipController | pipIsAutoEnterSupported |
AgoraPipController | pipIsSupported |
AgoraPipController | pipSetup |
AgoraPipController | pipStart |
AgoraPipController | pipStop |
AgoraPipController | registerPipStateChangedObserver |
AgoraPipController | unregisterPipStateChangedObserver |
BaseSpatialAudioEngine | muteAllRemoteAudioStreams |
BaseSpatialAudioEngine | muteLocalAudioStream |
BaseSpatialAudioEngine | muteRemoteAudioStream |
BaseSpatialAudioEngine | release |
BaseSpatialAudioEngine | setAudioRecvRange |
BaseSpatialAudioEngine | setDistanceUnit |
BaseSpatialAudioEngine | setMaxAudioRecvCount |
BaseSpatialAudioEngine | setPlayerAttenuation |
BaseSpatialAudioEngine | setZones |
BaseSpatialAudioEngine | updatePlayerPositionInfo |
BaseSpatialAudioEngine | updateSelfPosition |
FilterEffectOptions | path |
LocalSpatialAudioEngine | clearRemotePositions |
LocalSpatialAudioEngine | initialize |
LocalSpatialAudioEngine | removeRemotePosition |
LocalSpatialAudioEngine | setRemoteAudioAttenuation |
LocalSpatialAudioEngine | updateRemotePosition |
MediaEngine | createCustomAudioTrack |
MediaEngine | destroyCustomAudioTrack |
MediaEngine | pullAudioFrame |
MediaEngine | pushAudioFrame |
MediaEngine | pushVideoFrame |
MediaEngine | registerAudioFrameObserver |
MediaEngine | registerFaceInfoObserver |
MediaEngine | registerVideoEncodedFrameObserver |
MediaEngine | registerVideoFrameObserver |
MediaEngine | setExternalAudioSink |
MediaEngine | setExternalAudioSource |
MediaEngine | setExternalVideoSource |
MediaEngine | unregisterAudioFrameObserver |
MediaEngine | unregisterFaceInfoObserver |
MediaEngine | unregisterVideoEncodedFrameObserver |
MediaEngine | unregisterVideoFrameObserver |
MediaPlayerCacheManager | enableAutoRemoveCache |
MediaPlayerCacheManager | getCacheDir |
MediaPlayerCacheManager | getCacheFileCount |
MediaPlayerCacheManager | getMaxCacheFileCount |
MediaPlayerCacheManager | getMaxCacheFileSize |
MediaPlayerCacheManager | getMediaPlayerCacheManager |
MediaPlayerCacheManager | removeAllCaches |
MediaPlayerCacheManager | removeOldCache |
MediaPlayerCacheManager | setCacheDir |
MediaPlayerCacheManager | setMaxCacheFileCount |
MediaPlayerCacheManager | setMaxCacheFileSize |
MediaPlayerController | initialize |
MediaRecorder | setMediaRecorderObserver |
MediaRecorder | startRecording |
MediaRecorder | stopRecording |
MusicChartCollection | get |
MusicChartCollection | getCount |
MusicCollection | getCount |
MusicCollection | getMusic |
MusicCollection | getPage |
MusicCollection | getPageSize |
MusicCollection | getTotal |
MusicContentCenter | createMusicPlayer |
MusicContentCenter | destroyMusicPlayer |
MusicContentCenter | getInternalSongCode |
MusicContentCenter | getLyric |
MusicContentCenter | getMusicCharts |
MusicContentCenter | getMusicCollectionByMusicChartId |
MusicContentCenter | getSongSimpleInfo |
MusicContentCenter | initialize |
MusicContentCenter | isPreloaded |
MusicContentCenter | preload |
MusicContentCenter | registerEventHandler |
MusicContentCenter | release |
MusicContentCenter | removeCache |
MusicContentCenter | renewToken |
MusicContentCenter | searchMusic |
MusicContentCenter | unregisterEventHandler |
MusicPlayer | openWithSongCode |
MusicPlayer | setPlayMode |
RtcEngine | addVideoWatermark |
RtcEngine | addVideoWatermarkWithConfig |
RtcEngine | adjustCustomAudioPlayoutVolume |
RtcEngine | adjustCustomAudioPublishVolume |
RtcEngine | adjustLoopbackSignalVolume |
RtcEngine | clearVideoWatermarks |
RtcEngine | configRhythmPlayer |
RtcEngine | createCustomVideoTrack |
RtcEngine | createMediaRecorder |
RtcEngine | createVideoEffectObject |
RtcEngine | destroyCustomVideoTrack |
RtcEngine | destroyMediaRecorder |
RtcEngine | destroyVideoEffectObject |
RtcEngine | disableAudioSpectrumMonitor |
RtcEngine | enableAudioSpectrumMonitor |
RtcEngine | enableCameraCenterStage |
RtcEngine | enableContentInspect |
RtcEngine | enableCustomAudioLocalPlayback |
RtcEngine | enableDualStreamMode |
RtcEngine | enableEncryption |
RtcEngine | enableExtension |
RtcEngine | enableFaceDetection |
RtcEngine | enableLoopbackRecording |
RtcEngine | enableMultiCamera |
RtcEngine | enableSpatialAudio |
RtcEngine | enableVideoImageSource |
RtcEngine | enableVirtualBackground |
RtcEngine | enableVoiceAITuner |
RtcEngine | getExtensionProperty |
RtcEngine | getFaceShapeAreaOptions |
RtcEngine | getFaceShapeBeautyOptions |
RtcEngine | getNativeHandle |
RtcEngine | isCameraAutoExposureFaceModeSupported |
RtcEngine | isCameraCenterStageSupported |
RtcEngine | isCameraFaceDetectSupported |
RtcEngine | isFeatureAvailableOnDevice |
RtcEngine | isSpeakerphoneEnabled |
RtcEngine | joinChannelWithUserAccountEx |
RtcEngine | loadExtensionProvider |
RtcEngine | pauseAllChannelMediaRelay |
RtcEngine | playAllEffects |
RtcEngine | preloadChannelWithUserAccount |
RtcEngine | queryDeviceScore |
RtcEngine | queryScreenCaptureCapability |
RtcEngine | registerAudioEncodedFrameObserver |
RtcEngine | registerAudioSpectrumObserver |
RtcEngine | registerExtension |
RtcEngine | registerMediaMetadataObserver |
RtcEngine | removeVideoWatermark |
RtcEngine | resumeAllChannelMediaRelay |
RtcEngine | sendMetaData |
RtcEngine | setBeautyEffectOptions |
RtcEngine | setCameraAutoExposureFaceModeEnabled |
RtcEngine | setCameraCapturerConfiguration |
RtcEngine | setCameraDeviceOrientation |
RtcEngine | setCameraStabilizationMode |
RtcEngine | setColorEnhanceOptions |
RtcEngine | setDefaultAudioRouteToSpeakerphone |
RtcEngine | setEarMonitoringAudioFrameParameters |
RtcEngine | setEnableSpeakerphone |
RtcEngine | setExtensionProperty |
RtcEngine | setExtensionProviderProperty |
RtcEngine | setExternalMediaProjection |
RtcEngine | setExternalRemoteEglContext |
RtcEngine | setFaceShapeAreaOptions |
RtcEngine | setFaceShapeBeautyOptions |
RtcEngine | setFilterEffectOptions |
RtcEngine | setLogFile |
RtcEngine | setLogFileSize |
RtcEngine | setLowlightEnhanceOptions |
RtcEngine | setMixedAudioFrameParameters |
RtcEngine | setParameters |
RtcEngine | setPlaybackAudioFrameParameters |
RtcEngine | setRecordingAudioFrameParameters |
RtcEngine | setRemoteUserSpatialAudioParams |
RtcEngine | setRemoteVoicePosition |
RtcEngine | setRouteInCommunicationMode |
RtcEngine | setVideoDenoiserOptions |
RtcEngine | startAudioRecording |
RtcEngine | startCameraCapture |
RtcEngine | startEchoTest |
RtcEngine | startLastmileProbeTest |
RtcEngine | startLocalAudioMixer |
RtcEngine | startLocalVideoTranscoder |
RtcEngine | startMediaRenderingTracing |
RtcEngine | startOrUpdateChannelMediaRelay |
RtcEngine | startRhythmPlayer |
RtcEngine | startRtmpStreamWithTranscoding |
RtcEngine | startRtmpStreamWithoutTranscoding |
RtcEngine | stopAudioRecording |
RtcEngine | stopCameraCapture |
RtcEngine | stopChannelMediaRelay |
RtcEngine | stopEchoTest |
RtcEngine | stopLastmileProbeTest |
RtcEngine | stopLocalAudioMixer |
RtcEngine | stopLocalVideoTranscoder |
RtcEngine | stopRhythmPlayer |
RtcEngine | stopRtmpStream |
RtcEngine | takeSnapshot |
RtcEngine | takeSnapshotWithConfig |
RtcEngine | unloadAllEffects |
RtcEngine | unregisterAudioEncodedFrameObserver |
RtcEngine | unregisterAudioSpectrumObserver |
RtcEngine | unregisterMediaMetadataObserver |
RtcEngine | updateLocalAudioMixerConfiguration |
RtcEngine | updateLocalTranscoderConfiguration |
RtcEngine | updateRtmpTranscoding |
RtcEngineEx | addVideoWatermarkEx |
RtcEngineEx | addVideoWatermarkWithConfigEx |
RtcEngineEx | adjustUserPlaybackSignalVolumeEx |
RtcEngineEx | clearVideoWatermarkEx |
RtcEngineEx | createDataStreamEx |
RtcEngineEx | enableContentInspectEx |
RtcEngineEx | enableDualStreamModeEx |
RtcEngineEx | enableEncryptionEx |
RtcEngineEx | enableLoopbackRecordingEx |
RtcEngineEx | pauseAllChannelMediaRelayEx |
RtcEngineEx | playEffectEx |
RtcEngineEx | preloadEffectEx |
RtcEngineEx | removeVideoWatermarkEx |
RtcEngineEx | resumeAllChannelMediaRelayEx |
RtcEngineEx | sendCustomReportMessageEx |
RtcEngineEx | setDualStreamModeEx |
RtcEngineEx | setRemoteRenderModeEx |
RtcEngineEx | setRemoteVideoStreamTypeEx |
RtcEngineEx | setRemoteVideoSubscriptionOptionsEx |
RtcEngineEx | setRemoteVoicePositionEx |
RtcEngineEx | setSubscribeAudioAllowlistEx |
RtcEngineEx | setSubscribeAudioBlocklistEx |
RtcEngineEx | setSubscribeVideoAllowlistEx |
RtcEngineEx | setSubscribeVideoBlocklistEx |
RtcEngineEx | startMediaRenderingTracingEx |
RtcEngineEx | startOrUpdateChannelMediaRelayEx |
RtcEngineEx | startRtmpStreamWithTranscodingEx |
RtcEngineEx | startRtmpStreamWithoutTranscodingEx |
RtcEngineEx | stopChannelMediaRelayEx |
RtcEngineEx | stopRtmpStreamEx |
RtcEngineEx | takeSnapshotEx |
RtcEngineEx | takeSnapshotWithConfigEx |
RtcEngineEx | updateRtmpTranscodingEx |
RtcEngineExt | getAssetAbsolutePath |
VideoEffectObject | addOrUpdateVideoEffect |
VideoEffectObject | getVideoEffectBoolParam |
VideoEffectObject | getVideoEffectFloatParam |
VideoEffectObject | getVideoEffectIntParam |
VideoEffectObject | performVideoEffectAction |
VideoEffectObject | removeVideoEffect |
VideoEffectObject | setVideoEffectBoolParam |
VideoEffectObject | setVideoEffectFloatParam |
VideoEffectObject | setVideoEffectIntParam |