Unity(C#) API 参考
构建时从公开 SDK 接口定义生成:接口、方法重载、属性、事件、枚举与错误码。
接口概览
本页列出 Unity(C#) 端公开 API 的类、方法、重载、属性、事件与错误码,接口定义与 SDK 包版本一致。
| 核对项 | 数量 |
|---|---|
| 接口 / 类 | 140 |
| 方法 | 588 |
| 方法重载 | 617 |
| 属性 | 637 |
| 枚举 | 148 |
| 错误码常量 | 48 |
可用性
该端 SDK:正式可用。接口定义与 SDK 包版本一致;运行时的能力边界以实际发布的 SDK 包为准。
加入频道核心链路
按 join / leave / publish / subscribe 的典型调用顺序整理;参数表在“最小可运行链路”一节展开。
| 步骤 | 接口 | 方法 | 重载数 |
|---|---|---|---|
| 订阅远端媒体 | IBaseSpatialAudioEngine | MuteRemoteAudioStream | 1 |
| 创建 / 初始化 | ILocalSpatialAudioEngine | Initialize | 1 |
| 续期 Token | IMusicContentCenter | RenewToken | 1 |
| 开启视频与预览 | IRtcEngine | EnableVideo | 1 |
| 加入频道 | IRtcEngine | JoinChannel | 2 |
| 离开频道 | IRtcEngine | LeaveChannel | 2 |
| 频道场景 | IRtcEngine | SetChannelProfile | 1 |
| 角色切换 | IRtcEngine | SetClientRole | 2 |
| 本地画面 | IRtcEngine | SetupLocalVideo | 1 |
最小可运行链路的参数
| 参数 | 类型 | 可选 | 可变参数 |
|---|---|---|---|
uid | uint | 否 | 否 |
mute | bool | 否 | 否 |
token | string | 否 | 否 |
token | string | 否 | 否 |
channelId | string | 否 | 否 |
info | string | 是 | 否 |
uid | uint | 是 | 否 |
token | string | 否 | 否 |
channelId | string | 否 | 否 |
uid | uint | 否 | 否 |
options | ChannelMediaOptions | 否 | 否 |
options | LeaveChannelOptions | 否 | 否 |
profile | CHANNEL_PROFILE_TYPE | 否 | 否 |
role | CLIENT_ROLE_TYPE | 否 | 否 |
role | CLIENT_ROLE_TYPE | 否 | 否 |
options | ClientRoleOptions | 否 | 否 |
canvas | VideoCanvas | 否 | 否 |
接口索引
全部接口
AdvancedAudioOptions 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
audioProcessingChannels | Optional | 否 |
AdvancedConfigInfo 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
logUploadServer | unknown | 否 |
AdvanceOptions 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
encodingPreference | ENCODING_PREFERENCE | 否 |
compressionPreference | COMPRESSION_PREFERENCE | 否 |
encodeAlpha | bool | 否 |
AgoraRhythmPlayerConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
beatsPerMeasure | int | 否 |
beatsPerMinute | int | 否 |
AudioEncodedFrameObserverConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
postionType | AUDIO_ENCODED_FRAME_OBSERVER_POSITION | 否 |
encodingType | AUDIO_ENCODING_TYPE | 否 |
AudioFileRecordingConfig 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
filePath | string | 否 |
encode | bool | 否 |
sampleRate | int | 否 |
fileRecordingType | AUDIO_FILE_RECORDING_TYPE | 否 |
quality | AUDIO_RECORDING_QUALITY_TYPE | 否 |
recordingChannel | int | 否 |
AudioFrame 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | AUDIO_FRAME_TYPE | 否 |
samplesPerChannel | int | 否 |
bytesPerSample | BYTES_PER_SAMPLE | 否 |
channels | int | 否 |
samplesPerSec | int | 否 |
RawBuffer | byte[] | 否 |
renderTimeMs | long | 否 |
avsync_type | int | 否 |
AudioParams 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
sample_rate | int | 否 |
channels | int | 否 |
mode | RAW_AUDIO_FRAME_OP_MODE_TYPE | 否 |
samples_per_call | int | 否 |
AudioPcmFrame 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
capture_timestamp | UInt32 | 否 |
samples_per_channel_ | UInt64 | 否 |
sample_rate_hz_ | int | 否 |
num_channels_ | UInt64 | 否 |
bytes_per_sample | BYTES_PER_SAMPLE | 否 |
data_ | Int16[] | 否 |
AudioSpectrumData 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
audioSpectrumData | float[] | 否 |
dataLength | int | 否 |
AudioTrackConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
enableLocalPlayback | bool | 否 |
enableAudioProcessing | bool | 否 |
AudioVolumeInfo 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
volume | uint | 否 |
vad | uint | 否 |
voicePitch | double | 否 |
BeautyOptions 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
lighteningContrastLevel | LIGHTENING_CONTRAST_LEVEL | 否 |
lighteningLevel | float | 否 |
smoothnessLevel | float | 否 |
rednessLevel | float | 否 |
sharpnessLevel | float | 否 |
CacheStatistics 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
fileSize | Int64 | 否 |
cacheSize | Int64 | 否 |
downloadSize | Int64 | 否 |
CameraCapturerConfiguration 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
cameraDirection | Optional | 否 |
cameraId | Optional | 否 |
cameraFocalLengthType | Optional | 否 |
format | VideoFormat | 否 |
deviceId | Optional | 否 |
followEncodeDimensionRatio | Optional | 否 |
ChannelMediaInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelName | string | 否 |
token | string | 否 |
uid | uint | 否 |
ChannelMediaOptions 0 方法 / 36 属性
| 属性 | 类型 | 只读 |
|---|---|---|
publishCameraTrack | Optional | 否 |
publishSecondaryCameraTrack | Optional | 否 |
publishMicrophoneTrack | Optional | 否 |
publishThirdCameraTrack | Optional | 否 |
publishFourthCameraTrack | Optional | 否 |
publishScreenTrack | Optional | 否 |
publishScreenCaptureVideo | Optional | 否 |
publishScreenCaptureAudio | Optional | 否 |
publishSecondaryScreenTrack | Optional | 否 |
publishThirdScreenTrack | Optional | 否 |
publishFourthScreenTrack | Optional | 否 |
publishTranscodedVideoTrack | Optional | 否 |
publishMixedAudioTrack | unknown | 否 |
publishLipSyncTrack | Optional | 否 |
publishCustomAudioTrack | Optional | 否 |
publishCustomAudioTrackId | Optional | 否 |
publishCustomVideoTrack | Optional | 否 |
publishEncodedVideoTrack | Optional | 否 |
publishMediaPlayerAudioTrack | Optional | 否 |
publishMediaPlayerVideoTrack | Optional | 否 |
autoSubscribeAudio | Optional | 否 |
autoSubscribeVideo | Optional | 否 |
enableAudioRecordingOrPlayout | Optional | 否 |
publishMediaPlayerId | Optional | 否 |
clientRoleType | Optional | 否 |
audienceLatencyLevel | Optional | 否 |
defaultVideoStreamType | Optional | 否 |
channelProfile | Optional | 否 |
audioDelayMs | unknown | 否 |
token | Optional | 否 |
publishRhythmPlayerTrack | Optional | 否 |
isInteractiveAudience | Optional | 否 |
customVideoTrackId | Optional | 否 |
isAudioFilterable | Optional | 否 |
enableMultipath | Optional | 否 |
preferMultipathType | Optional | 否 |
ChannelMediaRelayConfiguration 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
srcInfo | ChannelMediaInfo | 否 |
destInfos | ChannelMediaInfo[] | 否 |
destCount | int | 否 |
ClientRoleOptions 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
audienceLatencyLevel | AUDIENCE_LATENCY_LEVEL_TYPE | 否 |
ClimaxSegment 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
startTimeMs | int | 否 |
endTimeMs | int | 否 |
CodecCapInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
codecType | VIDEO_CODEC_TYPE | 否 |
codecCapMask | int | 否 |
codecLevels | CodecCapLevels | 否 |
CodecCapLevels 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
hwDecodingLevel | VIDEO_CODEC_CAPABILITY_LEVEL | 否 |
swDecodingLevel | VIDEO_CODEC_CAPABILITY_LEVEL | 否 |
ColorEnhanceOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
strengthLevel | float | 否 |
skinProtectLevel | float | 否 |
ContentInspectConfig 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
extraInfo | string | 否 |
serverConfig | string | 否 |
modules | ContentInspectModule[] | 否 |
moduleCount | int | 否 |
ContentInspectModule 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | CONTENT_INSPECT_TYPE | 否 |
interval | uint | 否 |
position | VIDEO_MODULE_POSITION | 否 |
DataStreamConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
syncWithAudio | bool | 否 |
ordered | bool | 否 |
DeviceInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
deviceId | string | 否 |
deviceName | string | 否 |
DeviceInfoMobile 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
isLowLatencyAudioSupported | bool | 否 |
EchoTestConfiguration 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
view | view_t | 否 |
enableAudio | bool | 否 |
enableVideo | bool | 否 |
token | string | 否 |
channelId | string | 否 |
intervalInSeconds | int | 否 |
EncodedAudioFrameInfo 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
codec | AUDIO_CODEC_TYPE | 否 |
sampleRateHz | int | 否 |
samplesPerChannel | int | 否 |
numberOfChannels | int | 否 |
advancedSettings | EncodedAudioFrameAdvancedSettings | 否 |
captureTimeMs | int64_t | 否 |
EncodedVideoFrameInfo 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
codecType | VIDEO_CODEC_TYPE | 否 |
width | int | 否 |
height | int | 否 |
framesPerSecond | int | 否 |
frameType | VIDEO_FRAME_TYPE_NATIVE | 否 |
rotation | VIDEO_ORIENTATION | 否 |
trackId | int | 否 |
captureTimeMs | int64_t | 否 |
streamType | VIDEO_STREAM_TYPE | 否 |
EncryptionConfig 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
encryptionMode | ENCRYPTION_MODE | 否 |
encryptionKey | string | 否 |
encryptionKdfSalt | byte[] | 否 |
datastreamEncryptionEnabled | bool | 否 |
ExtensionContext 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
isValid | bool | 否 |
uid | uint | 否 |
providerName | string | 否 |
extensionName | string | 否 |
ExternalVideoFrame 0 方法 / 22 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | VIDEO_BUFFER_TYPE | 否 |
format | VIDEO_PIXEL_FORMAT | 否 |
buffer | byte[] | 否 |
stride | int | 否 |
height | int | 否 |
eglContext | byte[] | 否 |
eglType | EGL_CONTEXT_TYPE | 否 |
textureId | int | 否 |
metadataBuffer | byte[] | 否 |
metadataSize | int | 否 |
d3d11Texture2d | IntPtr | 否 |
alphaBuffer | byte[] | 否 |
fillAlphaBuffer | bool | 否 |
alphaStitchMode | ALPHA_STITCH_MODE | 否 |
textureSliceIndex | int | 否 |
cropLeft | int | 否 |
cropTop | int | 否 |
cropRight | int | 否 |
cropBottom | int | 否 |
rotation | int | 否 |
timestamp | long | 否 |
colorSpace | ColorSpace | 否 |
FaceShapeAreaOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
shapeArea | unknown | 否 |
shapeIntensity | unknown | 否 |
FaceShapeBeautyOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
shapeStyle | FACE_SHAPE_BEAUTY_STYLE | 否 |
styleIntensity | int | 否 |
FilterEffectOptions 1 方法 / 1 属性
path(): unknown方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
path | — | unknown | 错误码索引 |
| 属性 | 类型 | 只读 |
|---|---|---|
strength | unknown | 否 |
FocalLengthInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
cameraDirection | int | 否 |
focalLengthType | CAMERA_FOCAL_LENGTH_TYPE | 否 |
IAgoraParameter 1 方法 / 0 属性
SetParameters(parameters: string): int方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
SetParameters | parameters: string | int | 错误码索引 |
IAudioDeviceManager 28 方法 / 0 属性
EnumeratePlaybackDevices(): DeviceInfo[]
EnumerateRecordingDevices(): DeviceInfo[]
FollowSystemLoopbackDevice(enable: bool): int
FollowSystemPlaybackDevice(enable: bool): int
FollowSystemRecordingDevice(enable: bool): int
GetLoopbackDevice(deviceId: string): int
GetPlaybackDefaultDevice(deviceId: string, deviceName: string): int
GetPlaybackDefaultDevice(deviceId: string, deviceTypeName: string, deviceName: string): int
GetPlaybackDevice(deviceId: string): int
GetPlaybackDeviceInfo(deviceId: string, deviceName: string): int
GetPlaybackDeviceInfo(deviceId: string, deviceName: string, deviceTypeName: string): int
GetPlaybackDeviceVolume(): int
GetRecordingDefaultDevice(deviceId: string, deviceName: string): int
GetRecordingDefaultDevice(deviceId: string, deviceTypeName: string, deviceName: string): int
GetRecordingDevice(deviceId: string): int
GetRecordingDeviceInfo(deviceId: string, deviceName: string): int
GetRecordingDeviceInfo(deviceId: string, deviceName: string, deviceTypeName: string): int
GetRecordingDeviceMute(): bool
GetRecordingDeviceVolume(): int
SetLoopbackDevice(deviceId: string): int
SetPlaybackDevice(deviceId: string): int
SetPlaybackDeviceMute(mute: bool): int
SetPlaybackDeviceVolume(volume: int): int
SetRecordingDevice(deviceId: string): int
SetRecordingDeviceMute(mute: bool): int
SetRecordingDeviceVolume(volume: int): int
StartAudioDeviceLoopbackTest(indicationInterval: int): int
StartPlaybackDeviceTest(testAudioFilePath: string): int
StartRecordingDeviceTest(indicationInterval: int): int
StopAudioDeviceLoopbackTest(): int
StopPlaybackDeviceTest(): int
StopRecordingDeviceTest(): int方法明细:28 / 28(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
EnumeratePlaybackDevices | — | DeviceInfo[] | 错误码索引 |
EnumerateRecordingDevices | — | DeviceInfo[] | 错误码索引 |
FollowSystemLoopbackDevice | enable: bool | int | 错误码索引 |
FollowSystemPlaybackDevice | enable: bool | int | 错误码索引 |
FollowSystemRecordingDevice | enable: bool | int | 错误码索引 |
GetLoopbackDevice | deviceId: string | int | 错误码索引 |
GetPlaybackDefaultDevice | deviceId: string, deviceName: string | int | 错误码索引 |
GetPlaybackDevice | deviceId: string | int | 错误码索引 |
GetPlaybackDeviceInfo | deviceId: string, deviceName: string | int | 错误码索引 |
GetPlaybackDeviceVolume | — | int | 错误码索引 |
GetRecordingDefaultDevice | deviceId: string, deviceName: string | int | 错误码索引 |
GetRecordingDevice | deviceId: string | int | 错误码索引 |
GetRecordingDeviceInfo | deviceId: string, deviceName: string | int | 错误码索引 |
GetRecordingDeviceMute | — | bool | 错误码索引 |
GetRecordingDeviceVolume | — | int | 错误码索引 |
SetLoopbackDevice | deviceId: string | int | 错误码索引 |
SetPlaybackDevice | deviceId: string | int | 错误码索引 |
SetPlaybackDeviceMute | mute: bool | int | 错误码索引 |
SetPlaybackDeviceVolume | volume: int | int | 错误码索引 |
SetRecordingDevice | deviceId: string | int | 错误码索引 |
SetRecordingDeviceMute | mute: bool | int | 错误码索引 |
SetRecordingDeviceVolume | volume: int | int | 错误码索引 |
StartAudioDeviceLoopbackTest | indicationInterval: int | int | 错误码索引 |
StartPlaybackDeviceTest | testAudioFilePath: string | int | 错误码索引 |
StartRecordingDeviceTest | indicationInterval: int | int | 错误码索引 |
StopAudioDeviceLoopbackTest | — | int | 错误码索引 |
StopPlaybackDeviceTest | — | int | 错误码索引 |
StopRecordingDeviceTest | — | int | 错误码索引 |
IAudioEncodedFrameObserver 3 方法 / 0 属性
OnMixedAudioEncodedFrame(frameBufferPtr: IntPtr, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo): void
OnPlaybackAudioEncodedFrame(frameBufferPtr: IntPtr, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo): void
OnRecordAudioEncodedFrame(frameBufferPtr: IntPtr, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo): void方法明细:3 / 3(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnMixedAudioEncodedFrame | frameBufferPtr: IntPtr, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo | void | 错误码索引 |
OnPlaybackAudioEncodedFrame | frameBufferPtr: IntPtr, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo | void | 错误码索引 |
OnRecordAudioEncodedFrame | frameBufferPtr: IntPtr, length: int, audioEncodedFrameInfo: EncodedAudioFrameInfo | void | 错误码索引 |
IAudioFrameObserver 1 方法 / 0 属性
OnPlaybackAudioFrameBeforeMixing(channel_id: string, uid: uint, audio_frame: AudioFrame): bool方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnPlaybackAudioFrameBeforeMixing | channel_id: string, uid: uint, audio_frame: AudioFrame | bool | 错误码索引 |
IAudioFrameObserverBase 4 方法 / 0 属性
OnEarMonitoringAudioFrame(audioFrame: AudioFrame): bool
OnMixedAudioFrame(channelId: string, audio_frame: AudioFrame): bool
OnPlaybackAudioFrame(channelId: string, audio_frame: AudioFrame): bool
OnRecordAudioFrame(channelId: string, audioFrame: AudioFrame): bool方法明细:4 / 4(参数、返回值、错误码)
IAudioPcmFrameSink 1 方法 / 0 属性
OnFrame(frame: AudioPcmFrame): bool方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnFrame | frame: AudioPcmFrame | bool | 错误码索引 |
IAudioSpectrumObserver 2 方法 / 0 属性
OnLocalAudioSpectrum(data: AudioSpectrumData): bool
OnRemoteAudioSpectrum(spectrums: UserAudioSpectrumInfo[], spectrumNumber: uint): bool方法明细:2 / 2(参数、返回值、错误码)
IBaseSpatialAudioEngine 10 方法 / 0 属性
MuteAllRemoteAudioStreams(mute: bool): int
MuteLocalAudioStream(mute: bool): int
MuteRemoteAudioStream(uid: uint, mute: bool): int
SetAudioRecvRange(range: float): int
SetDistanceUnit(unit: float): int
SetMaxAudioRecvCount(maxCount: int): int
SetPlayerAttenuation(playerId: int, attenuation: double, forceSet: bool): int
SetZones(zones: SpatialAudioZone[], zoneCount: uint): int
UpdatePlayerPositionInfo(playerId: int, positionInfo: RemoteVoicePositionInfo): int
UpdateSelfPosition(position: float[], axisForward: float[], axisRight: float[], axisUp: float[]): int方法明细:10 / 10(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
MuteAllRemoteAudioStreams | mute: bool | int | 错误码索引 |
MuteLocalAudioStream | mute: bool | int | 错误码索引 |
MuteRemoteAudioStream | uid: uint, mute: bool | int | 错误码索引 |
SetAudioRecvRange | range: float | int | 错误码索引 |
SetDistanceUnit | unit: float | int | 错误码索引 |
SetMaxAudioRecvCount | maxCount: int | int | 错误码索引 |
SetPlayerAttenuation | playerId: int, attenuation: double, forceSet: bool | int | 错误码索引 |
SetZones | zones: SpatialAudioZone[], zoneCount: uint | int | 错误码索引 |
UpdatePlayerPositionInfo | playerId: int, positionInfo: RemoteVoicePositionInfo | int | 错误码索引 |
UpdateSelfPosition | position: float[], axisForward: float[], axisRight: float[], axisUp: float[] | int | 错误码索引 |
ILocalSpatialAudioEngine 6 方法 / 0 属性
ClearRemotePositions(): int
Dispose(): void
Initialize(): int
RemoveRemotePosition(uid: uint): int
SetRemoteAudioAttenuation(uid: uint, attenuation: double, forceSet: bool): int
UpdateRemotePosition(uid: uint, posInfo: RemoteVoicePositionInfo): int方法明细:6 / 6(参数、返回值、错误码)
ImageTrackOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
imageUrl | string | 否 |
fps | int | 否 |
IMediaEngine 15 方法 / 0 属性
CreateCustomAudioTrack(trackType: AUDIO_TRACK_TYPE, config: AudioTrackConfig): uint
DestroyCustomAudioTrack(trackId: uint): int
PullAudioFrame(frame: AudioFrame): int
PushAudioFrame(frame: AudioFrame, trackId?: uint): int
PushVideoFrame(frame: ExternalVideoFrame, videoTrackId?: uint): int
RegisterAudioFrameObserver(audioFrameObserver: IAudioFrameObserver, position: AUDIO_FRAME_POSITION, mode?: OBSERVER_MODE): int
RegisterFaceInfoObserver(observer: IFaceInfoObserver): int
RegisterVideoEncodedFrameObserver(videoEncodedImageReceiver: IVideoEncodedFrameObserver, mode?: OBSERVER_MODE): int
RegisterVideoFrameObserver(videoFrameObserver: IVideoFrameObserver, formatPreference: VIDEO_OBSERVER_FRAME_TYPE, position: VIDEO_OBSERVER_POSITION, mode?: OBSERVER_MODE): int
SetExternalAudioSink(enabled: bool, sampleRate: int, channels: int): int
SetExternalAudioSource(enabled: bool, sampleRate: int, channels: int, localPlayback?: bool, publish?: bool): int
SetExternalVideoSource(enabled: bool, useTexture: bool, sourceType: EXTERNAL_VIDEO_SOURCE_TYPE, encodedVideoOption: SenderOptions): int
UnregisterFaceInfoObserver(): int
UnregisterVideoEncodedFrameObserver(): int
UnregisterVideoFrameObserver(): int方法明细:15 / 15(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
CreateCustomAudioTrack | trackType: AUDIO_TRACK_TYPE, config: AudioTrackConfig | uint | 错误码索引 |
DestroyCustomAudioTrack | trackId: uint | int | 错误码索引 |
PullAudioFrame | frame: AudioFrame | int | 错误码索引 |
PushAudioFrame | frame: AudioFrame, trackId?: uint | int | 错误码索引 |
PushVideoFrame | frame: ExternalVideoFrame, videoTrackId?: uint | int | 错误码索引 |
RegisterAudioFrameObserver | audioFrameObserver: IAudioFrameObserver, position: AUDIO_FRAME_POSITION, mode?: OBSERVER_MODE | int | 错误码索引 |
RegisterFaceInfoObserver | observer: IFaceInfoObserver | int | 错误码索引 |
RegisterVideoEncodedFrameObserver | videoEncodedImageReceiver: IVideoEncodedFrameObserver, mode?: OBSERVER_MODE | int | 错误码索引 |
RegisterVideoFrameObserver | videoFrameObserver: IVideoFrameObserver, formatPreference: VIDEO_OBSERVER_FRAME_TYPE, position: VIDEO_OBSERVER_POSITION, mode?: OBSERVER_MODE | int | 错误码索引 |
SetExternalAudioSink | enabled: bool, sampleRate: int, channels: int | int | 错误码索引 |
SetExternalAudioSource | enabled: bool, sampleRate: int, channels: int, localPlayback?: bool, publish?: bool | int | 错误码索引 |
SetExternalVideoSource | enabled: bool, useTexture: bool, sourceType: EXTERNAL_VIDEO_SOURCE_TYPE, encodedVideoOption: SenderOptions | int | 错误码索引 |
UnregisterFaceInfoObserver | — | int | 错误码索引 |
UnregisterVideoEncodedFrameObserver | — | int | 错误码索引 |
UnregisterVideoFrameObserver | — | int | 错误码索引 |
IMediaPlayer 40 方法 / 0 属性
AdjustPlayoutVolume(volume: int): int
AdjustPublishSignalVolume(volume: int): int
Dispose(): void
GetAudioBufferDelay(): int
GetDuration(duration: Int64): int
GetId(): int
GetMute(muted: bool): int
GetPlayPosition(pos: Int64): int
GetPlaySrc(): string
GetPlayoutVolume(volume: int): int
GetPublishSignalVolume(volume: int): int
GetState(): MEDIA_PLAYER_STATE
GetStreamCount(count: Int64): int
GetStreamInfo(index: Int64, info: PlayerStreamInfo): int
InitEventHandler(engineEventHandler: IMediaPlayerSourceObserver): int
Mute(muted: bool): int
Open(url: string, startPos: Int64): int
OpenWithMediaSource(source: MediaSource): int
Pause(): int
Play(): int
PlayPreloadedSrc(src: string): int
PreloadSrc(src: string, startPos: Int64): int
RegisterAudioFrameObserver(observer: IAudioPcmFrameSink): int
RegisterAudioFrameObserver(observer: IAudioPcmFrameSink, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE): int
Resume(): int
Seek(newPos: Int64): int
SelectAudioTrack(index: int): int
SelectMultiAudioTrack(playoutTrackIndex: int, publishTrackIndex: int): int
SetAudioDualMonoMode(mode: AUDIO_DUAL_MONO_MODE): int
SetAudioPitch(pitch: int): int
SetLoopCount(loopCount: int): int
SetPlaybackSpeed(speed: int): int
SetPlayerOption(key: string, value: int): int
SetRenderMode(renderMode: RENDER_MODE_TYPE): int
SetSpatialAudioParams(spatial_audio_params: SpatialAudioParams): int
SetView(): int
Stop(): int
SwitchSrc(src: string, syncPts?: bool): int
UnloadSrc(src: string): int
UnregisterAudioFrameObserver(): int
setPlayerOption(key: string, value: string): int方法明细:40 / 40(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
AdjustPlayoutVolume | volume: int | int | 错误码索引 |
AdjustPublishSignalVolume | volume: int | int | 错误码索引 |
Dispose | — | void | 错误码索引 |
GetAudioBufferDelay | — | int | 错误码索引 |
GetDuration | duration: Int64 | int | 错误码索引 |
GetId | — | int | 错误码索引 |
GetMute | muted: bool | int | 错误码索引 |
GetPlayPosition | pos: Int64 | int | 错误码索引 |
GetPlaySrc | — | string | 错误码索引 |
GetPlayoutVolume | volume: int | int | 错误码索引 |
GetPublishSignalVolume | volume: int | int | 错误码索引 |
GetState | — | MEDIA_PLAYER_STATE | 错误码索引 |
GetStreamCount | count: Int64 | int | 错误码索引 |
GetStreamInfo | index: Int64, info: PlayerStreamInfo | int | 错误码索引 |
InitEventHandler | engineEventHandler: IMediaPlayerSourceObserver | int | 错误码索引 |
Mute | muted: bool | int | 错误码索引 |
Open | url: string, startPos: Int64 | int | 错误码索引 |
OpenWithMediaSource | source: MediaSource | int | 错误码索引 |
Pause | — | int | 错误码索引 |
Play | — | int | 错误码索引 |
PlayPreloadedSrc | src: string | int | 错误码索引 |
PreloadSrc | src: string, startPos: Int64 | int | 错误码索引 |
RegisterAudioFrameObserver | observer: IAudioPcmFrameSink | int | 错误码索引 |
Resume | — | int | 错误码索引 |
Seek | newPos: Int64 | int | 错误码索引 |
SelectAudioTrack | index: int | int | 错误码索引 |
SelectMultiAudioTrack | playoutTrackIndex: int, publishTrackIndex: int | int | 错误码索引 |
SetAudioDualMonoMode | mode: AUDIO_DUAL_MONO_MODE | int | 错误码索引 |
SetAudioPitch | pitch: int | int | 错误码索引 |
SetLoopCount | loopCount: int | int | 错误码索引 |
SetPlaybackSpeed | speed: int | int | 错误码索引 |
SetPlayerOption | key: string, value: int | int | 错误码索引 |
SetRenderMode | renderMode: RENDER_MODE_TYPE | int | 错误码索引 |
SetSpatialAudioParams | spatial_audio_params: SpatialAudioParams | int | 错误码索引 |
SetView | — | int | 错误码索引 |
Stop | — | int | 错误码索引 |
SwitchSrc | src: string, syncPts?: bool | int | 错误码索引 |
UnloadSrc | src: string | int | 错误码索引 |
UnregisterAudioFrameObserver | — | int | 错误码索引 |
setPlayerOption | key: string, value: string | int | 错误码索引 |
IMediaPlayerCacheManager 12 方法 / 0 属性
EnableAutoRemoveCache(enable: bool): int
GetCacheDir(path: string, length: int): int
GetCacheFileCount(): int
GetMaxCacheFileCount(): int
GetMaxCacheFileSize(): Int64
GetMediaPlayerCacheManager(): IMediaPlayerCacheManager
RemoveAllCaches(): int
RemoveCacheByUri(uri: string): int
RemoveOldCache(): int
SetCacheDir(path: string): int
SetMaxCacheFileCount(count: int): int
SetMaxCacheFileSize(cacheSize: Int64): int方法明细:12 / 12(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
EnableAutoRemoveCache | enable: bool | int | 错误码索引 |
GetCacheDir | path: string, length: int | int | 错误码索引 |
GetCacheFileCount | — | int | 错误码索引 |
GetMaxCacheFileCount | — | int | 错误码索引 |
GetMaxCacheFileSize | — | Int64 | 错误码索引 |
GetMediaPlayerCacheManager | — | IMediaPlayerCacheManager | 错误码索引 |
RemoveAllCaches | — | int | 错误码索引 |
RemoveCacheByUri | uri: string | int | 错误码索引 |
RemoveOldCache | — | int | 错误码索引 |
SetCacheDir | path: string | int | 错误码索引 |
SetMaxCacheFileCount | count: int | int | 错误码索引 |
SetMaxCacheFileSize | cacheSize: Int64 | int | 错误码索引 |
IMediaPlayerCustomDataProvider 2 方法 / 0 属性
OnReadData(bufferPtr: IntPtr, bufferSize: int): int
OnSeek(offset: Int64, whence: int): Int64方法明细:2 / 2(参数、返回值、错误码)
IMediaPlayerSourceObserver 11 方法 / 0 属性
OnMetaData(data: byte[], length: int): void
OnPlayBufferUpdated(playCachedBuffer: Int64): void
OnPlayerCacheStats(stats: CacheStatistics): void
OnPlayerEvent(eventCode: MEDIA_PLAYER_EVENT, elapsedTime: Int64, message: string): void
OnPlayerInfoUpdated(info: PlayerUpdatedInfo): void
OnPlayerPlaybackStats(stats: PlayerPlaybackStats): void
OnPlayerSourceStateChanged(state: MEDIA_PLAYER_STATE, reason: MEDIA_PLAYER_REASON): void
OnPlayerSrcInfoChanged(from: SrcInfo, to: SrcInfo): void
OnPositionChanged(positionMs: long, timestampMs: long): void
OnPreloadEvent(src: string, null: PLAYER_PRELOAD_EVENT): void
onAudioVolumeIndication(volume: int): void方法明细:11 / 11(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnMetaData | data: byte[], length: int | void | 错误码索引 |
OnPlayBufferUpdated | playCachedBuffer: Int64 | void | 错误码索引 |
OnPlayerCacheStats | stats: CacheStatistics | void | 错误码索引 |
OnPlayerEvent | eventCode: MEDIA_PLAYER_EVENT, elapsedTime: Int64, message: string | void | 错误码索引 |
OnPlayerInfoUpdated | info: PlayerUpdatedInfo | void | 错误码索引 |
OnPlayerPlaybackStats | stats: PlayerPlaybackStats | void | 错误码索引 |
OnPlayerSourceStateChanged | state: MEDIA_PLAYER_STATE, reason: MEDIA_PLAYER_REASON | void | 错误码索引 |
OnPlayerSrcInfoChanged | from: SrcInfo, to: SrcInfo | void | 错误码索引 |
OnPositionChanged | positionMs: long, timestampMs: long | void | 错误码索引 |
OnPreloadEvent | src: string, null: PLAYER_PRELOAD_EVENT | void | 错误码索引 |
onAudioVolumeIndication | volume: int | void | 错误码索引 |
IMediaRecorder 3 方法 / 0 属性
SetMediaRecorderObserver(callback: IMediaRecorderObserver): int
StartRecording(config: MediaRecorderConfiguration): int
StopRecording(): int方法明细:3 / 3(参数、返回值、错误码)
IMediaRecorderObserver 2 方法 / 0 属性
OnRecorderInfoUpdated(channelId: string, uid: uint, info: RecorderInfo): void
OnRecorderStateChanged(channelId: string, uid: uint, state: RecorderState, reason: RecorderReasonCode): void方法明细:2 / 2(参数、返回值、错误码)
IMetadataObserver 2 方法 / 0 属性
OnMetadataReceived(metadata: Metadata): void
OnReadyToSendMetadata(metadata: Metadata, source_type: VIDEO_SOURCE_TYPE): bool方法明细:2 / 2(参数、返回值、错误码)
IMusicContentCenter 16 方法 / 0 属性
CreateMusicPlayer(): IMusicPlayer
DestroyMusicPlayer(music_player: IMusicPlayer): int
GetCaches(cacheInfo: MusicCacheInfo[], cacheInfoSize: Int32): int
GetInternalSongCode(songCode: Int64, jsonOption: string, internalSongCode: Int64): int
GetLyric(requestId: string, songCode: Int64, LyricType?: int): int
GetMusicCharts(requestId: string): int
GetMusicCollectionByMusicChartId(requestId: string, musicChartType: int, page: int, pageSize: int, jsonOption?: string): int
GetSongSimpleInfo(requestId: string, songCode: Int64): int
Initialize(configuration: MusicContentCenterConfiguration): int
IsPreloaded(songCode: Int64): int
Preload(songCode: Int64, jsonOption?: string): int
Preload(requestId: string, songCode: Int64): int
RegisterEventHandler(eventHandler: IMusicContentCenterEventHandler): int
RemoveCache(songCode: Int64): int
RenewToken(token: string): int
SearchMusic(requestId: string, keyWord: string, page: int, pageSize: int, jsonOption?: string): int
UnregisterEventHandler(): int方法明细:16 / 16(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
CreateMusicPlayer | — | IMusicPlayer | 错误码索引 |
DestroyMusicPlayer | music_player: IMusicPlayer | int | 错误码索引 |
GetCaches | cacheInfo: MusicCacheInfo[], cacheInfoSize: Int32 | int | 错误码索引 |
GetInternalSongCode | songCode: Int64, jsonOption: string, internalSongCode: Int64 | int | 错误码索引 |
GetLyric | requestId: string, songCode: Int64, LyricType?: int | int | 错误码索引 |
GetMusicCharts | requestId: string | int | 错误码索引 |
GetMusicCollectionByMusicChartId | requestId: string, musicChartType: int, page: int, pageSize: int, jsonOption?: string | int | 错误码索引 |
GetSongSimpleInfo | requestId: string, songCode: Int64 | int | 错误码索引 |
Initialize | configuration: MusicContentCenterConfiguration | int | 错误码索引 |
IsPreloaded | songCode: Int64 | int | 错误码索引 |
Preload | songCode: Int64, jsonOption?: string | int | 错误码索引 |
RegisterEventHandler | eventHandler: IMusicContentCenterEventHandler | int | 错误码索引 |
RemoveCache | songCode: Int64 | int | 错误码索引 |
RenewToken | token: string | int | 错误码索引 |
SearchMusic | requestId: string, keyWord: string, page: int, pageSize: int, jsonOption?: string | int | 错误码索引 |
UnregisterEventHandler | — | int | 错误码索引 |
IMusicContentCenterEventHandler 5 方法 / 0 属性
OnLyricResult(requestId: string, songCode: long, lyricUrl: string, reason: MusicContentCenterStateReason): void
OnMusicChartsResult(requestId: string, result: MusicChartInfo[], reason: MusicContentCenterStateReason): void
OnMusicCollectionResult(requestId: string, result: MusicCollection, reason: MusicContentCenterStateReason): void
OnPreLoadEvent(requestId: string, songCode: long, percent: int, lyricUrl: string, state: PreloadState, reason: MusicContentCenterStateReason): void
OnSongSimpleInfoResult(requestId: string, songCode: long, simpleInfo: string, reason: MusicContentCenterStateReason): void方法明细:5 / 5(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnLyricResult | requestId: string, songCode: long, lyricUrl: string, reason: MusicContentCenterStateReason | void | 错误码索引 |
OnMusicChartsResult | requestId: string, result: MusicChartInfo[], reason: MusicContentCenterStateReason | void | 错误码索引 |
OnMusicCollectionResult | requestId: string, result: MusicCollection, reason: MusicContentCenterStateReason | void | 错误码索引 |
OnPreLoadEvent | requestId: string, songCode: long, percent: int, lyricUrl: string, state: PreloadState, reason: MusicContentCenterStateReason | void | 错误码索引 |
OnSongSimpleInfoResult | requestId: string, songCode: long, simpleInfo: string, reason: MusicContentCenterStateReason | void | 错误码索引 |
IMusicPlayer 2 方法 / 0 属性
Open(songCode: Int64, startPos: Int64): int
SetPlayMode(mode: MusicPlayMode): int方法明细:2 / 2(参数、返回值、错误码)
IRtcEngine 266 方法 / 0 属性
AddVideoWatermark(watermark: RtcImage): int
AddVideoWatermark(watermarkUrl: string, options: WatermarkOptions): int
AddVideoWatermark(configs: WatermarkConfig): int
AdjustAudioMixingPlayoutVolume(volume: int): int
AdjustAudioMixingPublishVolume(volume: int): int
AdjustAudioMixingVolume(volume: int): int
AdjustCustomAudioPlayoutVolume(trackId: uint, volume: int): int
AdjustCustomAudioPublishVolume(trackId: uint, volume: int): int
AdjustLoopbackSignalVolume(volume: int): int
AdjustPlaybackSignalVolume(volume: int): int
AdjustRecordingSignalVolume(volume: int): int
AdjustUserPlaybackSignalVolume(uid: uint, volume: int): int
ClearVideoWatermarks(): int
Complain(callId: string, description: string): int
ConfigRhythmPlayer(config: AgoraRhythmPlayerConfig): int
CreateAgoraRtcEngine(): IRtcEngine
CreateCustomVideoTrack(): video_track_id_t
CreateDataStream(streamId: int, reliable: bool, ordered: bool): int
CreateDataStream(streamId: int, config: DataStreamConfig): int
CreateMediaPlayer(): IMediaPlayer
CreateMediaRecorder(info: RecorderStreamInfo): IMediaRecorder
CreateVideoEffectObject(bundlePath: string, type?: MEDIA_SOURCE_TYPE): IVideoEffectObject
DestroyCustomVideoTrack(video_track_id: video_track_id_t): int
DestroyMediaPlayer(mediaPlayer: IMediaPlayer): int
DestroyMediaRecorder(mediaRecorder: IMediaRecorder): int
DestroyVideoEffectObject(videoEffectObject: IVideoEffectObject): int
DisableAudio(): int
DisableAudioSpectrumMonitor(): int
DisableVideo(): int
Dispose(sync?: bool): void
EnableAudio(): int
EnableAudioSpectrumMonitor(intervalInMS?: int): int
EnableAudioVolumeIndication(interval: int, smooth: int, reportVad: bool): int
EnableCameraCenterStage(enabled: bool): int
EnableContentInspect(enabled: bool, config: ContentInspectConfig): int
EnableCustomAudioLocalPlayback(trackId: uint, enabled: bool): int
EnableDualStreamMode(enabled: bool): int
EnableDualStreamMode(enabled: bool, streamConfig: SimulcastStreamConfig): int
EnableEncryption(enabled: bool, config: EncryptionConfig): int
EnableExtension(provider: string, extension: string, enable?: bool, type?: MEDIA_SOURCE_TYPE): int
EnableFaceDetection(enabled: bool): int
EnableInEarMonitoring(enabled: bool, includeAudioFilters: int): int
EnableInstantMediaRendering(): int
EnableLocalAudio(enabled: bool): int
EnableLocalVideo(enabled: bool): int
EnableLoopbackRecording(enabled: bool, deviceName?: string): int
EnableMultiCamera(enabled: bool, config: CameraCapturerConfiguration): int
EnableSoundPositionIndication(enabled: bool): int
EnableSpatialAudio(enabled: bool): int
EnableVideo(): int
EnableVideoImageSource(enable: bool, options: ImageTrackOptions): int
EnableVirtualBackground(enabled: bool, backgroundSource: VirtualBackgroundSource, segproperty: SegmentationProperty, type?: MEDIA_SOURCE_TYPE): int
EnableVoiceAITuner(enabled: bool, type: VOICE_AI_TUNER_TYPE): int
EnableWebSdkInteroperability(enabled: bool): int
GetAudioDeviceInfo(deviceInfo: DeviceInfoMobile): int
GetAudioDeviceManager(): IAudioDeviceManager
GetAudioMixingCurrentPosition(): int
GetAudioMixingDuration(): int
GetAudioMixingPlayoutVolume(): int
GetAudioMixingPublishVolume(): int
GetAudioTrackCount(): int
GetCallId(callId: string): int
GetCameraMaxZoomFactor(): float
GetConnectionState(): CONNECTION_STATE_TYPE
GetCurrentMonotonicTimeInMs(): long
GetEffectCurrentPosition(soundId: int): int
GetEffectDuration(filePath: string): int
GetEffectsVolume(): int
GetErrorDescription(code: int): string
GetExtensionProperty(provider: string, extension: string, key: string, value: string, buf_len: int, type?: MEDIA_SOURCE_TYPE): int
GetFaceShapeAreaOptions(shapeArea: FACE_SHAPE_AREA, options: FaceShapeAreaOptions, type?: MEDIA_SOURCE_TYPE): int
GetFaceShapeBeautyOptions(options: FaceShapeBeautyOptions, type?: MEDIA_SOURCE_TYPE): int
GetLocalSpatialAudioEngine(): ILocalSpatialAudioEngine
GetMusicContentCenter(): IMusicContentCenter
GetNativeHandler(nativeHandler: IntPtr): int
GetNetworkType(): int
GetNtpWallTimeInMs(): UInt64
GetScreenCaptureSources(thumbSize: SIZE, iconSize: SIZE, includeScreen: bool): ScreenCaptureSourceInfo[]
GetUserInfoByUid(uid: uint, userInfo: UserInfo): int
GetUserInfoByUserAccount(userAccount: string, userInfo: UserInfo): int
GetVersion(build: int): string
GetVideoDeviceManager(): IVideoDeviceManager
GetVolumeOfEffect(soundId: int): int
InitEventHandler(engineEventHandler: IRtcEngineEventHandler): int
Initialize(context: RtcEngineContext): int
IsCameraAutoExposureFaceModeSupported(): bool
IsCameraAutoFocusFaceModeSupported(): bool
IsCameraCenterStageSupported(): bool
IsCameraExposurePositionSupported(): bool
IsCameraExposureSupported(): bool
IsCameraFaceDetectSupported(): bool
IsCameraFocusSupported(): bool
IsCameraTorchSupported(): bool
IsCameraZoomSupported(): bool
IsFeatureAvailableOnDevice(type: FeatureType): bool
IsSpeakerphoneEnabled(): bool
JoinChannel(token: string, channelId: string, info?: string, uid?: uint): int
JoinChannel(token: string, channelId: string, uid: uint, options: ChannelMediaOptions): int
JoinChannelWithUserAccount(token: string, channelId: string, userAccount: string): int
JoinChannelWithUserAccount(token: string, channelId: string, userAccount: string, options: ChannelMediaOptions): int
LeaveChannel(): int
LeaveChannel(options: LeaveChannelOptions): int
LoadExtensionProvider(path: string, unload_after_use?: bool): int
MuteAllRemoteAudioStreams(mute: bool): int
MuteAllRemoteVideoStreams(mute: bool): int
MuteLocalAudioStream(mute: bool): int
MuteLocalVideoStream(mute: bool): int
MuteRecordingSignal(mute: bool): int
MuteRemoteAudioStream(uid: uint, mute: bool): int
MuteRemoteVideoStream(uid: uint, mute: bool): int
PauseAllChannelMediaRelay(): int
PauseAllEffects(): int
PauseAudioMixing(): int
PauseEffect(soundId: int): int
PlayAllEffects(loopCount: int, pitch: double, pan: double, gain: int, publish?: bool): int
PlayEffect(soundId: int, filePath: string, loopCount: int, pitch: double, pan: double, gain: int, publish?: bool, startPos?: int): int
PreloadChannel(token: string, channelId: string, uid: uint): int
PreloadChannelWithUserAccount(token: unknown, channelId: unknown, userAccount: unknown): unknown
PreloadEffect(soundId: int, filePath: string, startPos?: int): int
QueryCameraFocalLengthCapability(focalLengthInfos: FocalLengthInfo[], size: int): int
QueryCodecCapability(codecInfo: CodecCapInfo[], size: int): int
QueryDeviceScore(): int
QueryScreenCaptureCapability(): int
Rate(callId: string, rating: int, description: string): int
RegisterAudioEncodedFrameObserver(config: AudioEncodedFrameObserverConfig, observer: IAudioEncodedFrameObserver): int
RegisterAudioSpectrumObserver(observer: IAudioSpectrumObserver): int
RegisterExtension(provider: string, extension: string, type?: MEDIA_SOURCE_TYPE): int
RegisterLocalUserAccount(appId: string, userAccount: string): int
RegisterMediaMetadataObserver(observer: IMetadataObserver, type: METADATA_TYPE): int
RemoveVideoWatermark(id: string): int
RenewToken(token: string): int
ResumeAllChannelMediaRelay(): int
ResumeAllEffects(): int
ResumeAudioMixing(): int
ResumeEffect(soundId: int): int
SelectAudioTrack(index: int): int
SendCustomReportMessage(id: string, category: string, null: string, label: string, value: int): int
SendMetadata(metadata: Metadata, source_type: VIDEO_SOURCE_TYPE): int
SendStreamMessage(streamId: int, data: byte[], length: uint): int
SetAINSMode(enabled: bool, mode: AUDIO_AINS_MODE): int
SetAVSyncSource(channelId: string, uid: uint): int
SetAdvancedAudioOptions(options: AdvancedAudioOptions): int
SetAudioEffectParameters(preset: AUDIO_EFFECT_PRESET, param1: int, param2: int): int
SetAudioEffectPreset(preset: AUDIO_EFFECT_PRESET): int
SetAudioMixingDualMonoMode(mode: AUDIO_MIXING_DUAL_MONO_MODE): int
SetAudioMixingPitch(pitch: int): int
SetAudioMixingPlaybackSpeed(speed: int): int
SetAudioMixingPosition(pos: int): int
SetAudioProfile(profile: AUDIO_PROFILE_TYPE, scenario: AUDIO_SCENARIO_TYPE): int
SetAudioProfile(profile: AUDIO_PROFILE_TYPE): int
SetAudioScenario(scenario: AUDIO_SCENARIO_TYPE): int
SetAudioSessionOperationRestriction(restriction: AUDIO_SESSION_OPERATION_RESTRICTION): int
SetBeautyEffectOptions(enabled: bool, options: BeautyOptions, type?: MEDIA_SOURCE_TYPE): int
SetCameraAutoExposureFaceModeEnabled(enabled: bool): int
SetCameraAutoFocusFaceModeEnabled(enabled: bool): int
SetCameraCapturerConfiguration(config: CameraCapturerConfiguration): int
SetCameraDeviceOrientation(type: VIDEO_SOURCE_TYPE, orientation: VIDEO_ORIENTATION): int
SetCameraExposureFactor(factor: float): int
SetCameraExposurePosition(positionXinView: float, positionYinView: float): int
SetCameraFocusPositionInPreview(positionX: float, positionY: float): int
SetCameraStabilizationMode(mode: CAMERA_STABILIZATION_MODE): int
SetCameraTorchOn(isOn: bool): int
SetCameraZoomFactor(factor: float): int
SetChannelProfile(profile: CHANNEL_PROFILE_TYPE): int
SetClientRole(role: CLIENT_ROLE_TYPE): int
SetClientRole(role: CLIENT_ROLE_TYPE, options: ClientRoleOptions): int
SetCloudProxy(proxyType: CLOUD_PROXY_TYPE): int
SetColorEnhanceOptions(enabled: bool, options: ColorEnhanceOptions, type?: MEDIA_SOURCE_TYPE): int
SetDefaultAudioRouteToSpeakerphone(defaultToSpeaker: bool): int
SetDualStreamMode(mode: SIMULCAST_STREAM_MODE): int
SetDualStreamMode(mode: SIMULCAST_STREAM_MODE, streamConfig: SimulcastStreamConfig): int
SetEarMonitoringAudioFrameParameters(sampleRate: int, channel: int, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE, samplesPerCall: int): int
SetEffectPosition(soundId: int, pos: int): int
SetEffectsVolume(volume: int): int
SetEnableSpeakerphone(speakerOn: bool): int
SetExtensionProperty(provider: string, extension: string, key: string, value: string, type?: MEDIA_SOURCE_TYPE): int
SetExtensionProviderProperty(provider: string, key: string, value: string): int
SetExternalMediaProjection(mediaProjection: IntPtr): int
SetExternalRemoteEglContext(eglContext: IntPtr): int
SetFaceShapeAreaOptions(options: FaceShapeAreaOptions, type?: MEDIA_SOURCE_TYPE): int
SetFaceShapeBeautyOptions(enabled: bool, options: FaceShapeBeautyOptions, type?: MEDIA_SOURCE_TYPE): int
SetFilterEffectOptions(enabled: bool, options: FilterEffectOptions, type?: MEDIA_SOURCE_TYPE): int
SetHeadphoneEQParameters(lowGain: int, highGain: int): int
SetHeadphoneEQPreset(preset: HEADPHONE_EQUALIZER_PRESET): int
SetInEarMonitoringVolume(volume: int): int
SetLocalAccessPoint(config: LocalAccessPointConfiguration): int
SetLocalRenderMode(renderMode: RENDER_MODE_TYPE): int
SetLocalRenderMode(renderMode: RENDER_MODE_TYPE, mirrorMode: VIDEO_MIRROR_MODE_TYPE): int
SetLocalRenderTargetFps(sourceType: VIDEO_SOURCE_TYPE, targetFps: int): int
SetLocalVideoDataSourcePosition(position: VIDEO_MODULE_POSITION): int
SetLocalVideoMirrorMode(mirrorMode: VIDEO_MIRROR_MODE_TYPE): int
SetLocalVoiceEqualization(bandFrequency: AUDIO_EQUALIZATION_BAND_FREQUENCY, bandGain: int): int
SetLocalVoiceFormant(formantRatio: double): int
SetLocalVoicePitch(pitch: double): int
SetLocalVoiceReverb(reverbKey: AUDIO_REVERB_TYPE, value: int): int
SetLogFile(filePath: string): int
SetLogFileSize(fileSizeInKBytes: uint): int
SetLogFilter(filter: uint): int
SetLogLevel(level: LOG_LEVEL): int
SetLowlightEnhanceOptions(enabled: bool, options: LowlightEnhanceOptions, type?: MEDIA_SOURCE_TYPE): int
SetMaxMetadataSize(size: int): int
SetMixedAudioFrameParameters(sampleRate: int, channel: int, samplesPerCall: int): int
SetParameters(key: string, value: object): int
SetPlaybackAudioFrameBeforeMixingParameters(sampleRate: int, channel: int): int
SetPlaybackAudioFrameBeforeMixingParameters(sampleRate: int, channel: int, samplesPerCall: int): int
SetPlaybackAudioFrameParameters(sampleRate: int, channel: int, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE, samplesPerCall: int): int
SetRecordingAudioFrameParameters(sampleRate: int, channel: int, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE, samplesPerCall: int): int
SetRemoteDefaultVideoStreamType(streamType: VIDEO_STREAM_TYPE): int
SetRemoteRenderMode(uid: uint, renderMode: RENDER_MODE_TYPE, mirrorMode: VIDEO_MIRROR_MODE_TYPE): int
SetRemoteRenderTargetFps(targetFps: int): int
SetRemoteSubscribeFallbackOption(option: STREAM_FALLBACK_OPTIONS): int
SetRemoteUserSpatialAudioParams(uid: uint, param: SpatialAudioParams): int
SetRemoteVideoStreamType(uid: uint, streamType: VIDEO_STREAM_TYPE): int
SetRemoteVideoSubscriptionOptions(uid: uint, options: VideoSubscriptionOptions): int
SetRemoteVoicePosition(uid: uint, pan: double, gain: double): int
SetRouteInCommunicationMode(route: int): int
SetScreenCaptureContentHint(contentHint: VIDEO_CONTENT_HINT): int
SetScreenCaptureScenario(screenScenario: SCREEN_SCENARIO_TYPE): int
SetSubscribeAudioAllowlist(uidList: uint[], uidNumber: int): int
SetSubscribeAudioBlocklist(uidList: uint[], uidNumber: int): int
SetSubscribeVideoAllowlist(uidList: uint[], uidNumber: int): int
SetSubscribeVideoBlocklist(uidList: uint[], uidNumber: int): int
SetVideoDenoiserOptions(enabled: bool, options: VideoDenoiserOptions, type?: MEDIA_SOURCE_TYPE): int
SetVideoEncoderConfiguration(config: VideoEncoderConfiguration): int
SetVideoScenario(scenarioType: VIDEO_APPLICATION_SCENARIO_TYPE): int
SetVoiceBeautifierParameters(preset: VOICE_BEAUTIFIER_PRESET, param1: int, param2: int): int
SetVoiceBeautifierPreset(preset: VOICE_BEAUTIFIER_PRESET): int
SetVoiceConversionPreset(preset: VOICE_CONVERSION_PRESET): int
SetVolumeOfEffect(soundId: int, volume: int): int
SetupLocalVideo(canvas: VideoCanvas): int
SetupRemoteVideo(canvas: VideoCanvas): int
StartAudioMixing(filePath: string, loopback: bool, cycle: int): int
StartAudioMixing(filePath: string, loopback: bool, cycle: int, startPos: int): int
StartAudioRecording(filePath: string, quality: AUDIO_RECORDING_QUALITY_TYPE): int
StartAudioRecording(filePath: string, sampleRate: int, quality: AUDIO_RECORDING_QUALITY_TYPE): int
StartAudioRecording(config: AudioRecordingConfiguration): int
StartCameraCapture(sourceType: VIDEO_SOURCE_TYPE, config: CameraCapturerConfiguration): int
StartEchoTest(config: EchoTestConfiguration): int
StartLastmileProbeTest(config: LastmileProbeConfig): int
StartLocalAudioMixer(config: LocalAudioMixerConfiguration): int
StartLocalVideoTranscoder(config: LocalTranscoderConfiguration): int
StartMediaRenderingTracing(): int
StartOrUpdateChannelMediaRelay(configuration: ChannelMediaRelayConfiguration): int
StartPreview(): int
StartPreview(sourceType: VIDEO_SOURCE_TYPE): int
StartRhythmPlayer(sound1: string, sound2: string, config: AgoraRhythmPlayerConfig): int
StartRtmpStreamWithTranscoding(url: string, transcoding: LiveTranscoding): int
StartRtmpStreamWithoutTranscoding(url: string): int
StartScreenCapture(captureParams: ScreenCaptureParameters2): int
StartScreenCapture(sourceType: VIDEO_SOURCE_TYPE, config: ScreenCaptureConfiguration): int
StartScreenCaptureByDisplayId(displayId: uint, regionRect: Rectangle, captureParams: ScreenCaptureParameters): int
StartScreenCaptureByScreenRect(screenRect: Rectangle, regionRect: Rectangle, captureParams: ScreenCaptureParameters): int
StartScreenCaptureByWindowId(windowId: long, regionRect: Rectangle, captureParams: ScreenCaptureParameters): int
StopAllEffects(): int
StopAudioMixing(): int
StopAudioRecording(): int
StopCameraCapture(sourceType: VIDEO_SOURCE_TYPE): int
StopChannelMediaRelay(): int
StopEchoTest(): int
StopEffect(soundId: int): int
StopLastmileProbeTest(): int
StopLocalAudioMixer(): int
StopLocalVideoTranscoder(): int
StopPreview(): int
StopPreview(sourceType: VIDEO_SOURCE_TYPE): int
StopRhythmPlayer(): int
StopRtmpStream(url: string): int
StopScreenCapture(): int
StopScreenCapture(sourceType: VIDEO_SOURCE_TYPE): int
SwitchCamera(): int
TakeSnapshot(uid: uint, filePath: string): int
TakeSnapshot(uid: uint, config: SnapshotConfig): int
UnRegisterAudioEncodedFrameObserver(): int
UnRegisterAudioFrameObserver(): int
UnloadAllEffects(): int
UnloadEffect(soundId: int): int
UnregisterAudioSpectrumObserver(): int
UnregisterMediaMetadataObserver(): int
UpdateChannelMediaOptions(options: ChannelMediaOptions): int
UpdateLocalAudioMixerConfiguration(config: LocalAudioMixerConfiguration): int
UpdateLocalTranscoderConfiguration(config: LocalTranscoderConfiguration): int
UpdatePreloadChannelToken(token: string): int
UpdateRtmpTranscoding(transcoding: LiveTranscoding): int
UpdateScreenCapture(captureParams: ScreenCaptureParameters2): int
UpdateScreenCaptureParameters(captureParams: ScreenCaptureParameters): int
UpdateScreenCaptureRegion(regionRect: Rectangle): int方法明细:266 / 266(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
AddVideoWatermark | watermark: RtcImage | int | 错误码索引 |
AdjustAudioMixingPlayoutVolume | volume: int | int | 错误码索引 |
AdjustAudioMixingPublishVolume | volume: int | int | 错误码索引 |
AdjustAudioMixingVolume | volume: int | int | 错误码索引 |
AdjustCustomAudioPlayoutVolume | trackId: uint, volume: int | int | 错误码索引 |
AdjustCustomAudioPublishVolume | trackId: uint, volume: int | int | 错误码索引 |
AdjustLoopbackSignalVolume | volume: int | int | 错误码索引 |
AdjustPlaybackSignalVolume | volume: int | int | 错误码索引 |
AdjustRecordingSignalVolume | volume: int | int | 错误码索引 |
AdjustUserPlaybackSignalVolume | uid: uint, volume: int | int | 错误码索引 |
ClearVideoWatermarks | — | int | 错误码索引 |
Complain | callId: string, description: string | int | 错误码索引 |
ConfigRhythmPlayer | config: AgoraRhythmPlayerConfig | int | 错误码索引 |
CreateAgoraRtcEngine | — | IRtcEngine | 错误码索引 |
CreateCustomVideoTrack | — | video_track_id_t | 错误码索引 |
CreateDataStream | streamId: int, reliable: bool, ordered: bool | int | 错误码索引 |
CreateMediaPlayer | — | IMediaPlayer | 错误码索引 |
CreateMediaRecorder | info: RecorderStreamInfo | IMediaRecorder | 错误码索引 |
CreateVideoEffectObject | bundlePath: string, type?: MEDIA_SOURCE_TYPE | IVideoEffectObject | 错误码索引 |
DestroyCustomVideoTrack | video_track_id: video_track_id_t | int | 错误码索引 |
DestroyMediaPlayer | mediaPlayer: IMediaPlayer | int | 错误码索引 |
DestroyMediaRecorder | mediaRecorder: IMediaRecorder | int | 错误码索引 |
DestroyVideoEffectObject | videoEffectObject: IVideoEffectObject | int | 错误码索引 |
DisableAudio | — | int | 错误码索引 |
DisableAudioSpectrumMonitor | — | int | 错误码索引 |
DisableVideo | — | int | 错误码索引 |
Dispose | sync?: bool | void | 错误码索引 |
EnableAudio | — | int | 错误码索引 |
EnableAudioSpectrumMonitor | intervalInMS?: int | int | 错误码索引 |
EnableAudioVolumeIndication | interval: int, smooth: int, reportVad: bool | int | 错误码索引 |
EnableCameraCenterStage | enabled: bool | int | 错误码索引 |
EnableContentInspect | enabled: bool, config: ContentInspectConfig | int | 错误码索引 |
EnableCustomAudioLocalPlayback | trackId: uint, enabled: bool | int | 错误码索引 |
EnableDualStreamMode | enabled: bool | int | 错误码索引 |
EnableEncryption | enabled: bool, config: EncryptionConfig | int | 错误码索引 |
EnableExtension | provider: string, extension: string, enable?: bool, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
EnableFaceDetection | enabled: bool | int | 错误码索引 |
EnableInEarMonitoring | enabled: bool, includeAudioFilters: int | int | 错误码索引 |
EnableInstantMediaRendering | — | int | 错误码索引 |
EnableLocalAudio | enabled: bool | int | 错误码索引 |
EnableLocalVideo | enabled: bool | int | 错误码索引 |
EnableLoopbackRecording | enabled: bool, deviceName?: string | int | 错误码索引 |
EnableMultiCamera | enabled: bool, config: CameraCapturerConfiguration | int | 错误码索引 |
EnableSoundPositionIndication | enabled: bool | int | 错误码索引 |
EnableSpatialAudio | enabled: bool | int | 错误码索引 |
EnableVideo | — | int | 错误码索引 |
EnableVideoImageSource | enable: bool, options: ImageTrackOptions | int | 错误码索引 |
EnableVirtualBackground | enabled: bool, backgroundSource: VirtualBackgroundSource, segproperty: SegmentationProperty, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
EnableVoiceAITuner | enabled: bool, type: VOICE_AI_TUNER_TYPE | int | 错误码索引 |
EnableWebSdkInteroperability | enabled: bool | int | 错误码索引 |
GetAudioDeviceInfo | deviceInfo: DeviceInfoMobile | int | 错误码索引 |
GetAudioDeviceManager | — | IAudioDeviceManager | 错误码索引 |
GetAudioMixingCurrentPosition | — | int | 错误码索引 |
GetAudioMixingDuration | — | int | 错误码索引 |
GetAudioMixingPlayoutVolume | — | int | 错误码索引 |
GetAudioMixingPublishVolume | — | int | 错误码索引 |
GetAudioTrackCount | — | int | 错误码索引 |
GetCallId | callId: string | int | 错误码索引 |
GetCameraMaxZoomFactor | — | float | 错误码索引 |
GetConnectionState | — | CONNECTION_STATE_TYPE | 错误码索引 |
GetCurrentMonotonicTimeInMs | — | long | 错误码索引 |
GetEffectCurrentPosition | soundId: int | int | 错误码索引 |
GetEffectDuration | filePath: string | int | 错误码索引 |
GetEffectsVolume | — | int | 错误码索引 |
GetErrorDescription | code: int | string | 错误码索引 |
GetExtensionProperty | provider: string, extension: string, key: string, value: string, buf_len: int, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
GetFaceShapeAreaOptions | shapeArea: FACE_SHAPE_AREA, options: FaceShapeAreaOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
GetFaceShapeBeautyOptions | options: FaceShapeBeautyOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
GetLocalSpatialAudioEngine | — | ILocalSpatialAudioEngine | 错误码索引 |
GetMusicContentCenter | — | IMusicContentCenter | 错误码索引 |
GetNativeHandler | nativeHandler: IntPtr | int | 错误码索引 |
GetNetworkType | — | int | 错误码索引 |
GetNtpWallTimeInMs | — | UInt64 | 错误码索引 |
GetScreenCaptureSources | thumbSize: SIZE, iconSize: SIZE, includeScreen: bool | ScreenCaptureSourceInfo[] | 错误码索引 |
GetUserInfoByUid | uid: uint, userInfo: UserInfo | int | 错误码索引 |
GetUserInfoByUserAccount | userAccount: string, userInfo: UserInfo | int | 错误码索引 |
GetVersion | build: int | string | 错误码索引 |
GetVideoDeviceManager | — | IVideoDeviceManager | 错误码索引 |
GetVolumeOfEffect | soundId: int | int | 错误码索引 |
InitEventHandler | engineEventHandler: IRtcEngineEventHandler | int | 错误码索引 |
Initialize | context: RtcEngineContext | int | 错误码索引 |
IsCameraAutoExposureFaceModeSupported | — | bool | 错误码索引 |
IsCameraAutoFocusFaceModeSupported | — | bool | 错误码索引 |
IsCameraCenterStageSupported | — | bool | 错误码索引 |
IsCameraExposurePositionSupported | — | bool | 错误码索引 |
IsCameraExposureSupported | — | bool | 错误码索引 |
IsCameraFaceDetectSupported | — | bool | 错误码索引 |
IsCameraFocusSupported | — | bool | 错误码索引 |
IsCameraTorchSupported | — | bool | 错误码索引 |
IsCameraZoomSupported | — | bool | 错误码索引 |
IsFeatureAvailableOnDevice | type: FeatureType | bool | 错误码索引 |
IsSpeakerphoneEnabled | — | bool | 错误码索引 |
JoinChannel | token: string, channelId: string, info?: string, uid?: uint | int | 错误码索引 |
JoinChannelWithUserAccount | token: string, channelId: string, userAccount: string | int | 错误码索引 |
LeaveChannel | — | int | 错误码索引 |
LoadExtensionProvider | path: string, unload_after_use?: bool | int | 错误码索引 |
MuteAllRemoteAudioStreams | mute: bool | int | 错误码索引 |
MuteAllRemoteVideoStreams | mute: bool | int | 错误码索引 |
MuteLocalAudioStream | mute: bool | int | 错误码索引 |
MuteLocalVideoStream | mute: bool | int | 错误码索引 |
MuteRecordingSignal | mute: bool | int | 错误码索引 |
MuteRemoteAudioStream | uid: uint, mute: bool | int | 错误码索引 |
MuteRemoteVideoStream | uid: uint, mute: bool | int | 错误码索引 |
PauseAllChannelMediaRelay | — | int | 错误码索引 |
PauseAllEffects | — | int | 错误码索引 |
PauseAudioMixing | — | int | 错误码索引 |
PauseEffect | soundId: int | int | 错误码索引 |
PlayAllEffects | loopCount: int, pitch: double, pan: double, gain: int, publish?: bool | int | 错误码索引 |
PlayEffect | soundId: int, filePath: string, loopCount: int, pitch: double, pan: double, gain: int, publish?: bool, startPos?: int | int | 错误码索引 |
PreloadChannel | token: string, channelId: string, uid: uint | int | 错误码索引 |
PreloadChannelWithUserAccount | token: unknown, channelId: unknown, userAccount: unknown | unknown | 错误码索引 |
PreloadEffect | soundId: int, filePath: string, startPos?: int | int | 错误码索引 |
QueryCameraFocalLengthCapability | focalLengthInfos: FocalLengthInfo[], size: int | int | 错误码索引 |
QueryCodecCapability | codecInfo: CodecCapInfo[], size: int | int | 错误码索引 |
QueryDeviceScore | — | int | 错误码索引 |
QueryScreenCaptureCapability | — | int | 错误码索引 |
Rate | callId: string, rating: int, description: string | int | 错误码索引 |
RegisterAudioEncodedFrameObserver | config: AudioEncodedFrameObserverConfig, observer: IAudioEncodedFrameObserver | int | 错误码索引 |
RegisterAudioSpectrumObserver | observer: IAudioSpectrumObserver | int | 错误码索引 |
RegisterExtension | provider: string, extension: string, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
RegisterLocalUserAccount | appId: string, userAccount: string | int | 错误码索引 |
RegisterMediaMetadataObserver | observer: IMetadataObserver, type: METADATA_TYPE | int | 错误码索引 |
RemoveVideoWatermark | id: string | int | 错误码索引 |
RenewToken | token: string | int | 错误码索引 |
ResumeAllChannelMediaRelay | — | int | 错误码索引 |
ResumeAllEffects | — | int | 错误码索引 |
ResumeAudioMixing | — | int | 错误码索引 |
ResumeEffect | soundId: int | int | 错误码索引 |
SelectAudioTrack | index: int | int | 错误码索引 |
SendCustomReportMessage | id: string, category: string, null: string, label: string, value: int | int | 错误码索引 |
SendMetadata | metadata: Metadata, source_type: VIDEO_SOURCE_TYPE | int | 错误码索引 |
SendStreamMessage | streamId: int, data: byte[], length: uint | int | 错误码索引 |
SetAINSMode | enabled: bool, mode: AUDIO_AINS_MODE | int | 错误码索引 |
SetAVSyncSource | channelId: string, uid: uint | int | 错误码索引 |
SetAdvancedAudioOptions | options: AdvancedAudioOptions | int | 错误码索引 |
SetAudioEffectParameters | preset: AUDIO_EFFECT_PRESET, param1: int, param2: int | int | 错误码索引 |
SetAudioEffectPreset | preset: AUDIO_EFFECT_PRESET | int | 错误码索引 |
SetAudioMixingDualMonoMode | mode: AUDIO_MIXING_DUAL_MONO_MODE | int | 错误码索引 |
SetAudioMixingPitch | pitch: int | int | 错误码索引 |
SetAudioMixingPlaybackSpeed | speed: int | int | 错误码索引 |
SetAudioMixingPosition | pos: int | int | 错误码索引 |
SetAudioProfile | profile: AUDIO_PROFILE_TYPE, scenario: AUDIO_SCENARIO_TYPE | int | 错误码索引 |
SetAudioScenario | scenario: AUDIO_SCENARIO_TYPE | int | 错误码索引 |
SetAudioSessionOperationRestriction | restriction: AUDIO_SESSION_OPERATION_RESTRICTION | int | 错误码索引 |
SetBeautyEffectOptions | enabled: bool, options: BeautyOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetCameraAutoExposureFaceModeEnabled | enabled: bool | int | 错误码索引 |
SetCameraAutoFocusFaceModeEnabled | enabled: bool | int | 错误码索引 |
SetCameraCapturerConfiguration | config: CameraCapturerConfiguration | int | 错误码索引 |
SetCameraDeviceOrientation | type: VIDEO_SOURCE_TYPE, orientation: VIDEO_ORIENTATION | int | 错误码索引 |
SetCameraExposureFactor | factor: float | int | 错误码索引 |
SetCameraExposurePosition | positionXinView: float, positionYinView: float | int | 错误码索引 |
SetCameraFocusPositionInPreview | positionX: float, positionY: float | int | 错误码索引 |
SetCameraStabilizationMode | mode: CAMERA_STABILIZATION_MODE | int | 错误码索引 |
SetCameraTorchOn | isOn: bool | int | 错误码索引 |
SetCameraZoomFactor | factor: float | int | 错误码索引 |
SetChannelProfile | profile: CHANNEL_PROFILE_TYPE | int | 错误码索引 |
SetClientRole | role: CLIENT_ROLE_TYPE | int | 错误码索引 |
SetCloudProxy | proxyType: CLOUD_PROXY_TYPE | int | 错误码索引 |
SetColorEnhanceOptions | enabled: bool, options: ColorEnhanceOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetDefaultAudioRouteToSpeakerphone | defaultToSpeaker: bool | int | 错误码索引 |
SetDualStreamMode | mode: SIMULCAST_STREAM_MODE | int | 错误码索引 |
SetEarMonitoringAudioFrameParameters | sampleRate: int, channel: int, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE, samplesPerCall: int | int | 错误码索引 |
SetEffectPosition | soundId: int, pos: int | int | 错误码索引 |
SetEffectsVolume | volume: int | int | 错误码索引 |
SetEnableSpeakerphone | speakerOn: bool | int | 错误码索引 |
SetExtensionProperty | provider: string, extension: string, key: string, value: string, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetExtensionProviderProperty | provider: string, key: string, value: string | int | 错误码索引 |
SetExternalMediaProjection | mediaProjection: IntPtr | int | 错误码索引 |
SetExternalRemoteEglContext | eglContext: IntPtr | int | 错误码索引 |
SetFaceShapeAreaOptions | options: FaceShapeAreaOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetFaceShapeBeautyOptions | enabled: bool, options: FaceShapeBeautyOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetFilterEffectOptions | enabled: bool, options: FilterEffectOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetHeadphoneEQParameters | lowGain: int, highGain: int | int | 错误码索引 |
SetHeadphoneEQPreset | preset: HEADPHONE_EQUALIZER_PRESET | int | 错误码索引 |
SetInEarMonitoringVolume | volume: int | int | 错误码索引 |
SetLocalAccessPoint | config: LocalAccessPointConfiguration | int | 错误码索引 |
SetLocalRenderMode | renderMode: RENDER_MODE_TYPE | int | 错误码索引 |
SetLocalRenderTargetFps | sourceType: VIDEO_SOURCE_TYPE, targetFps: int | int | 错误码索引 |
SetLocalVideoDataSourcePosition | position: VIDEO_MODULE_POSITION | int | 错误码索引 |
SetLocalVideoMirrorMode | mirrorMode: VIDEO_MIRROR_MODE_TYPE | int | 错误码索引 |
SetLocalVoiceEqualization | bandFrequency: AUDIO_EQUALIZATION_BAND_FREQUENCY, bandGain: int | int | 错误码索引 |
SetLocalVoiceFormant | formantRatio: double | int | 错误码索引 |
SetLocalVoicePitch | pitch: double | int | 错误码索引 |
SetLocalVoiceReverb | reverbKey: AUDIO_REVERB_TYPE, value: int | int | 错误码索引 |
SetLogFile | filePath: string | int | 错误码索引 |
SetLogFileSize | fileSizeInKBytes: uint | int | 错误码索引 |
SetLogFilter | filter: uint | int | 错误码索引 |
SetLogLevel | level: LOG_LEVEL | int | 错误码索引 |
SetLowlightEnhanceOptions | enabled: bool, options: LowlightEnhanceOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetMaxMetadataSize | size: int | int | 错误码索引 |
SetMixedAudioFrameParameters | sampleRate: int, channel: int, samplesPerCall: int | int | 错误码索引 |
SetParameters | key: string, value: object | int | 错误码索引 |
SetPlaybackAudioFrameBeforeMixingParameters | sampleRate: int, channel: int | int | 错误码索引 |
SetPlaybackAudioFrameParameters | sampleRate: int, channel: int, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE, samplesPerCall: int | int | 错误码索引 |
SetRecordingAudioFrameParameters | sampleRate: int, channel: int, mode: RAW_AUDIO_FRAME_OP_MODE_TYPE, samplesPerCall: int | int | 错误码索引 |
SetRemoteDefaultVideoStreamType | streamType: VIDEO_STREAM_TYPE | int | 错误码索引 |
SetRemoteRenderMode | uid: uint, renderMode: RENDER_MODE_TYPE, mirrorMode: VIDEO_MIRROR_MODE_TYPE | int | 错误码索引 |
SetRemoteRenderTargetFps | targetFps: int | int | 错误码索引 |
SetRemoteSubscribeFallbackOption | option: STREAM_FALLBACK_OPTIONS | int | 错误码索引 |
SetRemoteUserSpatialAudioParams | uid: uint, param: SpatialAudioParams | int | 错误码索引 |
SetRemoteVideoStreamType | uid: uint, streamType: VIDEO_STREAM_TYPE | int | 错误码索引 |
SetRemoteVideoSubscriptionOptions | uid: uint, options: VideoSubscriptionOptions | int | 错误码索引 |
SetRemoteVoicePosition | uid: uint, pan: double, gain: double | int | 错误码索引 |
SetRouteInCommunicationMode | route: int | int | 错误码索引 |
SetScreenCaptureContentHint | contentHint: VIDEO_CONTENT_HINT | int | 错误码索引 |
SetScreenCaptureScenario | screenScenario: SCREEN_SCENARIO_TYPE | int | 错误码索引 |
SetSubscribeAudioAllowlist | uidList: uint[], uidNumber: int | int | 错误码索引 |
SetSubscribeAudioBlocklist | uidList: uint[], uidNumber: int | int | 错误码索引 |
SetSubscribeVideoAllowlist | uidList: uint[], uidNumber: int | int | 错误码索引 |
SetSubscribeVideoBlocklist | uidList: uint[], uidNumber: int | int | 错误码索引 |
SetVideoDenoiserOptions | enabled: bool, options: VideoDenoiserOptions, type?: MEDIA_SOURCE_TYPE | int | 错误码索引 |
SetVideoEncoderConfiguration | config: VideoEncoderConfiguration | int | 错误码索引 |
SetVideoScenario | scenarioType: VIDEO_APPLICATION_SCENARIO_TYPE | int | 错误码索引 |
SetVoiceBeautifierParameters | preset: VOICE_BEAUTIFIER_PRESET, param1: int, param2: int | int | 错误码索引 |
SetVoiceBeautifierPreset | preset: VOICE_BEAUTIFIER_PRESET | int | 错误码索引 |
SetVoiceConversionPreset | preset: VOICE_CONVERSION_PRESET | int | 错误码索引 |
SetVolumeOfEffect | soundId: int, volume: int | int | 错误码索引 |
SetupLocalVideo | canvas: VideoCanvas | int | 错误码索引 |
SetupRemoteVideo | canvas: VideoCanvas | int | 错误码索引 |
StartAudioMixing | filePath: string, loopback: bool, cycle: int | int | 错误码索引 |
StartAudioRecording | filePath: string, quality: AUDIO_RECORDING_QUALITY_TYPE | int | 错误码索引 |
StartCameraCapture | sourceType: VIDEO_SOURCE_TYPE, config: CameraCapturerConfiguration | int | 错误码索引 |
StartEchoTest | config: EchoTestConfiguration | int | 错误码索引 |
StartLastmileProbeTest | config: LastmileProbeConfig | int | 错误码索引 |
StartLocalAudioMixer | config: LocalAudioMixerConfiguration | int | 错误码索引 |
StartLocalVideoTranscoder | config: LocalTranscoderConfiguration | int | 错误码索引 |
StartMediaRenderingTracing | — | int | 错误码索引 |
StartOrUpdateChannelMediaRelay | configuration: ChannelMediaRelayConfiguration | int | 错误码索引 |
StartPreview | — | int | 错误码索引 |
StartRhythmPlayer | sound1: string, sound2: string, config: AgoraRhythmPlayerConfig | int | 错误码索引 |
StartRtmpStreamWithTranscoding | url: string, transcoding: LiveTranscoding | int | 错误码索引 |
StartRtmpStreamWithoutTranscoding | url: string | int | 错误码索引 |
StartScreenCapture | captureParams: ScreenCaptureParameters2 | int | 错误码索引 |
StartScreenCaptureByDisplayId | displayId: uint, regionRect: Rectangle, captureParams: ScreenCaptureParameters | int | 错误码索引 |
StartScreenCaptureByScreenRect | screenRect: Rectangle, regionRect: Rectangle, captureParams: ScreenCaptureParameters | int | 错误码索引 |
StartScreenCaptureByWindowId | windowId: long, regionRect: Rectangle, captureParams: ScreenCaptureParameters | int | 错误码索引 |
StopAllEffects | — | int | 错误码索引 |
StopAudioMixing | — | int | 错误码索引 |
StopAudioRecording | — | int | 错误码索引 |
StopCameraCapture | sourceType: VIDEO_SOURCE_TYPE | int | 错误码索引 |
StopChannelMediaRelay | — | int | 错误码索引 |
StopEchoTest | — | int | 错误码索引 |
StopEffect | soundId: int | int | 错误码索引 |
StopLastmileProbeTest | — | int | 错误码索引 |
StopLocalAudioMixer | — | int | 错误码索引 |
StopLocalVideoTranscoder | — | int | 错误码索引 |
StopPreview | — | int | 错误码索引 |
StopRhythmPlayer | — | int | 错误码索引 |
StopRtmpStream | url: string | int | 错误码索引 |
StopScreenCapture | — | int | 错误码索引 |
SwitchCamera | — | int | 错误码索引 |
TakeSnapshot | uid: uint, filePath: string | int | 错误码索引 |
UnRegisterAudioEncodedFrameObserver | — | int | 错误码索引 |
UnRegisterAudioFrameObserver | — | int | 错误码索引 |
UnloadAllEffects | — | int | 错误码索引 |
UnloadEffect | soundId: int | int | 错误码索引 |
UnregisterAudioSpectrumObserver | — | int | 错误码索引 |
UnregisterMediaMetadataObserver | — | int | 错误码索引 |
UpdateChannelMediaOptions | options: ChannelMediaOptions | int | 错误码索引 |
UpdateLocalAudioMixerConfiguration | config: LocalAudioMixerConfiguration | int | 错误码索引 |
UpdateLocalTranscoderConfiguration | config: LocalTranscoderConfiguration | int | 错误码索引 |
UpdatePreloadChannelToken | token: string | int | 错误码索引 |
UpdateRtmpTranscoding | transcoding: LiveTranscoding | int | 错误码索引 |
UpdateScreenCapture | captureParams: ScreenCaptureParameters2 | int | 错误码索引 |
UpdateScreenCaptureParameters | captureParams: ScreenCaptureParameters | int | 错误码索引 |
UpdateScreenCaptureRegion | regionRect: Rectangle | int | 错误码索引 |
IRtcEngineEventHandler 87 方法 / 0 属性
OnActiveSpeaker(connection: RtcConnection, uid: uint): void
OnAudioDeviceStateChanged(deviceId: string, deviceType: MEDIA_DEVICE_TYPE, deviceState: MEDIA_DEVICE_STATE_TYPE): void
OnAudioDeviceVolumeChanged(deviceType: MEDIA_DEVICE_TYPE, volume: int, muted: bool): void
OnAudioEffectFinished(soundId: int): void
OnAudioMixingFinished(): void
OnAudioMixingPositionChanged(position: long): void
OnAudioMixingStateChanged(state: AUDIO_MIXING_STATE_TYPE, reason: AUDIO_MIXING_REASON_TYPE): void
OnAudioPublishStateChanged(channel: string, oldState: STREAM_PUBLISH_STATE, newState: STREAM_PUBLISH_STATE, elapseSinceLastState: int): void
OnAudioQuality(connection: RtcConnection, remoteUid: uint, quality: int, delay: UInt16, lost: UInt16): void
OnAudioRoutingChanged(routing: int): void
OnAudioSubscribeStateChanged(channel: string, uid: uint, oldState: STREAM_SUBSCRIBE_STATE, newState: STREAM_SUBSCRIBE_STATE, elapseSinceLastState: int): void
OnAudioVolumeIndication(connection: RtcConnection, speakers: AudioVolumeInfo[], speakerNumber: uint, 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: int, code: int): void
OnClientRoleChangeFailed(connection: RtcConnection, reason: CLIENT_ROLE_CHANGE_FAILED_REASON, currentRole: CLIENT_ROLE_TYPE): void
OnClientRoleChanged(connection: RtcConnection, oldRole: CLIENT_ROLE_TYPE, newRole: CLIENT_ROLE_TYPE, newRoleOptions: ClientRoleOptions): void
OnConnectionBanned(connection: RtcConnection): void
OnConnectionInterrupted(connection: RtcConnection): void
OnConnectionLost(connection: RtcConnection): void
OnConnectionStateChanged(connection: RtcConnection, state: CONNECTION_STATE_TYPE, reason: CONNECTION_CHANGED_REASON_TYPE): void
OnEncryptionError(connection: RtcConnection, errorType: ENCRYPTION_ERROR_TYPE): void
OnError(err: int, msg: string): void
OnExtensionErrorWithContext(context: ExtensionContext, error: int, message: string): void
OnExtensionEventWithContext(context: ExtensionContext, key: string, value: string): void
OnExtensionStartedWithContext(context: unknown): unknown
OnExtensionStoppedWithContext(context: ExtensionContext): void
OnFacePositionChanged(imageWidth: int, imageHeight: int, vecRectangle: Rectangle, vecDistance: int[], numFaces: int): void
OnFirstLocalAudioFramePublished(connection: RtcConnection, elapsed: int): void
OnFirstLocalVideoFrame(source: VIDEO_SOURCE_TYPE, width: int, height: int, elapsed: int): void
OnFirstLocalVideoFramePublished(connection: RtcConnection, elapsed: int): void
OnFirstRemoteAudioDecoded(connection: RtcConnection, uid: uint, elapsed: int): void
OnFirstRemoteAudioFrame(connection: RtcConnection, userId: uint, elapsed: int): void
OnFirstRemoteVideoDecoded(connection: RtcConnection, remoteUid: uint, width: int, height: int, elapsed: int): void
OnFirstRemoteVideoFrame(connection: RtcConnection, remoteUid: uint, width: int, height: int, elapsed: int): void
OnJoinChannelSuccess(connection: RtcConnection, elapsed: int): void
OnLastmileProbeResult(result: LastmileProbeResult): void
OnLastmileQuality(quality: int): void
OnLeaveChannel(connection: RtcConnection, stats: RtcStats): void
OnLocalAudioStateChanged(connection: RtcConnection, state: LOCAL_AUDIO_STREAM_STATE, reason: LOCAL_AUDIO_STREAM_REASON): void
OnLocalAudioStats(connection: RtcConnection, stats: LocalAudioStats): void
OnLocalUserRegistered(uid: uint, userAccount: string): void
OnLocalVideoEvent(source: VideoSourceType, event: LocalVideoEventType): void
OnLocalVideoStateChanged(source: VIDEO_SOURCE_TYPE, state: LOCAL_VIDEO_STREAM_STATE, reason: LOCAL_VIDEO_STREAM_REASON): void
OnLocalVideoStats(connection: RtcConnection, stats: LocalVideoStats): void
OnLocalVideoTranscoderError(stream: TranscodingVideoStream, error: VIDEO_TRANSCODER_ERROR): void
OnMultipathStats(connection: RtcConnection, stats: MultipathStats): void
OnNetworkQuality(connection: RtcConnection, remoteUid: uint, txQuality: int, rxQuality: int): void
OnNetworkTypeChanged(connection: RtcConnection, type: NETWORK_TYPE): void
OnPermissionError(permissionType: PERMISSION_TYPE): void
OnPermissionGranted(permissionType: PermissionType): void
OnProxyConnected(channel: string, uid: uint, proxyType: PROXY_TYPE, localProxyIp: string, elapsed: int): void
OnRejoinChannelSuccess(connection: RtcConnection, elapsed: int): void
OnRemoteAudioStateChanged(connection: RtcConnection, remoteUid: uint, state: REMOTE_AUDIO_STATE, reason: REMOTE_AUDIO_STATE_REASON, elapsed: int): void
OnRemoteAudioStats(connection: RtcConnection, stats: RemoteAudioStats): void
OnRemoteAudioTransportStats(connection: RtcConnection, remoteUid: uint, delay: UInt16, lost: UInt16, rxKBitRate: UInt16): void
OnRemoteSubscribeFallbackToAudioOnly(uid: uint, isFallbackOrRecover: bool): void
OnRemoteVideoStateChanged(connection: RtcConnection, remoteUid: uint, state: REMOTE_VIDEO_STATE, reason: REMOTE_VIDEO_STATE_REASON, elapsed: int): void
OnRemoteVideoStats(connection: RtcConnection, stats: RemoteVideoStats): void
OnRemoteVideoTransportStats(connection: RtcConnection, remoteUid: uint, delay: UInt16, lost: UInt16, rxKBitRate: UInt16): void
OnRenewTokenResult(connection: RtcConnection, token: string, code: RENEW_TOKEN_ERROR_CODE): void
OnRequestToken(connection: RtcConnection): void
OnRhythmPlayerStateChanged(state: RHYTHM_PLAYER_STATE_TYPE, reason: RHYTHM_PLAYER_REASON): void
OnRtcStats(connection: RtcConnection, stats: RtcStats): void
OnRtmpStreamingEvent(url: string, eventCode: RTMP_STREAMING_EVENT): void
OnRtmpStreamingStateChanged(url: string, state: RTMP_STREAM_PUBLISH_STATE, reason: RTMP_STREAM_PUBLISH_REASON): void
OnSnapshotTaken(connection: RtcConnection, uid: uint, filePath: string, width: int, height: int, errCode: int): void
OnStreamMessage(connection: RtcConnection, remoteUid: uint, streamId: int, data: byte[], length: ulong, sentTs: ulong): void
OnStreamMessageError(connection: RtcConnection, remoteUid: uint, streamId: int, code: int, missed: int, cached: int): void
OnTokenPrivilegeWillExpire(connection: RtcConnection, token: string): void
OnTranscodedStreamLayoutInfo(connection: RtcConnection, uid: uint, width: int, height: int, layoutCount: int, layoutlist: VideoLayout[]): void
OnTranscodingUpdated(): void
OnUplinkNetworkInfoUpdated(info: UplinkNetworkInfo): void
OnUserEnableLocalVideo(connection: RtcConnection, remoteUid: uint, enabled: bool): void
OnUserEnableVideo(connection: RtcConnection, remoteUid: uint, enabled: bool): void
OnUserInfoUpdated(uid: uint, info: UserInfo): void
OnUserJoined(connection: RtcConnection, remoteUid: uint, elapsed: int): void
OnUserMuteAudio(connection: RtcConnection, remoteUid: uint, muted: bool): void
OnUserMuteVideo(connection: RtcConnection, remoteUid: uint, muted: bool): void
OnUserOffline(connection: RtcConnection, remoteUid: uint, reason: USER_OFFLINE_REASON_TYPE): void
OnVideoDeviceStateChanged(deviceId: string, deviceType: int, deviceState: int): void
OnVideoPublishStateChanged(source: VIDEO_SOURCE_TYPE, channel: string, oldState: STREAM_PUBLISH_STATE, newState: STREAM_PUBLISH_STATE, elapseSinceLastState: int): void
OnVideoRenderingTracingResult(connection: RtcConnection, uid: uint, currentEvent: MEDIA_TRACE_EVENT, tracingInfo: VideoRenderingTracingInfo): void
OnVideoSizeChanged(connection: RtcConnection, sourceType: VIDEO_SOURCE_TYPE, uid: uint, width: int, height: int, rotation: int): void
OnVideoStopped(): void
OnVideoSubscribeStateChanged(channel: string, uid: uint, oldState: STREAM_SUBSCRIBE_STATE, newState: STREAM_SUBSCRIBE_STATE, elapseSinceLastState: int): void方法明细:87 / 87(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnActiveSpeaker | connection: RtcConnection, uid: uint | void | 错误码索引 |
OnAudioDeviceStateChanged | deviceId: string, deviceType: MEDIA_DEVICE_TYPE, deviceState: MEDIA_DEVICE_STATE_TYPE | void | 错误码索引 |
OnAudioDeviceVolumeChanged | deviceType: MEDIA_DEVICE_TYPE, volume: int, muted: bool | void | 错误码索引 |
OnAudioEffectFinished | soundId: int | void | 错误码索引 |
OnAudioMixingFinished | — | void | 错误码索引 |
OnAudioMixingPositionChanged | position: long | void | 错误码索引 |
OnAudioMixingStateChanged | state: AUDIO_MIXING_STATE_TYPE, reason: AUDIO_MIXING_REASON_TYPE | void | 错误码索引 |
OnAudioPublishStateChanged | channel: string, oldState: STREAM_PUBLISH_STATE, newState: STREAM_PUBLISH_STATE, elapseSinceLastState: int | void | 错误码索引 |
OnAudioQuality | connection: RtcConnection, remoteUid: uint, quality: int, delay: UInt16, lost: UInt16 | void | 错误码索引 |
OnAudioRoutingChanged | routing: int | void | 错误码索引 |
OnAudioSubscribeStateChanged | channel: string, uid: uint, oldState: STREAM_SUBSCRIBE_STATE, newState: STREAM_SUBSCRIBE_STATE, elapseSinceLastState: int | void | 错误码索引 |
OnAudioVolumeIndication | connection: RtcConnection, speakers: AudioVolumeInfo[], speakerNumber: uint, 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: int, code: int | void | 错误码索引 |
OnClientRoleChangeFailed | connection: RtcConnection, reason: CLIENT_ROLE_CHANGE_FAILED_REASON, currentRole: CLIENT_ROLE_TYPE | void | 错误码索引 |
OnClientRoleChanged | connection: RtcConnection, oldRole: CLIENT_ROLE_TYPE, newRole: CLIENT_ROLE_TYPE, newRoleOptions: ClientRoleOptions | void | 错误码索引 |
OnConnectionBanned | connection: RtcConnection | void | 错误码索引 |
OnConnectionInterrupted | connection: RtcConnection | void | 错误码索引 |
OnConnectionLost | connection: RtcConnection | void | 错误码索引 |
OnConnectionStateChanged | connection: RtcConnection, state: CONNECTION_STATE_TYPE, reason: CONNECTION_CHANGED_REASON_TYPE | void | 错误码索引 |
OnEncryptionError | connection: RtcConnection, errorType: ENCRYPTION_ERROR_TYPE | void | 错误码索引 |
OnError | err: int, msg: string | void | 错误码索引 |
OnExtensionErrorWithContext | context: ExtensionContext, error: int, message: string | void | 错误码索引 |
OnExtensionEventWithContext | context: ExtensionContext, key: string, value: string | void | 错误码索引 |
OnExtensionStartedWithContext | context: unknown | unknown | 错误码索引 |
OnExtensionStoppedWithContext | context: ExtensionContext | void | 错误码索引 |
OnFacePositionChanged | imageWidth: int, imageHeight: int, vecRectangle: Rectangle, vecDistance: int[], numFaces: int | void | 错误码索引 |
OnFirstLocalAudioFramePublished | connection: RtcConnection, elapsed: int | void | 错误码索引 |
OnFirstLocalVideoFrame | source: VIDEO_SOURCE_TYPE, width: int, height: int, elapsed: int | void | 错误码索引 |
OnFirstLocalVideoFramePublished | connection: RtcConnection, elapsed: int | void | 错误码索引 |
OnFirstRemoteAudioDecoded | connection: RtcConnection, uid: uint, elapsed: int | void | 错误码索引 |
OnFirstRemoteAudioFrame | connection: RtcConnection, userId: uint, elapsed: int | void | 错误码索引 |
OnFirstRemoteVideoDecoded | connection: RtcConnection, remoteUid: uint, width: int, height: int, elapsed: int | void | 错误码索引 |
OnFirstRemoteVideoFrame | connection: RtcConnection, remoteUid: uint, width: int, height: int, elapsed: int | void | 错误码索引 |
OnJoinChannelSuccess | connection: RtcConnection, elapsed: int | void | 错误码索引 |
OnLastmileProbeResult | result: LastmileProbeResult | void | 错误码索引 |
OnLastmileQuality | quality: int | void | 错误码索引 |
OnLeaveChannel | connection: RtcConnection, stats: RtcStats | void | 错误码索引 |
OnLocalAudioStateChanged | connection: RtcConnection, state: LOCAL_AUDIO_STREAM_STATE, reason: LOCAL_AUDIO_STREAM_REASON | void | 错误码索引 |
OnLocalAudioStats | connection: RtcConnection, stats: LocalAudioStats | void | 错误码索引 |
OnLocalUserRegistered | uid: uint, userAccount: string | void | 错误码索引 |
OnLocalVideoEvent | source: VideoSourceType, event: LocalVideoEventType | void | 错误码索引 |
OnLocalVideoStateChanged | source: VIDEO_SOURCE_TYPE, state: LOCAL_VIDEO_STREAM_STATE, reason: LOCAL_VIDEO_STREAM_REASON | void | 错误码索引 |
OnLocalVideoStats | connection: RtcConnection, stats: LocalVideoStats | void | 错误码索引 |
OnLocalVideoTranscoderError | stream: TranscodingVideoStream, error: VIDEO_TRANSCODER_ERROR | void | 错误码索引 |
OnMultipathStats | connection: RtcConnection, stats: MultipathStats | void | 错误码索引 |
OnNetworkQuality | connection: RtcConnection, remoteUid: uint, txQuality: int, rxQuality: int | void | 错误码索引 |
OnNetworkTypeChanged | connection: RtcConnection, type: NETWORK_TYPE | void | 错误码索引 |
OnPermissionError | permissionType: PERMISSION_TYPE | void | 错误码索引 |
OnPermissionGranted | permissionType: PermissionType | void | 错误码索引 |
OnProxyConnected | channel: string, uid: uint, proxyType: PROXY_TYPE, localProxyIp: string, elapsed: int | void | 错误码索引 |
OnRejoinChannelSuccess | connection: RtcConnection, elapsed: int | void | 错误码索引 |
OnRemoteAudioStateChanged | connection: RtcConnection, remoteUid: uint, state: REMOTE_AUDIO_STATE, reason: REMOTE_AUDIO_STATE_REASON, elapsed: int | void | 错误码索引 |
OnRemoteAudioStats | connection: RtcConnection, stats: RemoteAudioStats | void | 错误码索引 |
OnRemoteAudioTransportStats | connection: RtcConnection, remoteUid: uint, delay: UInt16, lost: UInt16, rxKBitRate: UInt16 | void | 错误码索引 |
OnRemoteSubscribeFallbackToAudioOnly | uid: uint, isFallbackOrRecover: bool | void | 错误码索引 |
OnRemoteVideoStateChanged | connection: RtcConnection, remoteUid: uint, state: REMOTE_VIDEO_STATE, reason: REMOTE_VIDEO_STATE_REASON, elapsed: int | void | 错误码索引 |
OnRemoteVideoStats | connection: RtcConnection, stats: RemoteVideoStats | void | 错误码索引 |
OnRemoteVideoTransportStats | connection: RtcConnection, remoteUid: uint, delay: UInt16, lost: UInt16, rxKBitRate: UInt16 | void | 错误码索引 |
OnRenewTokenResult | connection: RtcConnection, token: string, code: RENEW_TOKEN_ERROR_CODE | void | 错误码索引 |
OnRequestToken | connection: RtcConnection | void | 错误码索引 |
OnRhythmPlayerStateChanged | state: RHYTHM_PLAYER_STATE_TYPE, reason: RHYTHM_PLAYER_REASON | void | 错误码索引 |
OnRtcStats | connection: RtcConnection, stats: RtcStats | void | 错误码索引 |
OnRtmpStreamingEvent | url: string, eventCode: RTMP_STREAMING_EVENT | void | 错误码索引 |
OnRtmpStreamingStateChanged | url: string, state: RTMP_STREAM_PUBLISH_STATE, reason: RTMP_STREAM_PUBLISH_REASON | void | 错误码索引 |
OnSnapshotTaken | connection: RtcConnection, uid: uint, filePath: string, width: int, height: int, errCode: int | void | 错误码索引 |
OnStreamMessage | connection: RtcConnection, remoteUid: uint, streamId: int, data: byte[], length: ulong, sentTs: ulong | void | 错误码索引 |
OnStreamMessageError | connection: RtcConnection, remoteUid: uint, streamId: int, code: int, missed: int, cached: int | void | 错误码索引 |
OnTokenPrivilegeWillExpire | connection: RtcConnection, token: string | void | 错误码索引 |
OnTranscodedStreamLayoutInfo | connection: RtcConnection, uid: uint, width: int, height: int, layoutCount: int, layoutlist: VideoLayout[] | void | 错误码索引 |
OnTranscodingUpdated | — | void | 错误码索引 |
OnUplinkNetworkInfoUpdated | info: UplinkNetworkInfo | void | 错误码索引 |
OnUserEnableLocalVideo | connection: RtcConnection, remoteUid: uint, enabled: bool | void | 错误码索引 |
OnUserEnableVideo | connection: RtcConnection, remoteUid: uint, enabled: bool | void | 错误码索引 |
OnUserInfoUpdated | uid: uint, info: UserInfo | void | 错误码索引 |
OnUserJoined | connection: RtcConnection, remoteUid: uint, elapsed: int | void | 错误码索引 |
OnUserMuteAudio | connection: RtcConnection, remoteUid: uint, muted: bool | void | 错误码索引 |
OnUserMuteVideo | connection: RtcConnection, remoteUid: uint, muted: bool | void | 错误码索引 |
OnUserOffline | connection: RtcConnection, remoteUid: uint, reason: USER_OFFLINE_REASON_TYPE | void | 错误码索引 |
OnVideoDeviceStateChanged | deviceId: string, deviceType: int, deviceState: int | void | 错误码索引 |
OnVideoPublishStateChanged | source: VIDEO_SOURCE_TYPE, channel: string, oldState: STREAM_PUBLISH_STATE, newState: STREAM_PUBLISH_STATE, elapseSinceLastState: int | void | 错误码索引 |
OnVideoRenderingTracingResult | connection: RtcConnection, uid: uint, currentEvent: MEDIA_TRACE_EVENT, tracingInfo: VideoRenderingTracingInfo | void | 错误码索引 |
OnVideoSizeChanged | connection: RtcConnection, sourceType: VIDEO_SOURCE_TYPE, uid: uint, width: int, height: int, rotation: int | void | 错误码索引 |
OnVideoStopped | — | void | 错误码索引 |
OnVideoSubscribeStateChanged | channel: string, uid: uint, oldState: STREAM_SUBSCRIBE_STATE, newState: STREAM_SUBSCRIBE_STATE, elapseSinceLastState: int | void | 错误码索引 |
IRtcEngineEx 47 方法 / 0 属性
AddVideoWatermarkEx(watermarkUrl: string, options: WatermarkOptions, connection: RtcConnection): int
AdjustUserPlaybackSignalVolumeEx(uid: uint, volume: int, connection: RtcConnection): int
ClearVideoWatermarkEx(connection: RtcConnection): int
CreateAgoraRtcEngineEx(): IRtcEngineEx
CreateDataStreamEx(streamId: int, reliable: bool, ordered: bool, connection: RtcConnection): int
CreateDataStreamEx(streamId: int, config: DataStreamConfig, connection: RtcConnection): int
EnableAudioVolumeIndicationEx(interval: int, smooth: int, reportVad: bool, connection: RtcConnection): int
EnableContentInspectEx(enabled: bool, config: ContentInspectConfig, connection: RtcConnection): int
EnableDualStreamModeEx(enabled: bool, streamConfig: SimulcastStreamConfig, connection: RtcConnection): int
EnableEncryptionEx(connection: RtcConnection, enabled: bool, config: EncryptionConfig): int
EnableLoopbackRecordingEx(connection: RtcConnection, enabled: bool, deviceName: string): int
GetCallIdEx(callId: string, connection: RtcConnection): int
GetConnectionStateEx(connection: RtcConnection): CONNECTION_STATE_TYPE
JoinChannelEx(token: string, connection: RtcConnection, options: ChannelMediaOptions): int
LeaveChannelEx(connection: RtcConnection): int
LeaveChannelEx(connection: RtcConnection, options: LeaveChannelOptions): int
MuteAllRemoteAudioStreamsEx(mute: bool, connection: RtcConnection): int
MuteAllRemoteVideoStreamsEx(mute: bool, connection: RtcConnection): int
MuteLocalAudioStreamEx(mute: bool, connection: RtcConnection): int
MuteLocalVideoStreamEx(mute: bool, connection: RtcConnection): int
MuteRemoteAudioStreamEx(uid: uint, mute: bool, connection: RtcConnection): int
MuteRemoteVideoStreamEx(uid: uint, mute: bool, connection: RtcConnection): int
PauseAllChannelMediaRelayEx(connection: RtcConnection): int
PlayEffectEx(connection: RtcConnection, soundId: int, filePath: string, loopCount: int, pitch: double, pan: double, gain: int, publish?: bool, startPos?: int): int
PreloadEffectEx(connection: RtcConnection, soundId: int, filePath: string, startPos?: int): int
RemoveVideoWatermarkEx(id: string, connection: RtcConnection): int
ResumeAllChannelMediaRelayEx(connection: RtcConnection): int
SendCustomReportMessageEx(id: string, category: string, null: string, label: string, value: int, connection: RtcConnection): int
SendStreamMessageEx(streamId: int, data: byte[], length: uint, connection: RtcConnection): int
SetDualStreamModeEx(mode: SIMULCAST_STREAM_MODE, streamConfig: SimulcastStreamConfig, connection: RtcConnection): int
SetRemoteRenderModeEx(uid: uint, renderMode: RENDER_MODE_TYPE, mirrorMode: VIDEO_MIRROR_MODE_TYPE, connection: RtcConnection): int
SetRemoteVideoStreamTypeEx(uid: uint, streamType: VIDEO_STREAM_TYPE, connection: RtcConnection): int
SetRemoteVideoSubscriptionOptionsEx(uid: uint, options: VideoSubscriptionOptions, connection: RtcConnection): int
SetRemoteVoicePositionEx(uid: uint, pan: double, gain: double, connection: RtcConnection): int
SetSubscribeAudioAllowlistEx(uidList: unknown, uidNumber: unknown, connection: unknown): unknown
SetSubscribeAudioBlocklistEx(uidList: uint[], uidNumber: int, connection: RtcConnection): int
SetSubscribeVideoAllowlistEx(uidList: uint[], uidNumber: int, connection: RtcConnection): int
SetSubscribeVideoBlocklistEx(uidList: uint[], uidNumber: int, connection: RtcConnection): int
SetVideoEncoderConfigurationEx(config: VideoEncoderConfiguration, connection: RtcConnection): int
SetupRemoteVideoEx(canvas: VideoCanvas, connection: RtcConnection): int
StartMediaRenderingTracingEx(connection: RtcConnection): int
StartOrUpdateChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): int
StartRtmpStreamWithTranscodingEx(url: string, transcoding: LiveTranscoding, connection: RtcConnection): int
StartRtmpStreamWithoutTranscodingEx(url: string, connection: RtcConnection): int
StopChannelMediaRelayEx(connection: RtcConnection): int
StopRtmpStreamEx(url: string, connection: RtcConnection): int
TakeSnapshotEx(connection: RtcConnection, uid: uint, filePath: string): int
TakeSnapshotEx(connection: RtcConnection, uid: uint, config: SnapshotConfig): int
UpdateChannelMediaOptionsEx(options: ChannelMediaOptions, connection: RtcConnection): int
UpdateRtmpTranscodingEx(transcoding: LiveTranscoding, connection: RtcConnection): int方法明细:47 / 47(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
AddVideoWatermarkEx | watermarkUrl: string, options: WatermarkOptions, connection: RtcConnection | int | 错误码索引 |
AdjustUserPlaybackSignalVolumeEx | uid: uint, volume: int, connection: RtcConnection | int | 错误码索引 |
ClearVideoWatermarkEx | connection: RtcConnection | int | 错误码索引 |
CreateAgoraRtcEngineEx | — | IRtcEngineEx | 错误码索引 |
CreateDataStreamEx | streamId: int, reliable: bool, ordered: bool, connection: RtcConnection | int | 错误码索引 |
EnableAudioVolumeIndicationEx | interval: int, smooth: int, reportVad: bool, connection: RtcConnection | int | 错误码索引 |
EnableContentInspectEx | enabled: bool, config: ContentInspectConfig, connection: RtcConnection | int | 错误码索引 |
EnableDualStreamModeEx | enabled: bool, streamConfig: SimulcastStreamConfig, connection: RtcConnection | int | 错误码索引 |
EnableEncryptionEx | connection: RtcConnection, enabled: bool, config: EncryptionConfig | int | 错误码索引 |
EnableLoopbackRecordingEx | connection: RtcConnection, enabled: bool, deviceName: string | int | 错误码索引 |
GetCallIdEx | callId: string, connection: RtcConnection | int | 错误码索引 |
GetConnectionStateEx | connection: RtcConnection | CONNECTION_STATE_TYPE | 错误码索引 |
JoinChannelEx | token: string, connection: RtcConnection, options: ChannelMediaOptions | int | 错误码索引 |
LeaveChannelEx | connection: RtcConnection | int | 错误码索引 |
MuteAllRemoteAudioStreamsEx | mute: bool, connection: RtcConnection | int | 错误码索引 |
MuteAllRemoteVideoStreamsEx | mute: bool, connection: RtcConnection | int | 错误码索引 |
MuteLocalAudioStreamEx | mute: bool, connection: RtcConnection | int | 错误码索引 |
MuteLocalVideoStreamEx | mute: bool, connection: RtcConnection | int | 错误码索引 |
MuteRemoteAudioStreamEx | uid: uint, mute: bool, connection: RtcConnection | int | 错误码索引 |
MuteRemoteVideoStreamEx | uid: uint, mute: bool, connection: RtcConnection | int | 错误码索引 |
PauseAllChannelMediaRelayEx | connection: RtcConnection | int | 错误码索引 |
PlayEffectEx | connection: RtcConnection, soundId: int, filePath: string, loopCount: int, pitch: double, pan: double, gain: int, publish?: bool, startPos?: int | int | 错误码索引 |
PreloadEffectEx | connection: RtcConnection, soundId: int, filePath: string, startPos?: int | int | 错误码索引 |
RemoveVideoWatermarkEx | id: string, connection: RtcConnection | int | 错误码索引 |
ResumeAllChannelMediaRelayEx | connection: RtcConnection | int | 错误码索引 |
SendCustomReportMessageEx | id: string, category: string, null: string, label: string, value: int, connection: RtcConnection | int | 错误码索引 |
SendStreamMessageEx | streamId: int, data: byte[], length: uint, connection: RtcConnection | int | 错误码索引 |
SetDualStreamModeEx | mode: SIMULCAST_STREAM_MODE, streamConfig: SimulcastStreamConfig, connection: RtcConnection | int | 错误码索引 |
SetRemoteRenderModeEx | uid: uint, renderMode: RENDER_MODE_TYPE, mirrorMode: VIDEO_MIRROR_MODE_TYPE, connection: RtcConnection | int | 错误码索引 |
SetRemoteVideoStreamTypeEx | uid: uint, streamType: VIDEO_STREAM_TYPE, connection: RtcConnection | int | 错误码索引 |
SetRemoteVideoSubscriptionOptionsEx | uid: uint, options: VideoSubscriptionOptions, connection: RtcConnection | int | 错误码索引 |
SetRemoteVoicePositionEx | uid: uint, pan: double, gain: double, connection: RtcConnection | int | 错误码索引 |
SetSubscribeAudioAllowlistEx | uidList: unknown, uidNumber: unknown, connection: unknown | unknown | 错误码索引 |
SetSubscribeAudioBlocklistEx | uidList: uint[], uidNumber: int, connection: RtcConnection | int | 错误码索引 |
SetSubscribeVideoAllowlistEx | uidList: uint[], uidNumber: int, connection: RtcConnection | int | 错误码索引 |
SetSubscribeVideoBlocklistEx | uidList: uint[], uidNumber: int, connection: RtcConnection | int | 错误码索引 |
SetVideoEncoderConfigurationEx | config: VideoEncoderConfiguration, connection: RtcConnection | int | 错误码索引 |
SetupRemoteVideoEx | canvas: VideoCanvas, connection: RtcConnection | int | 错误码索引 |
StartMediaRenderingTracingEx | connection: RtcConnection | int | 错误码索引 |
StartOrUpdateChannelMediaRelayEx | configuration: ChannelMediaRelayConfiguration, connection: RtcConnection | int | 错误码索引 |
StartRtmpStreamWithTranscodingEx | url: string, transcoding: LiveTranscoding, connection: RtcConnection | int | 错误码索引 |
StartRtmpStreamWithoutTranscodingEx | url: string, connection: RtcConnection | int | 错误码索引 |
StopChannelMediaRelayEx | connection: RtcConnection | int | 错误码索引 |
StopRtmpStreamEx | url: string, connection: RtcConnection | int | 错误码索引 |
TakeSnapshotEx | connection: RtcConnection, uid: uint, filePath: string | int | 错误码索引 |
UpdateChannelMediaOptionsEx | options: ChannelMediaOptions, connection: RtcConnection | int | 错误码索引 |
UpdateRtmpTranscodingEx | transcoding: LiveTranscoding, connection: RtcConnection | int | 错误码索引 |
IVideoDeviceManager 5 方法 / 0 属性
EnumerateVideoDevices(): DeviceInfo[]
GetCapability(deviceIdUTF8: string, deviceCapabilityNumber: uint, capability: VideoFormat): int
GetDevice(deviceIdUTF8: string): int
NumberOfCapabilities(deviceIdUTF8: string): int
SetDevice(deviceIdUTF8: string): int方法明细:5 / 5(参数、返回值、错误码)
IVideoEffectObject 9 方法 / 0 属性
AddOrUpdateVideoEffect(nodeId: uint, templateName: string): int
GetVideoEffectBoolParam(option: string, key: string): bool
GetVideoEffectFloatParam(option: string, key: string): float
GetVideoEffectIntParam(option: string, key: string): int
PerformVideoEffectAction(nodeId: uint, actionId: VIDEO_EFFECT_ACTION): int
RemoveVideoEffect(nodeId: uint): int
SetVideoEffectBoolParam(option: string, key: string, param: bool): int
SetVideoEffectFloatParam(option: string, key: string, param: float): int
SetVideoEffectIntParam(option: string, key: string, param: int): int方法明细:9 / 9(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
AddOrUpdateVideoEffect | nodeId: uint, templateName: string | int | 错误码索引 |
GetVideoEffectBoolParam | option: string, key: string | bool | 错误码索引 |
GetVideoEffectFloatParam | option: string, key: string | float | 错误码索引 |
GetVideoEffectIntParam | option: string, key: string | int | 错误码索引 |
PerformVideoEffectAction | nodeId: uint, actionId: VIDEO_EFFECT_ACTION | int | 错误码索引 |
RemoveVideoEffect | nodeId: uint | int | 错误码索引 |
SetVideoEffectBoolParam | option: string, key: string, param: bool | int | 错误码索引 |
SetVideoEffectFloatParam | option: string, key: string, param: float | int | 错误码索引 |
SetVideoEffectIntParam | option: string, key: string, param: int | int | 错误码索引 |
IVideoEncodedFrameObserver 1 方法 / 0 属性
OnEncodedVideoFrameReceived(channelId: string, uid: uint, imageBufferPtr: IntPtr, length: UInt64, videoEncodedFrameInfo: EncodedVideoFrameInfo): bool方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
OnEncodedVideoFrameReceived | channelId: string, uid: uint, imageBufferPtr: IntPtr, length: UInt64, videoEncodedFrameInfo: EncodedVideoFrameInfo | bool | 错误码索引 |
IVideoFrameObserver 3 方法 / 0 属性
OnCaptureVideoFrame(sourceType: VIDEO_SOURCE_TYPE, videoFrame: VideoFrame): bool
OnPreEncodeVideoFrame(sourceType: VIDEO_SOURCE_TYPE, videoFrame: VideoFrame): bool
OnRenderVideoFrame(channelId: string, remoteUid: uint, videoFrame: VideoFrame): bool方法明细:3 / 3(参数、返回值、错误码)
LastmileProbeConfig 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
probeUplink | bool | 否 |
probeDownlink | bool | 否 |
expectedUplinkBitrate | uint | 否 |
expectedDownlinkBitrate | uint | 否 |
LastmileProbeOneWayResult 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
packetLossRate | uint | 否 |
jitter | uint | 否 |
availableBandwidth | uint | 否 |
LastmileProbeResult 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
state | LASTMILE_PROBE_RESULT_STATE | 否 |
uplinkReport | LastmileProbeOneWayResult | 否 |
downlinkReport | LastmileProbeOneWayResult | 否 |
rtt | uint | 否 |
LeaveChannelOptions 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
stopAudioMixing | bool | 否 |
stopAllEffect | bool | 否 |
stopMicrophoneRecording | bool | 否 |
LiveStreamAdvancedFeature 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
featureName | string | 否 |
opened | bool | 否 |
LiveTranscoding 0 方法 / 23 属性
| 属性 | 类型 | 只读 |
|---|---|---|
width | int | 否 |
height | int | 否 |
videoBitrate | int | 否 |
videoFramerate | int | 否 |
lowLatency | bool | 否 |
videoGop | int | 否 |
videoCodecProfile | VIDEO_CODEC_PROFILE_TYPE | 否 |
videoCodecType | VIDEO_CODEC_TYPE_FOR_STREAM | 否 |
transcodingUsers | TranscodingUser[] | 否 |
transcodingExtraInfo | string | 否 |
backgroundColor | uint | 否 |
userCount | uint | 否 |
metadata | string | 否 |
watermark | RtcImage[] | 否 |
backgroundImage | RtcImage[] | 否 |
audioSampleRate | AUDIO_SAMPLE_RATE_TYPE | 否 |
audioBitrate | int | 否 |
audioChannels | int | 否 |
audioCodecProfile | AUDIO_CODEC_PROFILE_TYPE | 否 |
watermarkCount | uint | 否 |
backgroundImageCount | uint | 否 |
advancedFeatures | LiveStreamAdvancedFeature[] | 否 |
advancedFeatureCount | uint | 否 |
LocalAccessPointConfiguration 0 方法 / 7 属性
| 属性 | 类型 | 只读 |
|---|---|---|
ipList | string[] | 否 |
ipListSize | int | 否 |
domainList | string[] | 否 |
domainListSize | int | 否 |
verifyDomainName | string | 否 |
mode | LOCAL_PROXY_MODE | 否 |
advancedConfig | AdvancedConfigInfo | 否 |
LocalAudioMixerConfiguration 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
streamCount | uint | 否 |
audioInputStreams | MixedAudioStream[] | 否 |
syncWithLocalMic | unknown | 否 |
LocalAudioStats 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
numChannels | int | 否 |
sentSampleRate | int | 否 |
sentBitrate | unknown | 否 |
txPacketLossRate | ushort | 否 |
internalCodec | int sentBitrate int | 否 |
audioDeviceDelay | int | 否 |
earMonitorDelay | unknown | 否 |
aecEstimatedDelay | int audioPlayoutDelay int earMonitorDelay int | 否 |
LocalSpatialAudioConfig 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
rtcEngine | IRtcEngine | 否 |
LocalTranscoderConfiguration 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
streamCount | uint | 否 |
videoInputStreams | TranscodingVideoStream[] | 否 |
videoOutputConfiguration | VideoEncoderConfiguration | 否 |
LocalVideoStats 0 方法 / 22 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
sentBitrate | int | 否 |
sentFrameRate | int | 否 |
captureFrameRate | int | 否 |
captureFrameWidth | int | 否 |
captureFrameHeight | int | 否 |
regulatedCaptureFrameRate | int | 否 |
regulatedCaptureFrameWidth | int | 否 |
regulatedCaptureFrameHeight | int | 否 |
encoderOutputFrameRate | int | 否 |
rendererOutputFrameRate | int | 否 |
targetBitrate | int | 否 |
targetFrameRate | int | 否 |
qualityAdaptIndication | QUALITY_ADAPT_INDICATION | 否 |
encodedBitrate | int | 否 |
encodedFrameHeight | int | 否 |
encodedFrameWidth | int | 否 |
encodedFrameCount | int | 否 |
codecType | VIDEO_CODEC_TYPE | 否 |
txPacketLossRate | ushort | 否 |
captureBrightnessLevel | CAPTURE_BRIGHTNESS_LEVEL_TYPE | 否 |
hwEncoderAccelerating | int | 否 |
LogConfig 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
filePath | string | 否 |
fileSizeInKB | uint | 否 |
level | LOG_LEVEL | 否 |
LogUploadServerInfo 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
serverDomain | unknown | 否 |
serverPath | unknown | 否 |
serverPort | unknown | 否 |
serverHttps | unknown | 否 |
LowlightEnhanceOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
level | LOW_LIGHT_ENHANCE_LEVEL | 否 |
mode | LOW_LIGHT_ENHANCE_MODE | 否 |
MediaRecorderConfiguration 0 方法 / 11 属性
| 属性 | 类型 | 只读 |
|---|---|---|
storagePath | string | 否 |
containerFormat | MediaRecorderContainerFormat | 否 |
streamType | MediaRecorderStreamType | 否 |
maxDurationMs | int | 否 |
recorderInfoUpdateInterval | int | 否 |
width | int | 否 |
height | int | 否 |
fps | int | 否 |
sample_rate | int | 否 |
channel_num | int | 否 |
videoSourceType | VIDEO_SOURCE_TYPE | 否 |
MediaSource 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
url | string | 否 |
uri | string | 否 |
startPos | int64_t | 否 |
autoPlay | bool | 否 |
enableCache | bool | 否 |
enableMultiAudioTrack | unknown | 否 |
isAgoraSource | Optional | 否 |
isLiveSource | Optional | 否 |
provider | IMediaPlayerCustomDataProvider | 否 |
Metadata 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | string | 否 |
uid | uint | 否 |
size | uint | 否 |
buffer | IntPtr | 否 |
timeStampMs | long | 否 |
MultipathStats 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
lanTxBytes | uint | 否 |
lanRxBytes | uint | 否 |
wifiTxBytes | uint | 否 |
wifiRxBytes | uint | 否 |
mobileTxBytes | uint | 否 |
mobileRxBytes | uint | 否 |
activePathNum | int | 否 |
pathStats | PathStats[] | 否 |
Music 0 方法 / 12 属性
| 属性 | 类型 | 只读 |
|---|---|---|
songCode | Int64 | 否 |
name | string | 否 |
singer | string | 否 |
poster | string | 否 |
releaseTime | string | 否 |
type | int | 否 |
pitchType | int | 否 |
durationS | int | 否 |
lyricList | int[] | 否 |
climaxSegmentList | ClimaxSegment[] | 否 |
lyricCount | int | 否 |
climaxSegmentCount | int | 否 |
MusicCacheInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
songCode | Int64 | 否 |
status | MUSIC_CACHE_STATUS_TYPE | 否 |
MusicChartInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
chartName | string | 否 |
id | int | 否 |
MusicCollection 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
count | int | 否 |
total | int | 否 |
page | int | 否 |
pageSize | int | 否 |
musicList | unknown | 否 |
MusicContentCenterConfiguration 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
appId | string | 否 |
token | string | 否 |
mccUid | UInt64 | 否 |
maxCacheSize | UInt32 | 否 |
PathStats 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | MultipathType | 否 |
txKBitRate | int | 否 |
rxKBitRate | int | 否 |
PlayerPlaybackStats 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
videoFps | int | 否 |
videoBitrateInKbps | int | 否 |
audioBitrateInKbps | int | 否 |
totalBitrateInKbps | int | 否 |
PlayerStreamInfo 0 方法 / 13 属性
| 属性 | 类型 | 只读 |
|---|---|---|
streamIndex | int | 否 |
streamType | MEDIA_STREAM_TYPE | 否 |
codecName | string | 否 |
language | string | 否 |
videoFrameRate | int | 否 |
videoBitRate | int | 否 |
videoWidth | int | 否 |
videoHeight | int | 否 |
videoRotation | int | 否 |
audioSampleRate | int | 否 |
audioChannels | int | 否 |
audioBitsPerSample | int | 否 |
duration | int64_t | 否 |
PlayerUpdatedInfo 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
deviceId | Optional | 否 |
videoHeight | unknown | 否 |
videoWidth | unknown | 否 |
audioSampleRate | unknown | 否 |
audioChannels | unknown | 否 |
audioBitsPerSample | unknown | 否 |
RecorderInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
fileName | string | 否 |
durationMs | uint | 否 |
fileSize | uint | 否 |
RecorderStreamInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | string | 否 |
uid | uint | 否 |
type | RecorderStreamType | 否 |
Rectangle 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
x | int | 否 |
y | int | 否 |
width | int | 否 |
height | int | 否 |
RemoteAudioStats 0 方法 / 16 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
quality | int | 否 |
networkTransportDelay | int | 否 |
jitterBufferDelay | int | 否 |
audioLossRate | int | 否 |
numChannels | int | 否 |
receivedSampleRate | int | 否 |
receivedBitrate | int | 否 |
totalFrozenTime | int | 否 |
frozenRate | int | 否 |
totalActiveTime | int | 否 |
publishDuration | int | 否 |
qoeQuality | int | 否 |
qualityChangedReason | int | 否 |
mosValue | int | 否 |
e2eDelay | int | 否 |
RemoteVideoStats 0 方法 / 17 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
delay | int | 否 |
e2eDelay | int | 否 |
width | int | 否 |
height | int | 否 |
receivedBitrate | int | 否 |
decoderOutputFrameRate | int | 否 |
rendererOutputFrameRate | int | 否 |
frameLossRate | int | 否 |
packetLossRate | int | 否 |
rxStreamType | VIDEO_STREAM_TYPE | 否 |
totalFrozenTime | int | 否 |
frozenRate | int | 否 |
totalActiveTime | int | 否 |
publishDuration | int | 否 |
avSyncTimeMs | int | 否 |
mosValue | int | 否 |
RemoteVoicePositionInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
position | float[] | 否 |
forward | float[] | 否 |
RtcConnection 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | string | 否 |
localUid | uint | 否 |
RtcEngineContext 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
eventHandler | unknown | 否 |
appId | string | 否 |
context | UInt64 | 否 |
channelProfile | CHANNEL_PROFILE_TYPE | 否 |
audioScenario | AUDIO_SCENARIO_TYPE | 否 |
areaCode | AREA_CODE | 否 |
logConfig | LogConfig | 否 |
domainLimit | bool | 否 |
autoRegisterAgoraExtensions | bool | 否 |
RtcImage 0 方法 / 7 属性
| 属性 | 类型 | 只读 |
|---|---|---|
url | string | 否 |
x | int | 否 |
y | int | 否 |
width | int | 否 |
height | int | 否 |
zOrder | int | 否 |
alpha | double | 否 |
RtcStats 0 方法 / 24 属性
| 属性 | 类型 | 只读 |
|---|---|---|
duration | uint | 否 |
txBytes | uint | 否 |
rxBytes | uint | 否 |
txAudioBytes | uint | 否 |
txVideoBytes | uint | 否 |
rxAudioBytes | uint | 否 |
rxVideoBytes | uint | 否 |
txKBitRate | ushort | 否 |
rxKBitRate | ushort | 否 |
rxAudioKBitRate | ushort | 否 |
txAudioKBitRate | ushort | 否 |
rxVideoKBitRate | ushort | 否 |
txVideoKBitRate | ushort | 否 |
lastmileDelay | ushort | 否 |
txPacketLossRate | int | 否 |
rxPacketLossRate | int | 否 |
userCount | uint | 否 |
cpuAppUsage | double | 否 |
cpuTotalUsage | double | 否 |
connectTimeMs | int | 否 |
gatewayRtt | int | 否 |
memoryAppUsageRatio | double | 否 |
memoryTotalUsageRatio | double | 否 |
memoryAppUsageInKbytes | int | 否 |
ScreenAudioParameters 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
sampleRate | int | 否 |
channels | int | 否 |
captureSignalVolume | int | 否 |
ScreenCaptureConfiguration 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
isCaptureWindow | bool | 否 |
displayId | long | 否 |
screenRect | Rectangle | 否 |
windowId | long | 否 |
parameters | unknown | 否 |
regionRect | Rectangle | 否 |
ScreenCaptureParameters 0 方法 / 10 属性
| 属性 | 类型 | 只读 |
|---|---|---|
dimensions | VideoDimensions | 否 |
frameRate | int | 否 |
bitrate | int | 否 |
captureMouseCursor | bool | 否 |
windowFocus | bool | 否 |
excludeWindowList | view_t[] | 否 |
enableHighLight | bool | 否 |
highLightColor | uint | 否 |
highLightWidth | int | 否 |
excludeWindowCount | int | 否 |
ScreenCaptureParameters2 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
captureAudio | bool | 否 |
audioParams | ScreenAudioParameters | 否 |
captureVideo | bool | 否 |
videoParams | ScreenVideoParameters | 否 |
ScreenCaptureSourceInfo 0 方法 / 10 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | ScreenCaptureSourceType | 否 |
sourceId | long | 否 |
sourceName | string | 否 |
thumbImage | ThumbImageBuffer | 否 |
iconImage | ThumbImageBuffer | 否 |
processPath | string | 否 |
sourceTitle | string | 否 |
primaryMonitor | bool | 否 |
position | Rectangle | 否 |
sourceDisplayId | long | 否 |
ScreenVideoParameters 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
dimensions | VideoDimensions | 否 |
frameRate | int | 否 |
bitrate | int | 否 |
contentHint | VIDEO_CONTENT_HINT | 否 |
SegmentationProperty 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
modelType | SEG_MODEL_TYPE | 否 |
greenCapacity | float | 否 |
screenColorType | SCREEN_COLOR_TYPE | 否 |
SimulcastStreamConfig 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
dimensions | VideoDimensions | 否 |
kBitrate | int | 否 |
framerate | int | 否 |
SnapshotConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
filePath | string | 否 |
position | VIDEO_MODULE_POSITION | 否 |
SpatialAudioParams 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
speaker_azimuth | Optional | 否 |
speaker_elevation | Optional | 否 |
speaker_distance | Optional | 否 |
speaker_orientation | Optional | 否 |
enable_blur | Optional | 否 |
enable_air_absorb | Optional | 否 |
speaker_attenuation | Optional | 否 |
enable_doppler | Optional | 否 |
SpatialAudioZone 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
zoneSetId | int | 否 |
position | float[] | 否 |
forward | float[] | 否 |
right | float[] | 否 |
up | float[] | 否 |
forwardLength | float | 否 |
rightLength | float | 否 |
upLength | float | 否 |
audioAttenuation | float | 否 |
SrcInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
bitrateInKbps | int | 否 |
name | string | 否 |
ThumbImageBuffer 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
buffer | Int64 | 否 |
length | uint | 否 |
width | uint | 否 |
height | uint | 否 |
TranscodingUser 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
x | int | 否 |
y | int | 否 |
width | int | 否 |
height | int | 否 |
zOrder | int | 否 |
alpha | double | 否 |
audioChannel | int | 否 |
TranscodingVideoStream 0 方法 / 11 属性
| 属性 | 类型 | 只读 |
|---|---|---|
sourceType | VIDEO_SOURCE_TYPE | 否 |
remoteUserUid | uint | 否 |
imageUrl | string | 否 |
mediaPlayerId | int | 否 |
x | int | 否 |
y | int | 否 |
width | int | 否 |
height | int | 否 |
zOrder | int | 否 |
alpha | double | 否 |
mirror | bool | 否 |
UplinkNetworkInfo 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
video_encoder_target_bitrate_bps | int | 否 |
UserAudioSpectrumInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
spectrumData | AudioSpectrumData | 否 |
UserInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
userAccount | string | 否 |
VideoCanvas 0 方法 / 12 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | uint | 否 |
subviewUid | uint | 否 |
view | view_t | 否 |
renderMode | RENDER_MODE_TYPE | 否 |
mirrorMode | VIDEO_MIRROR_MODE_TYPE | 否 |
sourceType | VIDEO_SOURCE_TYPE | 否 |
setupMode | VIDEO_VIEW_SETUP_MODE | 否 |
mediaPlayerId | int | 否 |
cropArea | Rectangle | 否 |
backgroundColor | uint | 否 |
enableAlphaMask | bool | 否 |
position | VIDEO_MODULE_POSITION | 否 |
VideoDenoiserOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
level | VIDEO_DENOISER_LEVEL | 否 |
mode | VIDEO_DENOISER_MODE | 否 |
VideoDimensions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
width | int | 否 |
height | int | 否 |
VideoEncoderConfiguration 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
dimensions | VideoDimensions | 否 |
codecType | VIDEO_CODEC_TYPE | 否 |
frameRate | int | 否 |
bitrate | int | 否 |
minBitrate | int | 否 |
orientationMode | ORIENTATION_MODE | 否 |
degradationPreference | DEGRADATION_PREFERENCE | 否 |
mirrorMode | VIDEO_MIRROR_MODE_TYPE | 否 |
advanceOptions | AdvanceOptions | 否 |
VideoFormat 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
width | unknown | 否 |
height | unknown | 否 |
fps | unknown | 否 |
VideoFrame 0 方法 / 22 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | VIDEO_PIXEL_FORMAT | 否 |
width | int | 否 |
height | int | 否 |
yStride | int | 否 |
uStride | int | 否 |
vStride | int | 否 |
yBuffer | byte[] | 否 |
uBuffer | byte[] | 否 |
vBuffer | byte[] | 否 |
rotation | int | 否 |
renderTimeMs | long | 否 |
avsync_type | int | 否 |
metadata_buffer | IntPtr | 否 |
metadata_size | int | 否 |
sharedContext | IntPtr | 否 |
textureId | int | 否 |
d3d11Texture2d | IntPtr | 否 |
matrix | float[] | 否 |
colorSpace | ColorSpace | 否 |
alphaBuffer | byte[] | 否 |
alphaStitchMode | ALPHA_STITCH_MODE | 否 |
metaInfo | IVideoFrameMetaInfo | 否 |
VideoFrameBufferConfig 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | VIDEO_SOURCE_TYPE | 否 |
id | uint | 否 |
key | string | 否 |
VideoLayout 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | string | 否 |
uid | uint | 否 |
strUid | string | 否 |
x | uint | 否 |
y | unknown | 否 |
width | uint y uint | 否 |
height | uint | 否 |
videoState | uint | 否 |
VideoRenderingTracingInfo 0 方法 / 7 属性
| 属性 | 类型 | 只读 |
|---|---|---|
elapsedTime | int | 否 |
start2JoinChannel | int | 否 |
join2JoinSuccess | int | 否 |
joinSuccess2RemoteJoined | int | 否 |
remoteJoined2SetView | int | 否 |
remoteJoined2UnmuteVideo | int | 否 |
remoteJoined2PacketReceived | int | 否 |
VideoSubscriptionOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | Optional | 否 |
encodedFrameOnly | Optional | 否 |
VideoSurface 3 方法 / 0 属性
OnTextureSizeModify(): unknown
SetEnable(enable: bool): void
SetForUser(uid?: uint, channelId?: string, source_type?: VIDEO_SOURCE_TYPE): void方法明细:3 / 3(参数、返回值、错误码)
VirtualBackgroundSource 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
background_source_type | BACKGROUND_SOURCE_TYPE | 否 |
color | uint | 否 |
source | string | 否 |
blur_degree | BACKGROUND_BLUR_DEGREE | 否 |
WatermarkBuffer 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
width | int | 否 |
height | int | 否 |
length | int | 否 |
format | VIDEO_PIXEL_FORMAT | 否 |
buffer | IntPtr | 否 |
WatermarkConfig 0 方法 / 7 属性
| 属性 | 类型 | 只读 |
|---|---|---|
id | string | 否 |
type | WATERMARK_SOURCE_TYPE | 否 |
buffer | WatermarkBuffer | 否 |
timestamp | WatermarkTimestamp | 否 |
literal | WatermarkLiteral | 否 |
imageUrl | string | 否 |
options | WatermarkOptions | 否 |
WatermarkLiteral 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
fontSize | int | 否 |
strokeWidth | int | 否 |
wmLiteral | string | 否 |
fontFilePath | string | 否 |
WatermarkOptions 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
visibleInPreview | bool | 否 |
positionInLandscapeMode | Rectangle | 否 |
positionInPortraitMode | Rectangle | 否 |
watermarkRatio | WatermarkRatio | 否 |
mode | WATERMARK_FIT_MODE | 否 |
zOrder | int | 否 |
WatermarkRatio 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
xRatio | float | 否 |
yRatio | float | 否 |
widthRatio | float | 否 |
WatermarkTimestamp 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
fontSize | int | 否 |
fontFilePath | string | 否 |
strokeWidth | int | 否 |
format | string | 否 |
枚举
| 枚举 | 成员数 | 示例值 |
|---|---|---|
ALPHA_STITCH_MODE | 5 | NO_ALPHA_STITCH = 0 |
AREA_CODE | 7 | AREA_CODE_CN = null |
AUDIENCE_LATENCY_LEVEL_TYPE | 2 | AUDIENCE_LATENCY_LEVEL_LOW_LATENCY = 1 |
AUDIO_AINS_MODE | 3 | AINS_MODE_BALANCED = 0 |
AUDIO_CODEC_PROFILE_TYPE | 3 | AUDIO_CODEC_PROFILE_LC_AAC = 0 |
AUDIO_CODEC_TYPE | 8 | AUDIO_CODEC_OPUS = 1 |
AUDIO_DUAL_MONO_MODE | 4 | AUDIO_DUAL_MONO_STEREO = 0 |
AUDIO_EFFECT_PRESET | 21 | AUDIO_EFFECT_OFF = null |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION | 3 | AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD = 1 |
AUDIO_ENCODING_TYPE | 11 | AUDIO_ENCODING_TYPE_AAC_16000_LOW = 65793 |
AUDIO_EQUALIZATION_BAND_FREQUENCY | 10 | AUDIO_EQUALIZATION_BAND_31 = 0 |
AUDIO_FILE_RECORDING_TYPE | 3 | AUDIO_FILE_RECORDING_MIC = 1 |
AUDIO_FRAME_TYPE | 1 | FRAME_TYPE_PCM16 = 0 |
AUDIO_MIXING_DUAL_MONO_MODE | 4 | AUDIO_MIXING_DUAL_MONO_AUTO = 0 |
AUDIO_MIXING_REASON_TYPE | 7 | AUDIO_MIXING_REASON_OK = 0 |
AUDIO_MIXING_STATE_TYPE | 4 | AUDIO_MIXING_STATE_PLAYING = 710 |
AUDIO_PROCESSING_CHANNELS | 2 | AUDIO_PROCESSING_MONO = 1 |
AUDIO_PROFILE_TYPE | 8 | AUDIO_PROFILE_DEFAULT = 0 |
AUDIO_RECORDING_QUALITY_TYPE | 4 | AUDIO_RECORDING_QUALITY_LOW = 0 |
AUDIO_REVERB_TYPE | 5 | AUDIO_REVERB_DRY_LEVEL = 0 |
AUDIO_SAMPLE_RATE_TYPE | 3 | AUDIO_SAMPLE_RATE_32000 = 32000 |
AUDIO_SCENARIO_TYPE | 7 | AUDIO_SCENARIO_DEFAULT = 0 |
AUDIO_SESSION_OPERATION_RESTRICTION | 5 | AUDIO_SESSION_OPERATION_RESTRICTION_NONE = 0 |
AUDIO_SOURCE_TYPE | 7 | AUDIO_SOURCE_MICROPHONE = 0 |
AUDIO_TRACK_TYPE | 2 | AUDIO_TRACK_MIXABLE = 0 |
AudioRoute | 12 | ROUTE_DEFAULT = -1 |
BACKGROUND_BLUR_DEGREE | 3 | BLUR_DEGREE_LOW = 1 |
BACKGROUND_SOURCE_TYPE | 5 | BACKGROUND_NONE = 0 |
BITRATE | 2 | STANDARD_BITRATE = 0 |
CAMERA_DIRECTION | 2 | CAMERA_REAR = 0 |
CAMERA_FOCAL_LENGTH_TYPE | 4 | CAMERA_FOCAL_LENGTH_DEFAULT = 0 |
CAMERA_STABILIZATION_MODE | 5 | CAMERA_STABILIZATION_MODE_OFF = -1 |
CAPTURE_BRIGHTNESS_LEVEL_TYPE | 4 | CAPTURE_BRIGHTNESS_LEVEL_INVALID = -1 |
CHANNEL_MEDIA_RELAY_ERROR | 12 | RELAY_OK = 0 |
CHANNEL_MEDIA_RELAY_STATE | 4 | RELAY_STATE_IDLE = 0 |
CHANNEL_PROFILE_TYPE | 4 | CHANNEL_PROFILE_COMMUNICATION = 0 |
CLIENT_ROLE_CHANGE_FAILED_REASON | 4 | CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS = 1 |
CLIENT_ROLE_TYPE | 2 | CLIENT_ROLE_BROADCASTER = 1 |
CLOUD_PROXY_TYPE | 3 | NONE_PROXY = 0 |
CODEC_CAP_MASK | 5 | CODEC_CAP_MASK_NONE = 0 |
COMPRESSION_PREFERENCE | 3 | PREFER_COMPRESSION_AUTO = -1 |
CONNECTION_CHANGED_REASON_TYPE | 21 | CONNECTION_CHANGED_CONNECTING = 0 |
CONNECTION_STATE_TYPE | 5 | CONNECTION_STATE_DISCONNECTED = 1 |
CONTENT_INSPECT_TYPE | 3 | CONTENT_INSPECT_INVALID = 0 |
DEGRADATION_PREFERENCE | 5 | MAINTAIN_AUTO = -1 |
EAR_MONITORING_FILTER_TYPE | 4 | EAR_MONITORING_FILTER_NONE = null |
ENCODING_PREFERENCE | 3 | PREFER_AUTO = -1 |
ENCRYPTION_ERROR_TYPE | 5 | ENCRYPTION_ERROR_INTERNAL_FAILURE = 0 |
ENCRYPTION_MODE | 9 | AES_128_XTS = 1 |
ERROR_CODE_TYPE | 48 | ERR_OK = 0 |
EXPERIENCE_POOR_REASON | 5 | EXPERIENCE_REASON_NONE = 0 |
EXPERIENCE_QUALITY_TYPE | 2 | EXPERIENCE_QUALITY_GOOD = 0 |
EXTERNAL_VIDEO_SOURCE_TYPE | 2 | VIDEO_FRAME = 0 |
FACE_SHAPE_AREA | 30 | FACE_SHAPE_AREA_NONE = -1 |
FACE_SHAPE_BEAUTY_STYLE | 3 | FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0 |
FeatureType | 2 | VIDEO_VIRTUAL_BACKGROUND = 1 |
FRAME_RATE | 7 | FRAME_RATE_FPS_1 = 1 |
HEADPHONE_EQUALIZER_PRESET | 3 | HEADPHONE_EQUALIZER_OFF = null |
LASTMILE_PROBE_RESULT_STATE | 3 | LASTMILE_PROBE_RESULT_COMPLETE = 1 |
LIGHTENING_CONTRAST_LEVEL | 3 | LIGHTENING_CONTRAST_LOW = 0 |
LOCAL_AUDIO_STREAM_REASON | 11 | LOCAL_AUDIO_STREAM_REASON_OK = 0 |
LOCAL_AUDIO_STREAM_STATE | 4 | LOCAL_AUDIO_STREAM_STATE_STOPPED = 0 |
LOCAL_PROXY_MODE | 2 | kConnectivityFirst = 0 |
LOCAL_VIDEO_EVENT_TYPE | 4 | LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_WINDOW_HIDDEN = 1 |
LOCAL_VIDEO_STREAM_REASON | 27 | LOCAL_VIDEO_STREAM_REASON_OK = 0 |
LOCAL_VIDEO_STREAM_STATE | 4 | LOCAL_VIDEO_STREAM_STATE_STOPPED = 0 |
LOG_LEVEL | 5 | LOG_LEVEL_NONE = 0 |
LOW_LIGHT_ENHANCE_LEVEL | 2 | LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY = 0 |
LOW_LIGHT_ENHANCE_MODE | 2 | LOW_LIGHT_ENHANCE_AUTO = 0 |
MAX_USER_ACCOUNT_LENGTH_TYPE | 1 | MAX_USER_ACCOUNT_LENGTH = null |
MEDIA_DEVICE_STATE_TYPE | 6 | MEDIA_DEVICE_STATE_IDLE = 0 |
MEDIA_DEVICE_TYPE | 8 | UNKNOWN_AUDIO_DEVICE = -1 |
MEDIA_PLAYER_EVENT | 14 | PLAYER_EVENT_SEEK_BEGIN = 0 |
MEDIA_PLAYER_METADATA_TYPE | 2 | PLAYER_METADATA_TYPE_UNKNOWN = 0 |
MEDIA_PLAYER_REASON | 17 | PLAYER_REASON_NONE = 0 |
MEDIA_PLAYER_STATE | 9 | PLAYER_STATE_IDLE = 0 |
MEDIA_SOURCE_TYPE | 7 | AUDIO_PLAYOUT_SOURCE = 0 |
MEDIA_STREAM_TYPE | 4 | STREAM_TYPE_UNKNOWN = 0 |
MEDIA_TRACE_EVENT | 2 | MEDIA_TRACE_EVENT_VIDEO_RENDERED = 0 |
MediaRecorderContainerFormat | 1 | FORMAT_MP4 = 1 |
MediaRecorderStreamType | 3 | STREAM_TYPE_AUDIO = 1 |
METADATA_TYPE | 2 | UNKNOWN_METADATA = -1 |
MultipathMode | 1 | Duplicate = 0 |
MultipathType | 4 | LAN = 0 |
MUSIC_CACHE_STATUS_TYPE | 2 | MUSIC_CACHE_STATUS_TYPE_CACHED = 0 |
MusicContentCenterStateReason | 8 | kMusicContentCenterReasonOk = 0 |
MusicPlayMode | 3 | kMusicPlayModeOriginal = 0 |
NETWORK_TYPE | 8 | NETWORK_TYPE_UNKNOWN = -1 |
OBSERVER_MODE | 2 | RAW_DATA = null |
ORIENTATION_MODE | 3 | ORIENTATION_MODE_ADAPTIVE = 0 |
PERMISSION_TYPE | 3 | RECORD_AUDIO = 0 |
PLAYER_PRELOAD_EVENT | 3 | PLAYER_PRELOAD_EVENT_BEGIN = 0 |
PreloadState | 4 | kPreloadStateCompleted = 0 |
PROXY_TYPE | 5 | NONE_PROXY_TYPE = 0 |
QUALITY_ADAPT_INDICATION | 3 | ADAPT_NONE = 0 |
QUALITY_TYPE | 8 | QUALITY_UNKNOWN = 0 |
RAW_AUDIO_FRAME_OP_MODE_TYPE | 2 | RAW_AUDIO_FRAME_OP_MODE_READ_ONLY = 0 |
RecorderReasonCode | 5 | RECORDER_REASON_NONE = 0 |
RecorderState | 3 | RECORDER_STATE_ERROR = -1 |
RecorderStreamType | 2 | RTC = 0 |
REMOTE_AUDIO_STATE | 5 | REMOTE_AUDIO_STATE_STOPPED = 0 |
REMOTE_AUDIO_STATE_REASON | 8 | REMOTE_AUDIO_REASON_INTERNAL = 0 |
REMOTE_VIDEO_STATE | 5 | REMOTE_VIDEO_STATE_STOPPED = 0 |
REMOTE_VIDEO_STATE_REASON | 12 | REMOTE_VIDEO_STATE_REASON_INTERNAL = 0 |
RENDER_MODE_TYPE | 3 | RENDER_MODE_HIDDEN = 1 |
RENEW_TOKEN_ERROR_CODE | 7 | RENEW_TOKEN_SUCCESS = 0 |
RHYTHM_PLAYER_REASON | 5 | RHYTHM_PLAYER_REASON_OK = 0 |
RHYTHM_PLAYER_STATE_TYPE | 5 | RHYTHM_PLAYER_STATE_IDLE = 810 |
RTMP_STREAM_LIFE_CYCLE_TYPE | 2 | RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL = null |
RTMP_STREAM_PUBLISH_REASON | 16 | RTMP_STREAM_PUBLISH_REASON_OK = 0 |
RTMP_STREAM_PUBLISH_STATE | 6 | RTMP_STREAM_PUBLISH_STATE_IDLE = 0 |
RTMP_STREAMING_EVENT | 4 | RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE = 1 |
SCREEN_CAPTURE_FRAMERATE_CAPABILITY | 3 | SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS = 0 |
SCREEN_COLOR_TYPE | 3 | SCREEN_COLOR_AUTO = 0 |
SCREEN_SCENARIO_TYPE | 4 | SCREEN_SCENARIO_DOCUMENT = 1 |
ScreenCaptureSourceType | 4 | ScreenCaptureSourceType_Unknown = -1 |
SEG_MODEL_TYPE | 2 | SEG_MODEL_AI = 1 |
SIMULCAST_STREAM_MODE | 3 | AUTO_SIMULCAST_STREAM = -1 |
STREAM_FALLBACK_OPTIONS | 3 | STREAM_FALLBACK_OPTION_DISABLED = 0 |
STREAM_PUBLISH_STATE | 4 | PUB_STATE_IDLE = 0 |
STREAM_SUBSCRIBE_STATE | 4 | SUB_STATE_IDLE = 0 |
USER_OFFLINE_REASON_TYPE | 3 | USER_OFFLINE_QUIT = 0 |
VIDEO_APPLICATION_SCENARIO_TYPE | 4 | APPLICATION_SCENARIO_GENERAL = 0 |
VIDEO_BUFFER_TYPE | 3 | VIDEO_BUFFER_RAW_DATA = 1 |
VIDEO_CODEC_CAPABILITY_LEVEL | 5 | CODEC_CAPABILITY_LEVEL_UNSPECIFIED = -1 |
VIDEO_CODEC_PROFILE_TYPE | 3 | VIDEO_CODEC_PROFILE_BASELINE = 66 |
VIDEO_CODEC_TYPE | 6 | VIDEO_CODEC_NONE = 0 |
VIDEO_CODEC_TYPE_FOR_STREAM | 2 | VIDEO_CODEC_H264_FOR_STREAM = 1 |
VIDEO_CONTENT_HINT | 3 | CONTENT_HINT_NONE = null |
VIDEO_DENOISER_LEVEL | 2 | VIDEO_DENOISER_LEVEL_HIGH_QUALITY = 0 |
VIDEO_DENOISER_MODE | 2 | VIDEO_DENOISER_AUTO = 0 |
VIDEO_EFFECT_ACTION | 2 | SAVE = 1 |
VIDEO_EFFECT_NODE_ID | 3 | BEAUTY = 1 |
VIDEO_FRAME_TYPE | 6 | VIDEO_FRAME_TYPE_BLANK_FRAME = 0 |
VIDEO_MIRROR_MODE_TYPE | 3 | VIDEO_MIRROR_MODE_AUTO = 0 |
VIDEO_MODULE_POSITION | 4 | POSITION_POST_CAPTURER = 1 |
VIDEO_OBSERVER_FRAME_TYPE | 4 | FRAME_TYPE_DEFAULT = null |
VIDEO_ORIENTATION | 4 | VIDEO_ORIENTATION_0 = 0 |
VIDEO_PIXEL_FORMAT | 5 | VIDEO_PIXEL_DEFAULT = 0 |
VIDEO_SOURCE_TYPE | 19 | VIDEO_SOURCE_CAMERA_PRIMARY = 0 |
VIDEO_STREAM_TYPE | 8 | VIDEO_STREAM_HIGH = 0 |
VIDEO_TRANSCODER_ERROR | 6 | VT_ERR_VIDEO_SOURCE_NOT_READY = 1 |
VIDEO_VIEW_SETUP_MODE | 3 | VIDEO_VIEW_SETUP_REPLACE = 0 |
VOICE_AI_TUNER_TYPE | 10 | VOICE_AI_TUNER_MATURE_MALE = 0 |
VOICE_BEAUTIFIER_PRESET | 14 | VOICE_BEAUTIFIER_OFF = null |
VOICE_CONVERSION_PRESET | 5 | VOICE_CONVERSION_OFF = null |
WATERMARK_FIT_MODE | 2 | FIT_MODE_COVER_POSITION = 0 |
WATERMARK_SOURCE_TYPE | 4 | IMAGE = 0 |
ALPHA_STITCH_MODE 5 个成员
| 成员 | 值 |
|---|---|
NO_ALPHA_STITCH | 0 |
ALPHA_STITCH_UP | 1 |
ALPHA_STITCH_BELOW | 2 |
ALPHA_STITCH_LEFT | 3 |
ALPHA_STITCH_RIGHT | 4 |
AREA_CODE 7 个成员
| 成员 | 值 |
|---|---|
AREA_CODE_CN | null |
AREA_CODE_NA | null |
AREA_CODE_EU | null |
AREA_CODE_AS | null |
AREA_CODE_JP | null |
AREA_CODE_IN | null |
AREA_CODE_GLOB | null |
AUDIENCE_LATENCY_LEVEL_TYPE 2 个成员
| 成员 | 值 |
|---|---|
AUDIENCE_LATENCY_LEVEL_LOW_LATENCY | 1 |
AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY | 2 |
AUDIO_AINS_MODE 3 个成员
| 成员 | 值 |
|---|---|
AINS_MODE_BALANCED | 0 |
AINS_MODE_AGGRESSIVE | 1 |
AINS_MODE_ULTRALOWLATENCY | 2 |
AUDIO_CODEC_PROFILE_TYPE 3 个成员
| 成员 | 值 |
|---|---|
AUDIO_CODEC_PROFILE_LC_AAC | 0 |
AUDIO_CODEC_PROFILE_HE_AAC | 1 |
AUDIO_CODEC_PROFILE_HE_AAC_V2 | 2 |
AUDIO_CODEC_TYPE 8 个成员
| 成员 | 值 |
|---|---|
AUDIO_CODEC_OPUS | 1 |
AUDIO_CODEC_PCMA | 3 |
AUDIO_CODEC_PCMU | 4 |
AUDIO_CODEC_G722 | 5 |
AUDIO_CODEC_AACLC | 8 |
AUDIO_CODEC_HEAAC | 9 |
AUDIO_CODEC_JC1 | 10 |
AUDIO_CODEC_HEAAC2 | 11 |
AUDIO_DUAL_MONO_MODE 4 个成员
| 成员 | 值 |
|---|---|
AUDIO_DUAL_MONO_STEREO | 0 |
AUDIO_DUAL_MONO_L | 1 |
AUDIO_DUAL_MONO_R | 2 |
AUDIO_DUAL_MONO_MIX | 3 |
AUDIO_EFFECT_PRESET 21 个成员
| 成员 | 值 |
|---|---|
AUDIO_EFFECT_OFF | null |
ROOM_ACOUSTICS_KTV | null |
ROOM_ACOUSTICS_VOCAL_CONCERT | null |
ROOM_ACOUSTICS_STUDIO | null |
ROOM_ACOUSTICS_PHONOGRAPH | null |
ROOM_ACOUSTICS_VIRTUAL_STEREO | null |
ROOM_ACOUSTICS_SPACIAL | null |
ROOM_ACOUSTICS_ETHEREAL | null |
ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND | null |
ROOM_ACOUSTICS_CHORUS | null |
ROOM_ACOUSTICS_3D_VOICE | null |
VOICE_CHANGER_EFFECT_UNCLE | null |
VOICE_CHANGER_EFFECT_OLDMAN | null |
VOICE_CHANGER_EFFECT_BOY | null |
VOICE_CHANGER_EFFECT_SISTER | null |
VOICE_CHANGER_EFFECT_GIRL | null |
VOICE_CHANGER_EFFECT_PIGKING | null |
VOICE_CHANGER_EFFECT_HULK | null |
STYLE_TRANSFORMATION_RNB | null |
STYLE_TRANSFORMATION_POPULAR | null |
PITCH_CORRECTION | null |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION 3 个成员
| 成员 | 值 |
|---|---|
AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD | 1 |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK | 2 |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED | 3 |
AUDIO_ENCODING_TYPE 11 个成员
| 成员 | 值 |
|---|---|
AUDIO_ENCODING_TYPE_AAC_16000_LOW | 65793 |
AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM | 65794 |
AUDIO_ENCODING_TYPE_AAC_32000_LOW | 66049 |
AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM | 66050 |
AUDIO_ENCODING_TYPE_AAC_32000_HIGH | 66051 |
AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM | 66306 |
AUDIO_ENCODING_TYPE_AAC_48000_HIGH | 66307 |
AUDIO_ENCODING_TYPE_OPUS_16000_LOW | 131329 |
AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM | 131330 |
AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM | 131842 |
AUDIO_ENCODING_TYPE_OPUS_48000_HIGH | 131843 |
AUDIO_EQUALIZATION_BAND_FREQUENCY 10 个成员
| 成员 | 值 |
|---|---|
AUDIO_EQUALIZATION_BAND_31 | 0 |
AUDIO_EQUALIZATION_BAND_62 | 1 |
AUDIO_EQUALIZATION_BAND_125 | 2 |
AUDIO_EQUALIZATION_BAND_250 | 3 |
AUDIO_EQUALIZATION_BAND_500 | 4 |
AUDIO_EQUALIZATION_BAND_1K | 5 |
AUDIO_EQUALIZATION_BAND_2K | 6 |
AUDIO_EQUALIZATION_BAND_4K | 7 |
AUDIO_EQUALIZATION_BAND_8K | 8 |
AUDIO_EQUALIZATION_BAND_16K | 9 |
AUDIO_FILE_RECORDING_TYPE 3 个成员
| 成员 | 值 |
|---|---|
AUDIO_FILE_RECORDING_MIC | 1 |
AUDIO_FILE_RECORDING_PLAYBACK | 2 |
AUDIO_FILE_RECORDING_MIXED | 3 |
AUDIO_FRAME_TYPE 1 个成员
| 成员 | 值 |
|---|---|
FRAME_TYPE_PCM16 | 0 |
AUDIO_MIXING_DUAL_MONO_MODE 4 个成员
| 成员 | 值 |
|---|---|
AUDIO_MIXING_DUAL_MONO_AUTO | 0 |
AUDIO_MIXING_DUAL_MONO_L | 1 |
AUDIO_MIXING_DUAL_MONO_R | 2 |
AUDIO_MIXING_DUAL_MONO_MIX | 3 |
AUDIO_MIXING_REASON_TYPE 7 个成员
| 成员 | 值 |
|---|---|
AUDIO_MIXING_REASON_OK | 0 |
AUDIO_MIXING_REASON_CAN_NOT_OPEN | 701 |
AUDIO_MIXING_REASON_TOO_FREQUENT_CALL | 702 |
AUDIO_MIXING_REASON_INTERRUPTED_EOF | 703 |
AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED | 721 |
AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED | 723 |
AUDIO_MIXING_REASON_STOPPED_BY_USER | 724 |
AUDIO_MIXING_STATE_TYPE 4 个成员
| 成员 | 值 |
|---|---|
AUDIO_MIXING_STATE_PLAYING | 710 |
AUDIO_MIXING_STATE_PAUSED | 711 |
AUDIO_MIXING_STATE_STOPPED | 713 |
AUDIO_MIXING_STATE_FAILED | 714 |
AUDIO_PROCESSING_CHANNELS 2 个成员
| 成员 | 值 |
|---|---|
AUDIO_PROCESSING_MONO | 1 |
AUDIO_PROCESSING_STEREO | 2 |
AUDIO_PROFILE_TYPE 8 个成员
| 成员 | 值 |
|---|---|
AUDIO_PROFILE_DEFAULT | 0 |
AUDIO_PROFILE_SPEECH_STANDARD | 1 |
AUDIO_PROFILE_MUSIC_STANDARD | 2 |
AUDIO_PROFILE_MUSIC_STANDARD_STEREO | 3 |
AUDIO_PROFILE_MUSIC_HIGH_QUALITY | 4 |
AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO | 5 |
AUDIO_PROFILE_IOT | 6 |
AUDIO_PROFILE_NUM | null |
AUDIO_RECORDING_QUALITY_TYPE 4 个成员
| 成员 | 值 |
|---|---|
AUDIO_RECORDING_QUALITY_LOW | 0 |
AUDIO_RECORDING_QUALITY_MEDIUM | 1 |
AUDIO_RECORDING_QUALITY_HIGH | 2 |
AUDIO_RECORDING_QUALITY_ULTRA_HIGH | 3 |
AUDIO_REVERB_TYPE 5 个成员
| 成员 | 值 |
|---|---|
AUDIO_REVERB_DRY_LEVEL | 0 |
AUDIO_REVERB_WET_LEVEL | 1 |
AUDIO_REVERB_ROOM_SIZE | 2 |
AUDIO_REVERB_WET_DELAY | 3 |
AUDIO_REVERB_STRENGTH | 4 |
AUDIO_SAMPLE_RATE_TYPE 3 个成员
| 成员 | 值 |
|---|---|
AUDIO_SAMPLE_RATE_32000 | 32000 |
AUDIO_SAMPLE_RATE_44100 | 44100 |
AUDIO_SAMPLE_RATE_48000 | 48000 |
AUDIO_SCENARIO_TYPE 7 个成员
| 成员 | 值 |
|---|---|
AUDIO_SCENARIO_DEFAULT | 0 |
AUDIO_SCENARIO_GAME_STREAMING | 3 |
AUDIO_SCENARIO_CHATROOM | 5 |
AUDIO_SCENARIO_CHORUS | 7 |
AUDIO_SCENARIO_MEETING | 8 |
AUDIO_SCENARIO_AI_CLIENT | 10 |
AUDIO_SCENARIO_NUM | null |
AUDIO_SESSION_OPERATION_RESTRICTION 5 个成员
| 成员 | 值 |
|---|---|
AUDIO_SESSION_OPERATION_RESTRICTION_NONE | 0 |
AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY | 1 |
AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION | 2 |
AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION | 4 |
AUDIO_SESSION_OPERATION_RESTRICTION_ALL | 128 |
AUDIO_SOURCE_TYPE 7 个成员
| 成员 | 值 |
|---|---|
AUDIO_SOURCE_MICROPHONE | 0 |
AUDIO_SOURCE_CUSTOM | 1 |
AUDIO_SOURCE_MEDIA_PLAYER | 2 |
AUDIO_SOURCE_LOOPBACK_RECORDING | 3 |
AUDIO_SOURCE_REMOTE_USER | 5 |
AUDIO_SOURCE_REMOTE_CHANNEL | 6 |
AUDIO_SOURCE_UNKNOWN | 100 |
AUDIO_TRACK_TYPE 2 个成员
| 成员 | 值 |
|---|---|
AUDIO_TRACK_MIXABLE | 0 |
AUDIO_TRACK_DIRECT | 1 |
AudioRoute 12 个成员
| 成员 | 值 |
|---|---|
ROUTE_DEFAULT | -1 |
ROUTE_HEADSET | 0 |
ROUTE_EARPIECE | 1 |
ROUTE_HEADSETNOMIC | 2 |
ROUTE_SPEAKERPHONE | 3 |
ROUTE_LOUDSPEAKER | 4 |
ROUTE_BLUETOOTH_DEVICE_HFP | 5 |
ROUTE_USB | 6 |
ROUTE_HDMI | 7 |
ROUTE_DISPLAYPORT | 8 |
ROUTE_AIRPLAY | 9 |
ROUTE_BLUETOOTH_DEVICE_A2DP | 10 |
BACKGROUND_BLUR_DEGREE 3 个成员
| 成员 | 值 |
|---|---|
BLUR_DEGREE_LOW | 1 |
BLUR_DEGREE_MEDIUM | 2 |
BLUR_DEGREE_HIGH | 3 |
BACKGROUND_SOURCE_TYPE 5 个成员
| 成员 | 值 |
|---|---|
BACKGROUND_NONE | 0 |
BACKGROUND_COLOR | 1 |
BACKGROUND_IMG | 2 |
BACKGROUND_BLUR | 3 |
BACKGROUND_VIDEO | 4 |
BITRATE 2 个成员
| 成员 | 值 |
|---|---|
STANDARD_BITRATE | 0 |
COMPATIBLE_BITRATE | -1 |
CAMERA_DIRECTION 2 个成员
| 成员 | 值 |
|---|---|
CAMERA_REAR | 0 |
CAMERA_FRONT | 1 |
CAMERA_FOCAL_LENGTH_TYPE 4 个成员
| 成员 | 值 |
|---|---|
CAMERA_FOCAL_LENGTH_DEFAULT | 0 |
CAMERA_FOCAL_LENGTH_WIDE_ANGLE | 1 |
CAMERA_FOCAL_LENGTH_ULTRA_WIDE | 2 |
CAMERA_FOCAL_LENGTH_TELEPHOTO | 3 |
CAMERA_STABILIZATION_MODE 5 个成员
| 成员 | 值 |
|---|---|
CAMERA_STABILIZATION_MODE_OFF | -1 |
CAMERA_STABILIZATION_MODE_AUTO | 0 |
CAMERA_STABILIZATION_MODE_LEVEL_1 | 1 |
CAMERA_STABILIZATION_MODE_LEVEL_2 | 2 |
CAMERA_STABILIZATION_MODE_LEVEL_3 | 3 |
CAPTURE_BRIGHTNESS_LEVEL_TYPE 4 个成员
| 成员 | 值 |
|---|---|
CAPTURE_BRIGHTNESS_LEVEL_INVALID | -1 |
CAPTURE_BRIGHTNESS_LEVEL_NORMAL | 0 |
CAPTURE_BRIGHTNESS_LEVEL_BRIGHT | 1 |
CAPTURE_BRIGHTNESS_LEVEL_DARK | 2 |
CHANNEL_MEDIA_RELAY_ERROR 12 个成员
| 成员 | 值 |
|---|---|
RELAY_OK | 0 |
RELAY_ERROR_SERVER_ERROR_RESPONSE | 1 |
RELAY_ERROR_SERVER_NO_RESPONSE | 2 |
RELAY_ERROR_NO_RESOURCE_AVAILABLE | 3 |
RELAY_ERROR_FAILED_JOIN_SRC | 4 |
RELAY_ERROR_FAILED_JOIN_DEST | 5 |
RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC | 6 |
RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST | 7 |
RELAY_ERROR_SERVER_CONNECTION_LOST | 8 |
RELAY_ERROR_INTERNAL_ERROR | 9 |
RELAY_ERROR_SRC_TOKEN_EXPIRED | 10 |
RELAY_ERROR_DEST_TOKEN_EXPIRED | 11 |
CHANNEL_MEDIA_RELAY_STATE 4 个成员
| 成员 | 值 |
|---|---|
RELAY_STATE_IDLE | 0 |
RELAY_STATE_CONNECTING | 1 |
RELAY_STATE_RUNNING | 2 |
RELAY_STATE_FAILURE | 3 |
CHANNEL_PROFILE_TYPE 4 个成员
| 成员 | 值 |
|---|---|
CHANNEL_PROFILE_COMMUNICATION | 0 |
CHANNEL_PROFILE_LIVE_BROADCASTING | 1 |
CHANNEL_PROFILE_GAME | 2 |
CHANNEL_PROFILE_CLOUD_GAMING | 3 |
CLIENT_ROLE_CHANGE_FAILED_REASON 4 个成员
| 成员 | 值 |
|---|---|
CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS | 1 |
CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED | 2 |
CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT | 3 |
CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED | 4 |
CLIENT_ROLE_TYPE 2 个成员
| 成员 | 值 |
|---|---|
CLIENT_ROLE_BROADCASTER | 1 |
CLIENT_ROLE_AUDIENCE | 2 |
CLOUD_PROXY_TYPE 3 个成员
| 成员 | 值 |
|---|---|
NONE_PROXY | 0 |
UDP_PROXY | 1 |
TCP_PROXY | 2 |
CODEC_CAP_MASK 5 个成员
| 成员 | 值 |
|---|---|
CODEC_CAP_MASK_NONE | 0 |
CODEC_CAP_MASK_HW_DEC | null |
CODEC_CAP_MASK_HW_ENC | null |
CODEC_CAP_MASK_SW_DEC | null |
CODEC_CAP_MASK_SW_ENC | null |
COMPRESSION_PREFERENCE 3 个成员
| 成员 | 值 |
|---|---|
PREFER_COMPRESSION_AUTO | -1 |
PREFER_LOW_LATENCY | 0 |
PREFER_QUALITY | 1 |
CONNECTION_CHANGED_REASON_TYPE 21 个成员
| 成员 | 值 |
|---|---|
CONNECTION_CHANGED_CONNECTING | 0 |
CONNECTION_CHANGED_JOIN_SUCCESS | 1 |
CONNECTION_CHANGED_INTERRUPTED | 2 |
CONNECTION_CHANGED_BANNED_BY_SERVER | 3 |
CONNECTION_CHANGED_JOIN_FAILED | 4 |
CONNECTION_CHANGED_LEAVE_CHANNEL | 5 |
CONNECTION_CHANGED_INVALID_APP_ID | 6 |
CONNECTION_CHANGED_INVALID_CHANNEL_NAME | 7 |
CONNECTION_CHANGED_INVALID_TOKEN | 8 |
CONNECTION_CHANGED_TOKEN_EXPIRED | 9 |
CONNECTION_CHANGED_REJECTED_BY_SERVER | 10 |
CONNECTION_CHANGED_SETTING_PROXY_SERVER | 11 |
CONNECTION_CHANGED_RENEW_TOKEN | 12 |
CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED | 13 |
CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT | 14 |
CONNECTION_CHANGED_REJOIN_SUCCESS | 15 |
CONNECTION_CHANGED_LOST | 16 |
CONNECTION_CHANGED_ECHO_TEST | 17 |
CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER | 18 |
CONNECTION_CHANGED_SAME_UID_LOGIN | 19 |
CONNECTION_CHANGED_TOO_MANY_BROADCASTERS | 20 |
CONNECTION_STATE_TYPE 5 个成员
| 成员 | 值 |
|---|---|
CONNECTION_STATE_DISCONNECTED | 1 |
CONNECTION_STATE_CONNECTING | 2 |
CONNECTION_STATE_CONNECTED | 3 |
CONNECTION_STATE_RECONNECTING | 4 |
CONNECTION_STATE_FAILED | 5 |
CONTENT_INSPECT_TYPE 3 个成员
| 成员 | 值 |
|---|---|
CONTENT_INSPECT_INVALID | 0 |
CONTENT_INSPECT_SUPERVISION | 2 |
CONTENT_INSPECT_IMAGE_MODERATION | 3 |
DEGRADATION_PREFERENCE 5 个成员
| 成员 | 值 |
|---|---|
MAINTAIN_AUTO | -1 |
MAINTAIN_QUALITY | 0 |
MAINTAIN_FRAMERATE | 1 |
MAINTAIN_BALANCED | 2 |
MAINTAIN_RESOLUTION | 3 |
EAR_MONITORING_FILTER_TYPE 4 个成员
| 成员 | 值 |
|---|---|
EAR_MONITORING_FILTER_NONE | null |
EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS | null |
EAR_MONITORING_FILTER_NOISE_SUPPRESSION | null |
EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER | null |
ENCODING_PREFERENCE 3 个成员
| 成员 | 值 |
|---|---|
PREFER_AUTO | -1 |
PREFER_SOFTWARE | 0 |
PREFER_HARDWARE | 1 |
ENCRYPTION_ERROR_TYPE 5 个成员
| 成员 | 值 |
|---|---|
ENCRYPTION_ERROR_INTERNAL_FAILURE | 0 |
ENCRYPTION_ERROR_DECRYPTION_FAILURE | 1 |
ENCRYPTION_ERROR_ENCRYPTION_FAILURE | 2 |
ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE | 3 |
ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE | 4 |
ENCRYPTION_MODE 9 个成员
| 成员 | 值 |
|---|---|
AES_128_XTS | 1 |
AES_128_ECB | 2 |
AES_256_XTS | 3 |
SM4_128_ECB | 4 |
AES_128_GCM | 5 |
AES_256_GCM | 6 |
AES_128_GCM2 | 7 |
AES_256_GCM2 | 8 |
MODE_END | null |
ERROR_CODE_TYPE 48 个成员
| 成员 | 值 |
|---|---|
ERR_OK | 0 |
ERR_FAILED | 1 |
ERR_INVALID_ARGUMENT | 2 |
ERR_NOT_READY | 3 |
IRtcEngine | null |
ERR_NOT_SUPPORTED | 4 |
ERR_REFUSED | 5 |
ERR_BUFFER_TOO_SMALL | 6 |
ERR_NOT_INITIALIZED | 7 |
ERR_INVALID_STATE | 8 |
ERR_NO_PERMISSION | 9 |
ERR_TIMEDOUT | 10 |
ERR_JOIN_CHANNEL_REJECTED | 17 |
ERR_LEAVE_CHANNEL_REJECTED | 18 |
ERR_ALREADY_IN_USE | 19 |
ERR_ABORTED | 20 |
ERR_INIT_NET_ENGINE | 21 |
ERR_RESOURCE_LIMITED | 22 |
ERR_INVALID_APP_ID | 101 |
ERR_INVALID_CHANNEL_NAME | 102 |
ERR_NO_SERVER_RESOURCES | 103 |
ERR_TOKEN_EXPIRED | 109 |
ERR_INVALID_TOKEN | null |
ERR_CONNECTION_INTERRUPTED | 111 |
ERR_CONNECTION_LOST | 112 |
ERR_NOT_IN_CHANNEL | 113 |
ERR_SIZE_TOO_LARGE | 114 |
ERR_BITRATE_LIMIT | 115 |
ERR_TOO_MANY_DATA_STREAMS | 116 |
ERR_STREAM_MESSAGE_TIMEOUT | 117 |
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED | 119 |
ERR_DECRYPTION_FAILED | 120 |
ERR_INVALID_USER_ID | 121 |
ERR_DATASTREAM_DECRYPTION_FAILED | 122 |
ERR_CLIENT_IS_BANNED_BY_SERVER | 123 |
ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH | 130 |
ERR_INVALID_USER_ACCOUNT | 134 |
ERR_LOAD_MEDIA_ENGINE | 1001 |
ERR_PCMSEND_FORMAT | 200 |
ERR_PCMSEND_BUFFEROVERFLOW | 201 |
ERR_ADM_GENERAL_ERROR | 1005 |
ERR_ADM_INIT_PLAYOUT | 1008 |
ERR_ADM_START_PLAYOUT | 1009 |
ERR_ADM_STOP_PLAYOUT | 1010 |
ERR_ADM_INIT_RECORDING | 1011 |
ERR_ADM_START_RECORDING | 1012 |
ERR_ADM_STOP_RECORDING | 1013 |
ERR_VDM_CAMERA_NOT_AUTHORIZED | 1501 |
EXPERIENCE_POOR_REASON 5 个成员
| 成员 | 值 |
|---|---|
EXPERIENCE_REASON_NONE | 0 |
REMOTE_NETWORK_QUALITY_POOR | 1 |
LOCAL_NETWORK_QUALITY_POOR | 2 |
WIRELESS_SIGNAL_POOR | 4 |
WIFI_BLUETOOTH_COEXIST | 8 |
EXPERIENCE_QUALITY_TYPE 2 个成员
| 成员 | 值 |
|---|---|
EXPERIENCE_QUALITY_GOOD | 0 |
EXPERIENCE_QUALITY_BAD | 1 |
EXTERNAL_VIDEO_SOURCE_TYPE 2 个成员
| 成员 | 值 |
|---|---|
VIDEO_FRAME | 0 |
ENCODED_VIDEO_FRAME | 1 |
FACE_SHAPE_AREA 30 个成员
| 成员 | 值 |
|---|---|
FACE_SHAPE_AREA_NONE | -1 |
FACE_SHAPE_AREA_HEADSCALE | 100 |
FACE_SHAPE_AREA_FOREHEAD | 101 |
FACE_SHAPE_AREA_FACECONTOUR | 102 |
FACE_SHAPE_AREA_FACELENGTH | 103 |
FACE_SHAPE_AREA_FACEWIDTH | 104 |
FACE_SHAPE_AREA_CHEEKBONE | 105 |
FACE_SHAPE_AREA_CHEEK | 106 |
FACE_SHAPE_AREA_MANDIBLE | 107 |
FACE_SHAPE_AREA_CHIN | 108 |
FACE_SHAPE_AREA_EYESCALE | 200 |
FACE_SHAPE_AREA_EYEDISTANCE | 201 |
FACE_SHAPE_AREA_EYEPOSITION | 202 |
FACE_SHAPE_AREA_LOWEREYELID | 203 |
FACE_SHAPE_AREA_EYEPUPILS | 204 |
FACE_SHAPE_AREA_EYEINNERCORNER | 205 |
FACE_SHAPE_AREA_EYEOUTERCORNER | 206 |
FACE_SHAPE_AREA_NOSELENGTH | 300 |
FACE_SHAPE_AREA_NOSEWIDTH | 301 |
FACE_SHAPE_AREA_NOSEWING | 302 |
FACE_SHAPE_AREA_NOSEROOT | 303 |
FACE_SHAPE_AREA_NOSEBRIDGE | 304 |
FACE_SHAPE_AREA_NOSETIP | 305 |
FACE_SHAPE_AREA_NOSEGENERAL | 306 |
FACE_SHAPE_AREA_MOUTHSCALE | 400 |
FACE_SHAPE_AREA_MOUTHPOSITION | 401 |
FACE_SHAPE_AREA_MOUTHSMILE | 402 |
FACE_SHAPE_AREA_MOUTHLIP | 403 |
FACE_SHAPE_AREA_EYEBROWPOSITION | 500 |
FACE_SHAPE_AREA_EYEBROWTHICKNESS | 501 |
FACE_SHAPE_BEAUTY_STYLE 3 个成员
| 成员 | 值 |
|---|---|
FACE_SHAPE_BEAUTY_STYLE_FEMALE | 0 |
FACE_SHAPE_BEAUTY_STYLE_MALE | 1 |
FACE_SHAPE_BEAUTY_STYLE_NATURAL | 2 |
FeatureType 2 个成员
| 成员 | 值 |
|---|---|
VIDEO_VIRTUAL_BACKGROUND | 1 |
VIDEO_BEAUTY_EFFECT | 2 |
FRAME_RATE 7 个成员
| 成员 | 值 |
|---|---|
FRAME_RATE_FPS_1 | 1 |
FRAME_RATE_FPS_7 | 7 |
FRAME_RATE_FPS_10 | 10 |
FRAME_RATE_FPS_15 | 15 |
FRAME_RATE_FPS_24 | 24 |
FRAME_RATE_FPS_30 | 30 |
FRAME_RATE_FPS_60 | 60 |
HEADPHONE_EQUALIZER_PRESET 3 个成员
| 成员 | 值 |
|---|---|
HEADPHONE_EQUALIZER_OFF | null |
HEADPHONE_EQUALIZER_OVEREAR | null |
HEADPHONE_EQUALIZER_INEAR | null |
LASTMILE_PROBE_RESULT_STATE 3 个成员
| 成员 | 值 |
|---|---|
LASTMILE_PROBE_RESULT_COMPLETE | 1 |
LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE | 2 |
LASTMILE_PROBE_RESULT_UNAVAILABLE | 3 |
LIGHTENING_CONTRAST_LEVEL 3 个成员
| 成员 | 值 |
|---|---|
LIGHTENING_CONTRAST_LOW | 0 |
LIGHTENING_CONTRAST_NORMAL | 1 |
LIGHTENING_CONTRAST_HIGH | 2 |
LOCAL_AUDIO_STREAM_REASON 11 个成员
| 成员 | 值 |
|---|---|
LOCAL_AUDIO_STREAM_REASON_OK | 0 |
LOCAL_AUDIO_STREAM_REASON_FAILURE | 1 |
LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION | 2 |
LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY | 3 |
LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE | 4 |
LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE | 5 |
LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE | 6 |
LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE | 7 |
LOCAL_AUDIO_STREAM_REASON_INTERRUPTED | 8 |
LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID | 9 |
LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID | 10 |
LOCAL_AUDIO_STREAM_STATE 4 个成员
| 成员 | 值 |
|---|---|
LOCAL_AUDIO_STREAM_STATE_STOPPED | 0 |
LOCAL_AUDIO_STREAM_STATE_RECORDING | 1 |
LOCAL_AUDIO_STREAM_STATE_ENCODING | 2 |
LOCAL_AUDIO_STREAM_STATE_FAILED | 3 |
LOCAL_PROXY_MODE 2 个成员
| 成员 | 值 |
|---|---|
kConnectivityFirst | 0 |
kLocalOnly | 1 |
LOCAL_VIDEO_EVENT_TYPE 4 个成员
| 成员 | 值 |
|---|---|
LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_WINDOW_HIDDEN | 1 |
LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN | 2 |
LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_STOPPED_BY_USER | 3 |
LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_SYSTEM_INTERNAL_ERROR | 4 |
LOCAL_VIDEO_STREAM_REASON 27 个成员
| 成员 | 值 |
|---|---|
LOCAL_VIDEO_STREAM_REASON_OK | 0 |
LOCAL_VIDEO_STREAM_REASON_FAILURE | 1 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION | 2 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY | 3 |
LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE | 4 |
LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT | 5 |
LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND | 6 |
LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS | 7 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND | 8 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED | 9 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID | 10 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED | 11 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED | 12 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED | 13 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT | 14 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR | 15 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE | 21 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION | 22 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK | 24 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN | 25 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN | 26 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED | 27 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED | 28 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED | 29 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED | 30 |
LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_EXCLUDE_WINDOW_FAILED | 34 |
LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE | 101 |
LOCAL_VIDEO_STREAM_STATE 4 个成员
| 成员 | 值 |
|---|---|
LOCAL_VIDEO_STREAM_STATE_STOPPED | 0 |
LOCAL_VIDEO_STREAM_STATE_CAPTURING | 1 |
LOCAL_VIDEO_STREAM_STATE_ENCODING | 2 |
LOCAL_VIDEO_STREAM_STATE_FAILED | 3 |
LOG_LEVEL 5 个成员
| 成员 | 值 |
|---|---|
LOG_LEVEL_NONE | 0 |
LOG_LEVEL_INFO | 1 |
LOG_LEVEL_WARN | 2 |
LOG_LEVEL_ERROR | 4 |
LOG_LEVEL_FATAL | 8 |
LOW_LIGHT_ENHANCE_LEVEL 2 个成员
| 成员 | 值 |
|---|---|
LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY | 0 |
LOW_LIGHT_ENHANCE_LEVEL_FAST | 1 |
LOW_LIGHT_ENHANCE_MODE 2 个成员
| 成员 | 值 |
|---|---|
LOW_LIGHT_ENHANCE_AUTO | 0 |
LOW_LIGHT_ENHANCE_MANUAL | 1 |
MAX_USER_ACCOUNT_LENGTH_TYPE 1 个成员
| 成员 | 值 |
|---|---|
MAX_USER_ACCOUNT_LENGTH | null |
MEDIA_DEVICE_STATE_TYPE 6 个成员
| 成员 | 值 |
|---|---|
MEDIA_DEVICE_STATE_IDLE | 0 |
MEDIA_DEVICE_STATE_ACTIVE | 1 |
MEDIA_DEVICE_STATE_DISABLED | 2 |
MEDIA_DEVICE_STATE_PLUGGED_IN | 3 |
MEDIA_DEVICE_STATE_NOT_PRESENT | 4 |
MEDIA_DEVICE_STATE_UNPLUGGED | 8 |
MEDIA_DEVICE_TYPE 8 个成员
| 成员 | 值 |
|---|---|
UNKNOWN_AUDIO_DEVICE | -1 |
AUDIO_PLAYOUT_DEVICE | 0 |
AUDIO_RECORDING_DEVICE | 1 |
VIDEO_RENDER_DEVICE | 2 |
VIDEO_CAPTURE_DEVICE | 3 |
AUDIO_APPLICATION_PLAYOUT_DEVICE | 4 |
AUDIO_VIRTUAL_PLAYOUT_DEVICE | null |
AUDIO_VIRTUAL_RECORDING_DEVICE | null |
MEDIA_PLAYER_EVENT 14 个成员
| 成员 | 值 |
|---|---|
PLAYER_EVENT_SEEK_BEGIN | 0 |
PLAYER_EVENT_SEEK_COMPLETE | 1 |
PLAYER_EVENT_SEEK_ERROR | 2 |
PLAYER_EVENT_AUDIO_TRACK_CHANGED | 5 |
PLAYER_EVENT_BUFFER_LOW | 6 |
PLAYER_EVENT_BUFFER_RECOVER | 7 |
PLAYER_EVENT_FREEZE_START | 8 |
PLAYER_EVENT_FREEZE_STOP | 9 |
PLAYER_EVENT_SWITCH_BEGIN | 10 |
PLAYER_EVENT_SWITCH_COMPLETE | 11 |
PLAYER_EVENT_SWITCH_ERROR | 12 |
PLAYER_EVENT_FIRST_DISPLAYED | 13 |
PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT | 14 |
PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE | 15 |
MEDIA_PLAYER_METADATA_TYPE 2 个成员
| 成员 | 值 |
|---|---|
PLAYER_METADATA_TYPE_UNKNOWN | 0 |
PLAYER_METADATA_TYPE_SEI | 1 |
MEDIA_PLAYER_REASON 17 个成员
| 成员 | 值 |
|---|---|
PLAYER_REASON_NONE | 0 |
PLAYER_REASON_INVALID_ARGUMENTS | -1 |
PLAYER_REASON_INTERNAL | -2 |
PLAYER_REASON_NO_RESOURCE | -3 |
PLAYER_REASON_INVALID_MEDIA_SOURCE | -4 |
PLAYER_REASON_UNKNOWN_STREAM_TYPE | -5 |
PLAYER_REASON_OBJ_NOT_INITIALIZED | -6 |
PLAYER_REASON_CODEC_NOT_SUPPORTED | -7 |
PLAYER_REASON_VIDEO_RENDER_FAILED | -8 |
PLAYER_REASON_INVALID_STATE | -9 |
PLAYER_REASON_URL_NOT_FOUND | -10 |
PLAYER_REASON_INVALID_CONNECTION_STATE | -11 |
PLAYER_REASON_SRC_BUFFER_UNDERFLOW | -12 |
PLAYER_REASON_INTERRUPTED | -13 |
PLAYER_REASON_NOT_SUPPORTED | -14 |
PLAYER_REASON_TOKEN_EXPIRED | -15 |
PLAYER_REASON_UNKNOWN | -17 |
MEDIA_PLAYER_STATE 9 个成员
| 成员 | 值 |
|---|---|
PLAYER_STATE_IDLE | 0 |
PLAYER_STATE_OPENING | 1 |
PLAYER_STATE_OPEN_COMPLETED | 2 |
PLAYER_STATE_PLAYING | 3 |
PLAYER_STATE_PAUSED | 4 |
PLAYER_STATE_PLAYBACK_COMPLETED | 5 |
PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED | 6 |
PLAYER_STATE_STOPPED | 7 |
PLAYER_STATE_FAILED | 100 |
MEDIA_SOURCE_TYPE 7 个成员
| 成员 | 值 |
|---|---|
AUDIO_PLAYOUT_SOURCE | 0 |
AUDIO_RECORDING_SOURCE | 1 |
PRIMARY_CAMERA_SOURCE | 2 |
SECONDARY_CAMERA_SOURCE | 3 |
CUSTOM_VIDEO_SOURCE | 6 |
SPEECH_DRIVEN_VIDEO_SOURCE | 13 |
UNKNOWN_MEDIA_SOURCE | 100 |
MEDIA_STREAM_TYPE 4 个成员
| 成员 | 值 |
|---|---|
STREAM_TYPE_UNKNOWN | 0 |
STREAM_TYPE_VIDEO | 1 |
STREAM_TYPE_AUDIO | 2 |
STREAM_TYPE_SUBTITLE | 3 |
MEDIA_TRACE_EVENT 2 个成员
| 成员 | 值 |
|---|---|
MEDIA_TRACE_EVENT_VIDEO_RENDERED | 0 |
MEDIA_TRACE_EVENT_VIDEO_DECODED | 1 |
MediaRecorderContainerFormat 1 个成员
| 成员 | 值 |
|---|---|
FORMAT_MP4 | 1 |
MediaRecorderStreamType 3 个成员
| 成员 | 值 |
|---|---|
STREAM_TYPE_AUDIO | 1 |
STREAM_TYPE_VIDEO | 2 |
STREAM_TYPE_BOTH | 3 |
METADATA_TYPE 2 个成员
| 成员 | 值 |
|---|---|
UNKNOWN_METADATA | -1 |
VIDEO_METADATA | 0 |
MultipathMode 1 个成员
| 成员 | 值 |
|---|---|
Duplicate | 0 |
MultipathType 4 个成员
| 成员 | 值 |
|---|---|
LAN | 0 |
WIFI | 1 |
Mobile | 2 |
Unknown | 99 |
MUSIC_CACHE_STATUS_TYPE 2 个成员
| 成员 | 值 |
|---|---|
MUSIC_CACHE_STATUS_TYPE_CACHED | 0 |
MUSIC_CACHE_STATUS_TYPE_CACHING | 1 |
MusicContentCenterStateReason 8 个成员
| 成员 | 值 |
|---|---|
kMusicContentCenterReasonOk | 0 |
kMusicContentCenterReasonError | 1 |
kMusicContentCenterReasonGateway | 2 |
kMusicContentCenterReasonPermissionAndResource | 3 |
kMusicContentCenterReasonInternalDataParse | 4 |
kMusicContentCenterReasonMusicLoading | 5 |
kMusicContentCenterReasonMusicDecryption | 6 |
kMusicContentCenterReasonHttpInternalError | 7 |
MusicPlayMode 3 个成员
| 成员 | 值 |
|---|---|
kMusicPlayModeOriginal | 0 |
kMusicPlayModeAccompany | 1 |
kMusicPlayModeLeadSing | 2 |
NETWORK_TYPE 8 个成员
| 成员 | 值 |
|---|---|
NETWORK_TYPE_UNKNOWN | -1 |
NETWORK_TYPE_DISCONNECTED | 0 |
NETWORK_TYPE_LAN | 1 |
NETWORK_TYPE_WIFI | 2 |
NETWORK_TYPE_MOBILE_2G | 3 |
NETWORK_TYPE_MOBILE_3G | 4 |
NETWORK_TYPE_MOBILE_4G | 5 |
NETWORK_TYPE_MOBILE_5G | 6 |
OBSERVER_MODE 2 个成员
| 成员 | 值 |
|---|---|
RAW_DATA | null |
INTPTR | null |
ORIENTATION_MODE 3 个成员
| 成员 | 值 |
|---|---|
ORIENTATION_MODE_ADAPTIVE | 0 |
ORIENTATION_MODE_FIXED_LANDSCAPE | 1 |
ORIENTATION_MODE_FIXED_PORTRAIT | 2 |
PERMISSION_TYPE 3 个成员
| 成员 | 值 |
|---|---|
RECORD_AUDIO | 0 |
CAMERA | 1 |
SCREEN_CAPTURE | null |
PLAYER_PRELOAD_EVENT 3 个成员
| 成员 | 值 |
|---|---|
PLAYER_PRELOAD_EVENT_BEGIN | 0 |
PLAYER_PRELOAD_EVENT_COMPLETE | 1 |
PLAYER_PRELOAD_EVENT_ERROR | 2 |
PreloadState 4 个成员
| 成员 | 值 |
|---|---|
kPreloadStateCompleted | 0 |
kPreloadStateFailed | 1 |
kPreloadStatePreloading | 2 |
kPreloadStateRemoved | 3 |
PROXY_TYPE 5 个成员
| 成员 | 值 |
|---|---|
NONE_PROXY_TYPE | 0 |
UDP_PROXY_TYPE | 1 |
TCP_PROXY_TYPE | 2 |
LOCAL_PROXY_TYPE | 3 |
TCP_PROXY_AUTO_FALLBACK_TYPE | 4 |
QUALITY_ADAPT_INDICATION 3 个成员
| 成员 | 值 |
|---|---|
ADAPT_NONE | 0 |
ADAPT_UP_BANDWIDTH | 1 |
ADAPT_DOWN_BANDWIDTH | 2 |
QUALITY_TYPE 8 个成员
| 成员 | 值 |
|---|---|
QUALITY_UNKNOWN | 0 |
QUALITY_EXCELLENT | 1 |
QUALITY_GOOD | 2 |
QUALITY_POOR | 3 |
QUALITY_BAD | 4 |
QUALITY_VBAD | 5 |
QUALITY_DOWN | 6 |
QUALITY_DETECTING | 8 |
RAW_AUDIO_FRAME_OP_MODE_TYPE 2 个成员
| 成员 | 值 |
|---|---|
RAW_AUDIO_FRAME_OP_MODE_READ_ONLY | 0 |
RAW_AUDIO_FRAME_OP_MODE_READ_WRITE | 2 |
RecorderReasonCode 5 个成员
| 成员 | 值 |
|---|---|
RECORDER_REASON_NONE | 0 |
RECORDER_REASON_WRITE_FAILED | 1 |
RECORDER_REASON_NO_STREAM | 2 |
RECORDER_REASON_OVER_MAX_DURATION | 3 |
RECORDER_REASON_CONFIG_CHANGED | 4 |
RecorderState 3 个成员
| 成员 | 值 |
|---|---|
RECORDER_STATE_ERROR | -1 |
RECORDER_STATE_START | 2 |
RECORDER_STATE_STOP | 3 |
RecorderStreamType 2 个成员
| 成员 | 值 |
|---|---|
RTC | 0 |
PREVIEW | 1 |
REMOTE_AUDIO_STATE 5 个成员
| 成员 | 值 |
|---|---|
REMOTE_AUDIO_STATE_STOPPED | 0 |
REMOTE_AUDIO_STATE_STARTING | 1 |
REMOTE_AUDIO_STATE_DECODING | 2 |
REMOTE_AUDIO_STATE_FROZEN | 3 |
REMOTE_AUDIO_STATE_FAILED | 4 |
REMOTE_AUDIO_STATE_REASON 8 个成员
| 成员 | 值 |
|---|---|
REMOTE_AUDIO_REASON_INTERNAL | 0 |
REMOTE_AUDIO_REASON_NETWORK_CONGESTION | 1 |
REMOTE_AUDIO_REASON_NETWORK_RECOVERY | 2 |
REMOTE_AUDIO_REASON_LOCAL_MUTED | 3 |
REMOTE_AUDIO_REASON_LOCAL_UNMUTED | 4 |
REMOTE_AUDIO_REASON_REMOTE_MUTED | 5 |
REMOTE_AUDIO_REASON_REMOTE_UNMUTED | 6 |
REMOTE_AUDIO_REASON_REMOTE_OFFLINE | 7 |
REMOTE_VIDEO_STATE 5 个成员
| 成员 | 值 |
|---|---|
REMOTE_VIDEO_STATE_STOPPED | 0 |
REMOTE_VIDEO_STATE_STARTING | 1 |
REMOTE_VIDEO_STATE_DECODING | 2 |
REMOTE_VIDEO_STATE_FROZEN | 3 |
REMOTE_VIDEO_STATE_FAILED | 4 |
REMOTE_VIDEO_STATE_REASON 12 个成员
| 成员 | 值 |
|---|---|
REMOTE_VIDEO_STATE_REASON_INTERNAL | 0 |
REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION | 1 |
REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY | 2 |
REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED | 3 |
REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED | 4 |
REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED | 5 |
REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED | 6 |
REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE | 7 |
REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK | 8 |
REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY | 9 |
REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND | 12 |
REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT | 13 |
RENDER_MODE_TYPE 3 个成员
| 成员 | 值 |
|---|---|
RENDER_MODE_HIDDEN | 1 |
RENDER_MODE_FIT | 2 |
RENDER_MODE_ADAPTIVE | 3 |
RENEW_TOKEN_ERROR_CODE 7 个成员
| 成员 | 值 |
|---|---|
RENEW_TOKEN_SUCCESS | 0 |
RENEW_TOKEN_FAILURE | 1 |
RENEW_TOKEN_TOKEN_EXPIRED | 2 |
RENEW_TOKEN_INVALID_TOKEN | 3 |
RENEW_TOKEN_INVALID_CHANNEL_NAME | 4 |
RENEW_TOKEN_INCONSISTENT_APPID | 5 |
RENEW_TOKEN_CANCELED_BY_NEW_REQUEST | 6 |
RHYTHM_PLAYER_REASON 5 个成员
| 成员 | 值 |
|---|---|
RHYTHM_PLAYER_REASON_OK | 0 |
RHYTHM_PLAYER_REASON_FAILED | 1 |
RHYTHM_PLAYER_REASON_CAN_NOT_OPEN | 801 |
RHYTHM_PLAYER_REASON_CAN_NOT_PLAY | 802 |
RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT | 803 |
RHYTHM_PLAYER_STATE_TYPE 5 个成员
| 成员 | 值 |
|---|---|
RHYTHM_PLAYER_STATE_IDLE | 810 |
RHYTHM_PLAYER_STATE_OPENING | 811 |
RHYTHM_PLAYER_STATE_DECODING | 812 |
RHYTHM_PLAYER_STATE_PLAYING | 813 |
RHYTHM_PLAYER_STATE_FAILED | 814 |
RTMP_STREAM_LIFE_CYCLE_TYPE 2 个成员
| 成员 | 值 |
|---|---|
RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL | null |
RTMP_STREAM_LIFE_CYCLE_BIND2OWNER | null |
RTMP_STREAM_PUBLISH_REASON 16 个成员
| 成员 | 值 |
|---|---|
RTMP_STREAM_PUBLISH_REASON_OK | 0 |
RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT | 1 |
RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED | 2 |
RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT | 3 |
RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR | 4 |
RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR | 5 |
RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN | 6 |
RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT | 7 |
RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED | 8 |
RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND | 9 |
RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED | 10 |
RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER | 11 |
RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM | 13 |
RTMP_STREAM_PUBLISH_REASON_NET_DOWN | 14 |
RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE | 16 |
RTMP_STREAM_UNPUBLISH_REASON_OK | 100 |
RTMP_STREAM_PUBLISH_STATE 6 个成员
| 成员 | 值 |
|---|---|
RTMP_STREAM_PUBLISH_STATE_IDLE | 0 |
RTMP_STREAM_PUBLISH_STATE_CONNECTING | 1 |
RTMP_STREAM_PUBLISH_STATE_RUNNING | 2 |
RTMP_STREAM_PUBLISH_STATE_RECOVERING | 3 |
RTMP_STREAM_PUBLISH_STATE_FAILURE | 4 |
RTMP_STREAM_PUBLISH_STATE_DISCONNECTING | 5 |
RTMP_STREAMING_EVENT 4 个成员
| 成员 | 值 |
|---|---|
RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE | 1 |
RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE | 2 |
RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT | 3 |
RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN | 4 |
SCREEN_CAPTURE_FRAMERATE_CAPABILITY 3 个成员
| 成员 | 值 |
|---|---|
SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS | 0 |
SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS | 1 |
SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS | 2 |
SCREEN_COLOR_TYPE 3 个成员
| 成员 | 值 |
|---|---|
SCREEN_COLOR_AUTO | 0 |
SCREEN_COLOR_GREEN | 1 |
SCREEN_COLOR_BLUE | 2 |
SCREEN_SCENARIO_TYPE 4 个成员
| 成员 | 值 |
|---|---|
SCREEN_SCENARIO_DOCUMENT | 1 |
SCREEN_SCENARIO_GAMING | 2 |
SCREEN_SCENARIO_VIDEO | 3 |
SCREEN_SCENARIO_RDC | 4 |
ScreenCaptureSourceType 4 个成员
| 成员 | 值 |
|---|---|
ScreenCaptureSourceType_Unknown | -1 |
ScreenCaptureSourceType_Window | 0 |
ScreenCaptureSourceType_Screen | 1 |
ScreenCaptureSourceType_Custom | 2 |
SEG_MODEL_TYPE 2 个成员
| 成员 | 值 |
|---|---|
SEG_MODEL_AI | 1 |
SEG_MODEL_GREEN | 2 |
SIMULCAST_STREAM_MODE 3 个成员
| 成员 | 值 |
|---|---|
AUTO_SIMULCAST_STREAM | -1 |
DISABLE_SIMULCAST_STREAM | 0 |
ENABLE_SIMULCAST_STREAM | 1 |
STREAM_FALLBACK_OPTIONS 3 个成员
| 成员 | 值 |
|---|---|
STREAM_FALLBACK_OPTION_DISABLED | 0 |
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW | 1 |
STREAM_FALLBACK_OPTION_AUDIO_ONLY | 2 |
STREAM_PUBLISH_STATE 4 个成员
| 成员 | 值 |
|---|---|
PUB_STATE_IDLE | 0 |
PUB_STATE_NO_PUBLISHED | 1 |
PUB_STATE_PUBLISHING | 2 |
PUB_STATE_PUBLISHED | 3 |
STREAM_SUBSCRIBE_STATE 4 个成员
| 成员 | 值 |
|---|---|
SUB_STATE_IDLE | 0 |
SUB_STATE_NO_SUBSCRIBED | 1 |
SUB_STATE_SUBSCRIBING | 2 |
SUB_STATE_SUBSCRIBED | 3 |
USER_OFFLINE_REASON_TYPE 3 个成员
| 成员 | 值 |
|---|---|
USER_OFFLINE_QUIT | 0 |
USER_OFFLINE_DROPPED | 1 |
USER_OFFLINE_BECOME_AUDIENCE | 2 |
VIDEO_APPLICATION_SCENARIO_TYPE 4 个成员
| 成员 | 值 |
|---|---|
APPLICATION_SCENARIO_GENERAL | 0 |
APPLICATION_SCENARIO_MEETING | 1 |
APPLICATION_SCENARIO_1V1 | 2 |
APPLICATION_SCENARIO_LIVESHOW | 3 |
VIDEO_BUFFER_TYPE 3 个成员
| 成员 | 值 |
|---|---|
VIDEO_BUFFER_RAW_DATA | 1 |
VIDEO_BUFFER_ARRAY | 2 |
VIDEO_BUFFER_TEXTURE | 3 |
VIDEO_CODEC_CAPABILITY_LEVEL 5 个成员
| 成员 | 值 |
|---|---|
CODEC_CAPABILITY_LEVEL_UNSPECIFIED | -1 |
CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT | 5 |
CODEC_CAPABILITY_LEVEL_1080P30FPS | 10 |
CODEC_CAPABILITY_LEVEL_1080P60FPS | 20 |
CODEC_CAPABILITY_LEVEL_4K60FPS | 30 |
VIDEO_CODEC_PROFILE_TYPE 3 个成员
| 成员 | 值 |
|---|---|
VIDEO_CODEC_PROFILE_BASELINE | 66 |
VIDEO_CODEC_PROFILE_MAIN | 77 |
VIDEO_CODEC_PROFILE_HIGH | 100 |
VIDEO_CODEC_TYPE 6 个成员
| 成员 | 值 |
|---|---|
VIDEO_CODEC_NONE | 0 |
VIDEO_CODEC_VP8 | 1 |
VIDEO_CODEC_H264 | 2 |
VIDEO_CODEC_H265 | 3 |
VIDEO_CODEC_GENERIC | 6 |
VIDEO_CODEC_GENERIC_JPEG | 20 |
VIDEO_CODEC_TYPE_FOR_STREAM 2 个成员
| 成员 | 值 |
|---|---|
VIDEO_CODEC_H264_FOR_STREAM | 1 |
VIDEO_CODEC_H265_FOR_STREAM | 2 |
VIDEO_CONTENT_HINT 3 个成员
| 成员 | 值 |
|---|---|
CONTENT_HINT_NONE | null |
CONTENT_HINT_MOTION | null |
CONTENT_HINT_DETAILS | null |
VIDEO_DENOISER_LEVEL 2 个成员
| 成员 | 值 |
|---|---|
VIDEO_DENOISER_LEVEL_HIGH_QUALITY | 0 |
VIDEO_DENOISER_LEVEL_FAST | 1 |
VIDEO_DENOISER_MODE 2 个成员
| 成员 | 值 |
|---|---|
VIDEO_DENOISER_AUTO | 0 |
VIDEO_DENOISER_MANUAL | 1 |
VIDEO_EFFECT_ACTION 2 个成员
| 成员 | 值 |
|---|---|
SAVE | 1 |
RESET | 2 |
VIDEO_EFFECT_NODE_ID 3 个成员
| 成员 | 值 |
|---|---|
BEAUTY | 1 |
STYLE_MAKEUP | 2 |
FILTER | 4 |
VIDEO_FRAME_TYPE 6 个成员
| 成员 | 值 |
|---|---|
VIDEO_FRAME_TYPE_BLANK_FRAME | 0 |
VIDEO_FRAME_TYPE_KEY_FRAME | 3 |
VIDEO_FRAME_TYPE_DELTA_FRAME | 4 |
VIDEO_FRAME_TYPE_B_FRAME | 5 |
VIDEO_FRAME_TYPE_DROPPABLE_FRAME | 6 |
VIDEO_FRAME_TYPE_UNKNOW | null |
VIDEO_MIRROR_MODE_TYPE 3 个成员
| 成员 | 值 |
|---|---|
VIDEO_MIRROR_MODE_AUTO | 0 |
VIDEO_MIRROR_MODE_ENABLED | 1 |
VIDEO_MIRROR_MODE_DISABLED | 2 |
VIDEO_MODULE_POSITION 4 个成员
| 成员 | 值 |
|---|---|
POSITION_POST_CAPTURER | 1 |
POSITION_PRE_RENDERER | 2 |
POSITION_PRE_ENCODER | 4 |
POSITION_POST_CAPTURER_ORIGIN | 8 |
VIDEO_OBSERVER_FRAME_TYPE 4 个成员
| 成员 | 值 |
|---|---|
FRAME_TYPE_DEFAULT | null |
FRAME_TYPE_YUV420 | null |
FRAME_TYPE_YUV422 | null |
FRAME_TYPE_RGBA | null |
VIDEO_ORIENTATION 4 个成员
| 成员 | 值 |
|---|---|
VIDEO_ORIENTATION_0 | 0 |
VIDEO_ORIENTATION_90 | 90 |
VIDEO_ORIENTATION_180 | 180 |
VIDEO_ORIENTATION_270 | 270 |
VIDEO_PIXEL_FORMAT 5 个成员
| 成员 | 值 |
|---|---|
VIDEO_PIXEL_DEFAULT | 0 |
VIDEO_PIXEL_I420 | 1 |
VIDEO_PIXEL_RGBA | 4 |
VIDEO_PIXEL_I422 | 16 |
VIDEO_TEXTURE_ID3D11TEXTURE2D | 17 |
VIDEO_SOURCE_TYPE 19 个成员
| 成员 | 值 |
|---|---|
VIDEO_SOURCE_CAMERA_PRIMARY | 0 |
VIDEO_SOURCE_CAMERA | 0 |
VIDEO_SOURCE_CAMERA_SECONDARY | 1 |
VIDEO_SOURCE_SCREEN_PRIMARY | 2 |
VIDEO_SOURCE_SCREEN | 2 |
VIDEO_SOURCE_SCREEN_SECONDARY | 3 |
VIDEO_SOURCE_CUSTOM | 4 |
VIDEO_SOURCE_MEDIA_PLAYER | 5 |
VIDEO_SOURCE_RTC_IMAGE_PNG | 6 |
VIDEO_SOURCE_RTC_IMAGE_JPEG | 7 |
VIDEO_SOURCE_RTC_IMAGE_GIF | 8 |
VIDEO_SOURCE_REMOTE | 9 |
VIDEO_SOURCE_TRANSCODED | 10 |
VIDEO_SOURCE_CAMERA_THIRD | 11 |
VIDEO_SOURCE_CAMERA_FOURTH | 12 |
VIDEO_SOURCE_SCREEN_THIRD | 13 |
VIDEO_SOURCE_SCREEN_FOURTH | 14 |
VIDEO_SOURCE_SPEECH_DRIVEN | 15 |
VIDEO_SOURCE_UNKNOWN | 100 |
VIDEO_STREAM_TYPE 8 个成员
| 成员 | 值 |
|---|---|
VIDEO_STREAM_HIGH | 0 |
VIDEO_STREAM_LOW | 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 |
VIDEO_TRANSCODER_ERROR 6 个成员
| 成员 | 值 |
|---|---|
VT_ERR_VIDEO_SOURCE_NOT_READY | 1 |
VT_ERR_INVALID_VIDEO_SOURCE_TYPE | 2 |
VT_ERR_INVALID_IMAGE_PATH | 3 |
VT_ERR_UNSUPPORT_IMAGE_FORMAT | 4 |
VT_ERR_INVALID_LAYOUT | 5 |
VT_ERR_INTERNAL | 20 |
VIDEO_VIEW_SETUP_MODE 3 个成员
| 成员 | 值 |
|---|---|
VIDEO_VIEW_SETUP_REPLACE | 0 |
VIDEO_VIEW_SETUP_ADD | 1 |
VIDEO_VIEW_SETUP_REMOVE | 2 |
VOICE_AI_TUNER_TYPE 10 个成员
| 成员 | 值 |
|---|---|
VOICE_AI_TUNER_MATURE_MALE | 0 |
VOICE_AI_TUNER_FRESH_MALE | 1 |
VOICE_AI_TUNER_ELEGANT_FEMALE | 2 |
VOICE_AI_TUNER_SWEET_FEMALE | 3 |
VOICE_AI_TUNER_WARM_MALE_SINGING | 4 |
VOICE_AI_TUNER_GENTLE_FEMALE_SINGING | 5 |
VOICE_AI_TUNER_HUSKY_MALE_SINGING | 6 |
VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING | 7 |
VOICE_AI_TUNER_POWERFUL_MALE_SINGING | 8 |
VOICE_AI_TUNER_DREAMY_FEMALE_SINGING | 9 |
VOICE_BEAUTIFIER_PRESET 14 个成员
| 成员 | 值 |
|---|---|
VOICE_BEAUTIFIER_OFF | null |
CHAT_BEAUTIFIER_MAGNETIC | null |
CHAT_BEAUTIFIER_FRESH | null |
CHAT_BEAUTIFIER_VITALITY | null |
SINGING_BEAUTIFIER | null |
TIMBRE_TRANSFORMATION_VIGOROUS | null |
TIMBRE_TRANSFORMATION_DEEP | null |
TIMBRE_TRANSFORMATION_MELLOW | null |
TIMBRE_TRANSFORMATION_FALSETTO | null |
TIMBRE_TRANSFORMATION_FULL | null |
TIMBRE_TRANSFORMATION_CLEAR | null |
TIMBRE_TRANSFORMATION_RESOUNDING | null |
TIMBRE_TRANSFORMATION_RINGING | null |
ULTRA_HIGH_QUALITY_VOICE | null |
VOICE_CONVERSION_PRESET 5 个成员
| 成员 | 值 |
|---|---|
VOICE_CONVERSION_OFF | null |
VOICE_CHANGER_NEUTRAL | null |
VOICE_CHANGER_SWEET | null |
VOICE_CHANGER_SOLID | null |
VOICE_CHANGER_BASS | null |
WATERMARK_FIT_MODE 2 个成员
| 成员 | 值 |
|---|---|
FIT_MODE_COVER_POSITION | 0 |
FIT_MODE_USE_IMAGE_RATIO | 1 |
WATERMARK_SOURCE_TYPE 4 个成员
| 成员 | 值 |
|---|---|
IMAGE | 0 |
BUFFER | 1 |
LITERAL | 2 |
TIMESTAMPS | 3 |
错误码常量
| 常量 | 值 |
|---|---|
ERR_ABORTED | 20 |
ERR_ADM_GENERAL_ERROR | 1005 |
ERR_ADM_INIT_PLAYOUT | 1008 |
ERR_ADM_INIT_RECORDING | 1011 |
ERR_ADM_START_PLAYOUT | 1009 |
ERR_ADM_START_RECORDING | 1012 |
ERR_ADM_STOP_PLAYOUT | 1010 |
ERR_ADM_STOP_RECORDING | 1013 |
ERR_ALREADY_IN_USE | 19 |
ERR_BITRATE_LIMIT | 115 |
ERR_BUFFER_TOO_SMALL | 6 |
ERR_CLIENT_IS_BANNED_BY_SERVER | 123 |
ERR_CONNECTION_INTERRUPTED | 111 |
ERR_CONNECTION_LOST | 112 |
ERR_DATASTREAM_DECRYPTION_FAILED | 122 |
ERR_DECRYPTION_FAILED | 120 |
ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH | 130 |
ERR_FAILED | 1 |
ERR_INIT_NET_ENGINE | 21 |
ERR_INVALID_APP_ID | 101 |
ERR_INVALID_ARGUMENT | 2 |
ERR_INVALID_CHANNEL_NAME | 102 |
ERR_INVALID_STATE | 8 |
ERR_INVALID_TOKEN | null |
ERR_INVALID_USER_ACCOUNT | 134 |
ERR_INVALID_USER_ID | 121 |
ERR_JOIN_CHANNEL_REJECTED | 17 |
ERR_LEAVE_CHANNEL_REJECTED | 18 |
ERR_LOAD_MEDIA_ENGINE | 1001 |
ERR_NOT_INITIALIZED | 7 |
ERR_NOT_IN_CHANNEL | 113 |
ERR_NOT_READY | 3 |
ERR_NOT_SUPPORTED | 4 |
ERR_NO_PERMISSION | 9 |
ERR_NO_SERVER_RESOURCES | 103 |
ERR_OK | 0 |
ERR_PCMSEND_BUFFEROVERFLOW | 201 |
ERR_PCMSEND_FORMAT | 200 |
ERR_REFUSED | 5 |
ERR_RESOURCE_LIMITED | 22 |
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED | 119 |
ERR_SIZE_TOO_LARGE | 114 |
ERR_STREAM_MESSAGE_TIMEOUT | 117 |
ERR_TIMEDOUT | 10 |
ERR_TOKEN_EXPIRED | 109 |
ERR_TOO_MANY_DATA_STREAMS | 116 |
ERR_VDM_CAMERA_NOT_AUTHORIZED | 1501 |
IRtcEngine | null |
已知限制
以下成员在当前版本暂不可用,调用时返回 -4(ERR_NOT_SUPPORTED)。接口定义中保留这些成员,便于跨端代码保持一致。
| 接口 | 成员 |
|---|---|
FilterEffectOptions | path |
IAgoraParameter | SetParameters |
IAudioFrameObserver | OnPlaybackAudioFrameBeforeMixing |
IAudioFrameObserverBase | OnEarMonitoringAudioFrame |
IAudioFrameObserverBase | OnMixedAudioFrame |
IAudioFrameObserverBase | OnPlaybackAudioFrame |
IAudioFrameObserverBase | OnRecordAudioFrame |
IAudioSpectrumObserver | OnLocalAudioSpectrum |
IAudioSpectrumObserver | OnRemoteAudioSpectrum |
IMediaPlayerCustomDataProvider | OnReadData |
IMediaPlayerCustomDataProvider | OnSeek |
IMediaRecorder | SetMediaRecorderObserver |
IMediaRecorder | StartRecording |
IMediaRecorder | StopRecording |
IMetadataObserver | OnReadyToSendMetadata |
IMusicContentCenter | CreateMusicPlayer |
IMusicContentCenter | DestroyMusicPlayer |
IMusicContentCenter | GetCaches |
IMusicContentCenter | GetInternalSongCode |
IMusicContentCenter | GetLyric |
IMusicContentCenter | GetMusicCharts |
IMusicContentCenter | GetMusicCollectionByMusicChartId |
IMusicContentCenter | GetSongSimpleInfo |
IMusicContentCenter | Initialize |
IMusicContentCenter | IsPreloaded |
IMusicContentCenter | Preload |
IMusicContentCenter | RegisterEventHandler |
IMusicContentCenter | RemoveCache |
IMusicContentCenter | RenewToken |
IMusicContentCenter | SearchMusic |
IMusicContentCenter | UnregisterEventHandler |
IMusicPlayer | Open |
IMusicPlayer | SetPlayMode |
IRtcEngine | AdjustCustomAudioPlayoutVolume |
IRtcEngine | AdjustCustomAudioPublishVolume |
IRtcEngine | ConfigRhythmPlayer |
IRtcEngine | CreateAgoraRtcEngine |
IRtcEngine | CreateMediaRecorder |
IRtcEngine | DestroyMediaRecorder |
IRtcEngine | EnableContentInspect |
IRtcEngine | EnableCustomAudioLocalPlayback |
IRtcEngine | EnableEncryption |
IRtcEngine | EnableExtension |
IRtcEngine | EnableFaceDetection |
IRtcEngine | EnableLoopbackRecording |
IRtcEngine | GetCallId |
IRtcEngine | GetExtensionProperty |
IRtcEngine | GetFaceShapeAreaOptions |
IRtcEngine | GetFaceShapeBeautyOptions |
IRtcEngine | GetMusicContentCenter |
IRtcEngine | GetNativeHandler |
IRtcEngine | IsFeatureAvailableOnDevice |
IRtcEngine | LoadExtensionProvider |
IRtcEngine | PauseAllChannelMediaRelay |
IRtcEngine | QueryCameraFocalLengthCapability |
IRtcEngine | RegisterExtension |
IRtcEngine | ResumeAllChannelMediaRelay |
IRtcEngine | SendMetadata |
IRtcEngine | SetAdvancedAudioOptions |
IRtcEngine | SetAudioSessionOperationRestriction |
IRtcEngine | SetDefaultAudioRouteToSpeakerphone |
IRtcEngine | SetExtensionProperty |
IRtcEngine | SetExtensionProviderProperty |
IRtcEngine | SetExternalMediaProjection |
IRtcEngine | SetExternalRemoteEglContext |
IRtcEngine | SetFaceShapeAreaOptions |
IRtcEngine | SetFaceShapeBeautyOptions |
IRtcEngine | SetLocalAccessPoint |
IRtcEngine | SetLocalRenderTargetFps |
IRtcEngine | SetLocalVideoDataSourcePosition |
IRtcEngine | SetLowlightEnhanceOptions |
IRtcEngine | SetMaxMetadataSize |
IRtcEngine | SetRemoteRenderTargetFps |
IRtcEngine | SetRemoteSubscribeFallbackOption |
IRtcEngine | SetRemoteUserSpatialAudioParams |
IRtcEngine | SetRemoteVideoSubscriptionOptions |
IRtcEngine | SetRouteInCommunicationMode |
IRtcEngine | SetVideoDenoiserOptions |
IRtcEngine | StartLocalAudioMixer |
IRtcEngine | StartLocalVideoTranscoder |
IRtcEngine | StartOrUpdateChannelMediaRelay |
IRtcEngine | StartRhythmPlayer |
IRtcEngine | StartRtmpStreamWithTranscoding |
IRtcEngine | StartRtmpStreamWithoutTranscoding |
IRtcEngine | StartScreenCaptureByDisplayId |
IRtcEngine | StartScreenCaptureByScreenRect |
IRtcEngine | StartScreenCaptureByWindowId |
IRtcEngine | StopChannelMediaRelay |
IRtcEngine | StopLocalAudioMixer |
IRtcEngine | StopLocalVideoTranscoder |
IRtcEngine | StopRhythmPlayer |
IRtcEngine | StopRtmpStream |
IRtcEngine | UnRegisterAudioFrameObserver |
IRtcEngine | UpdateChannelMediaOptions |
IRtcEngine | UpdateLocalAudioMixerConfiguration |
IRtcEngine | UpdateLocalTranscoderConfiguration |
IRtcEngine | UpdatePreloadChannelToken |
IRtcEngine | UpdateRtmpTranscoding |
IRtcEngine | UpdateScreenCapture |
IRtcEngineEventHandler | OnExtensionStartedWithContext |
IRtcEngineEx | AddVideoWatermarkEx |
IRtcEngineEx | AdjustUserPlaybackSignalVolumeEx |
IRtcEngineEx | ClearVideoWatermarkEx |
IRtcEngineEx | CreateAgoraRtcEngineEx |
IRtcEngineEx | CreateDataStreamEx |
IRtcEngineEx | EnableAudioVolumeIndicationEx |
IRtcEngineEx | EnableContentInspectEx |
IRtcEngineEx | EnableDualStreamModeEx |
IRtcEngineEx | EnableEncryptionEx |
IRtcEngineEx | EnableLoopbackRecordingEx |
IRtcEngineEx | GetCallIdEx |
IRtcEngineEx | GetConnectionStateEx |
IRtcEngineEx | JoinChannelEx |
IRtcEngineEx | LeaveChannelEx |
IRtcEngineEx | MuteAllRemoteAudioStreamsEx |
IRtcEngineEx | MuteAllRemoteVideoStreamsEx |
IRtcEngineEx | MuteLocalAudioStreamEx |
IRtcEngineEx | MuteLocalVideoStreamEx |
IRtcEngineEx | MuteRemoteAudioStreamEx |
IRtcEngineEx | MuteRemoteVideoStreamEx |
IRtcEngineEx | PauseAllChannelMediaRelayEx |
IRtcEngineEx | PlayEffectEx |
IRtcEngineEx | PreloadEffectEx |
IRtcEngineEx | RemoveVideoWatermarkEx |
IRtcEngineEx | ResumeAllChannelMediaRelayEx |
IRtcEngineEx | SendStreamMessageEx |
IRtcEngineEx | SetDualStreamModeEx |
IRtcEngineEx | SetRemoteRenderModeEx |
IRtcEngineEx | SetRemoteVideoStreamTypeEx |
IRtcEngineEx | SetRemoteVideoSubscriptionOptionsEx |
IRtcEngineEx | SetRemoteVoicePositionEx |
IRtcEngineEx | SetSubscribeAudioAllowlistEx |
IRtcEngineEx | SetSubscribeAudioBlocklistEx |
IRtcEngineEx | SetSubscribeVideoAllowlistEx |
IRtcEngineEx | SetSubscribeVideoBlocklistEx |
IRtcEngineEx | SetVideoEncoderConfigurationEx |
IRtcEngineEx | SetupRemoteVideoEx |
IRtcEngineEx | StartMediaRenderingTracingEx |
IRtcEngineEx | StartOrUpdateChannelMediaRelayEx |
IRtcEngineEx | StartRtmpStreamWithTranscodingEx |
IRtcEngineEx | StartRtmpStreamWithoutTranscodingEx |
IRtcEngineEx | StopChannelMediaRelayEx |
IRtcEngineEx | StopRtmpStreamEx |
IRtcEngineEx | TakeSnapshotEx |
IRtcEngineEx | UpdateChannelMediaOptionsEx |
IRtcEngineEx | UpdateRtmpTranscodingEx |
IVideoDeviceManager | GetCapability |
IVideoDeviceManager | NumberOfCapabilities |
IVideoEncodedFrameObserver | OnEncodedVideoFrameReceived |
IVideoFrameObserver | OnCaptureVideoFrame |
IVideoFrameObserver | OnPreEncodeVideoFrame |
IVideoFrameObserver | OnRenderVideoFrame |
VideoSurface | OnTextureSizeModify |
VideoSurface | SetEnable |
VideoSurface | SetForUser |