iOS API 参考
构建时从公开 SDK 接口定义生成:接口、方法重载、属性、事件、枚举与错误码。
接口概览
本页列出 iOS 端公开 API 的类、方法、重载、属性、事件与错误码,接口定义与 SDK 包版本一致。
| 核对项 | 数量 |
|---|---|
| 接口 / 类 | 132 |
| 方法 | 649 |
| 方法重载 | 649 |
| 属性 | 560 |
| 枚举 | 151 |
| 错误码常量 | 70 |
可用性
该端 SDK:正式可用。接口定义与 SDK 包版本一致;运行时的能力边界以实际发布的 SDK 包为准。
加入频道核心链路
按 join / leave / publish / subscribe 的典型调用顺序整理;参数表在“最小可运行链路”一节展开。
| 步骤 | 接口 | 方法 | 重载数 |
|---|---|---|---|
| 开启视频与预览 | AgoraRtcEngineKit | enableVideo | 1 |
| 加入频道 | AgoraRtcEngineKit | joinChannelByToken:channelId:info:uid:joinSuccess: | 1 |
| 离开频道 | AgoraRtcEngineKit | leaveChannel: | 1 |
| 创建 / 初始化 | AgoraRtcEngineKit | sharedEngineWithAppId:delegate: | 1 |
最小可运行链路的参数
| 参数 | 类型 | 可选 | 可变参数 |
|---|---|---|---|
token | NSString* | 是 | 否 |
channelId | NSString* | 否 | 否 |
info | NSString* | 是 | 否 |
uid | NSUInteger | 否 | 否 |
joinSuccessBlock | void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | 是 | 否 |
leaveChannelBlock | void(^ )(AgoraChannelStats*stat) | 是 | 否 |
appId | NSString* | 否 | 否 |
delegate | id | 是 | 否 |
接口索引
全部接口
__unattributed__ 55 方法 / 0 属性
addVideoWatermarkEx:connection:(configs: WatermarkConfig*, connection: AgoraRtcConnection*): int
addVideoWatermarkEx:options:connection:(url: NSURL*, options: WatermarkOptions*, connection: AgoraRtcConnection*): int
adjustUserPlaybackSignalVolumeEx:volume:connection:(uid: NSUInteger, volume: NSInteger, connection: AgoraRtcConnection*): int
clearVideoWatermarkEx:(connection: AgoraRtcConnection*): int
createDataStreamEx:config:connection:(streamId: NSInteger*, config: AgoraDataStreamConfig*, connection: AgoraRtcConnection*): int
createDataStreamEx:reliable:ordered:connection:(streamId: NSInteger*, reliable: BOOL, ordered: BOOL, connection: AgoraRtcConnection*): int
enableAudioVolumeIndicationEx:smooth:reportVad:connection:(interval: NSInteger, smooth: NSInteger, reportVad: BOOL, connection: AgoraRtcConnection*): int
enableContentInspectEx:config:connection:(enabled: BOOL, config: AgoraContentInspectConfig*, connection: AgoraRtcConnection*): int
enableDualStreamModeEx:streamConfig:connection:(enabled: BOOL, streamConfig: AgoraSimulcastStreamConfig*, connection: AgoraRtcConnection*): int
enableEncryptionEx:encryptionConfig:connection:(enabled: BOOL, config: AgoraEncryptionConfig*, connection: AgoraRtcConnection*): int
getCallIdEx:(connection: AgoraRtcConnection*): NSString*
getConnectionStateEx:(connection: AgoraRtcConnection*): AgoraConnectionState
getUserInfoByUidEx:connection:withError:(uid: NSUInteger, connection: AgoraRtcConnection*, error?: AgoraErrorCode*): AgoraUserInfo*
getUserInfoByUserAccountEx:connection:withError:(userAccount: NSString*, connection: AgoraRtcConnection*, error?: AgoraErrorCode*): AgoraUserInfo*
joinChannelExByToken:channelId:userAccount:delegate:mediaOptions:joinSuccess:(token?: NSString*, channelId: NSString*, userAccount: NSString*, delegate?: id, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed)): int
joinChannelExByToken:connection:delegate:mediaOptions:joinSuccess:(token?: NSString*, connection: AgoraRtcConnection*, delegate?: id, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed)): int
leaveChannelEx:leaveChannelBlock:(connection: AgoraRtcConnection*, leaveChannelBlock?: void(^ )(AgoraChannelStats*stat)): int
leaveChannelEx:options:leaveChannelBlock:(connection: AgoraRtcConnection*, options: AgoraLeaveChannelOptions*, leaveChannelBlock?: void(^ )(AgoraChannelStats*stat)): int
muteAllRemoteAudioStreamsEx:connection:(mute: BOOL, connection: AgoraRtcConnection*): int
muteAllRemoteVideoStreamsEx:connection:(mute: BOOL, connection: AgoraRtcConnection*): int
muteLocalAudioStreamEx:connection:(mute: BOOL, connection: AgoraRtcConnection*): int
muteLocalVideoStreamEx:connection:(mute: BOOL, connection: AgoraRtcConnection*): int
muteRemoteAudioStreamEx:mute:connection:(uid: NSUInteger, mute: BOOL, connection: AgoraRtcConnection*): int
muteRemoteVideoStreamEx:mute:connection:(uid: NSUInteger, mute: BOOL, connection: AgoraRtcConnection*): int
pauseAllChannelMediaRelayEx:(connection: AgoraRtcConnection*): int
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:(connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger): int
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:publish:(connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL): int
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:publish:startPos:(connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL, startPos: int): int
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:startPos:(connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, startPos: int): int
preloadEffectEx:soundId:filePath:(connection: AgoraRtcConnection*, soundId: int, filePath: NSString*): int
preloadEffectEx:soundId:filePath:startPos:(connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, startPos: int): int
removeVideoWatermarkEx:connection:(id: NSString*, connection: AgoraRtcConnection*): int
resumeAllChannelMediaRelayEx:(connection: AgoraRtcConnection*): int
sendCustomReportMessageEx:category:event:label:value:connection:(messageId?: NSString*, category?: NSString*, event?: NSString*, label?: NSString*, value: NSInteger, connection: AgoraRtcConnection*): int
setDualStreamModeEx:streamConfig:connection:(mode: AgoraSimulcastStreamMode, streamConfig: AgoraSimulcastStreamConfig*, connection: AgoraRtcConnection*): int
setRemoteRenderModeEx:mode:mirror:connection:(uid: NSUInteger, mode: AgoraVideoRenderMode, mirror: AgoraVideoMirrorMode, connection: AgoraRtcConnection*): int
setRemoteVideoStreamEx:type:connection:(uid: NSUInteger, streamType: AgoraVideoStreamType, connection: AgoraRtcConnection*): int
setRemoteVideoSubscriptionOptionsEx:options:connection:(uid: NSUInteger, options: AgoraVideoSubscriptionOptions*, connection: AgoraRtcConnection*): int
setRemoteVoicePositionEx:pan:gain:connection:(uid: NSUInteger, pan: double, gain: double, connection: AgoraRtcConnection*): int
setSubscribeAudioAllowlistEx:connection:(allowlist: NSArray*, connection: AgoraRtcConnection*): int
setSubscribeAudioBlocklistEx:connection:(blocklist: NSArray*, connection: AgoraRtcConnection*): int
setSubscribeVideoAllowlistEx:connection:(allowlist: NSArray*, connection: AgoraRtcConnection*): int
setSubscribeVideoBlocklistEx:connection:(blocklist: NSArray*, connection: AgoraRtcConnection*): int
setVideoEncoderConfigurationEx:connection:(config: AgoraVideoEncoderConfiguration*, connection: AgoraRtcConnection*): int
setupRemoteVideoEx:connection:(remote: AgoraRtcVideoCanvas*, connection: AgoraRtcConnection*): int
startMediaRenderingTracingEx:(connection: AgoraRtcConnection*): int
startOrUpdateChannelMediaRelayEx:connection:(config: AgoraChannelMediaRelayConfiguration*, connection: AgoraRtcConnection*): int
startRtmpStreamWithTranscodingEx:transcoding:connection:(url: NSString*, transcoding?: AgoraLiveTranscoding*, connection: AgoraRtcConnection*): int
startRtmpStreamWithoutTranscodingEx:connection:(url: NSString*, connection: AgoraRtcConnection*): int
stopChannelMediaRelayEx:(connection: AgoraRtcConnection*): int
stopRtmpStreamEx:connection:(url: NSString*, connection: AgoraRtcConnection*): int
takeSnapshotEx:uid:filePath:(connection: AgoraRtcConnection*, uid: NSInteger, filePath: NSString*): NSInteger
takeSnapshotExWithConfig:uid:config:(connection: AgoraRtcConnection*, uid: NSInteger, config: AgoraSnapshotConfig*): NSInteger
updateChannelExWithMediaOptions:connection:(mediaOptions: AgoraRtcChannelMediaOptions*, connection: AgoraRtcConnection*): int
updateRtmpTranscodingEx:connection:(transcoding?: AgoraLiveTranscoding*, connection: AgoraRtcConnection*): int方法明细:55 / 55(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
addVideoWatermarkEx:connection: | configs: WatermarkConfig*, connection: AgoraRtcConnection* | int | 错误码索引 |
addVideoWatermarkEx:options:connection: | url: NSURL*, options: WatermarkOptions*, connection: AgoraRtcConnection* | int | 错误码索引 |
adjustUserPlaybackSignalVolumeEx:volume:connection: | uid: NSUInteger, volume: NSInteger, connection: AgoraRtcConnection* | int | 错误码索引 |
clearVideoWatermarkEx: | connection: AgoraRtcConnection* | int | 错误码索引 |
createDataStreamEx:config:connection: | streamId: NSInteger*, config: AgoraDataStreamConfig*, connection: AgoraRtcConnection* | int | 错误码索引 |
createDataStreamEx:reliable:ordered:connection: | streamId: NSInteger*, reliable: BOOL, ordered: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
enableAudioVolumeIndicationEx:smooth:reportVad:connection: | interval: NSInteger, smooth: NSInteger, reportVad: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
enableContentInspectEx:config:connection: | enabled: BOOL, config: AgoraContentInspectConfig*, connection: AgoraRtcConnection* | int | 错误码索引 |
enableDualStreamModeEx:streamConfig:connection: | enabled: BOOL, streamConfig: AgoraSimulcastStreamConfig*, connection: AgoraRtcConnection* | int | 错误码索引 |
enableEncryptionEx:encryptionConfig:connection: | enabled: BOOL, config: AgoraEncryptionConfig*, connection: AgoraRtcConnection* | int | 错误码索引 |
getCallIdEx: | connection: AgoraRtcConnection* | NSString* | 错误码索引 |
getConnectionStateEx: | connection: AgoraRtcConnection* | AgoraConnectionState | 错误码索引 |
getUserInfoByUidEx:connection:withError: | uid: NSUInteger, connection: AgoraRtcConnection*, error?: AgoraErrorCode* | AgoraUserInfo* | 错误码索引 |
getUserInfoByUserAccountEx:connection:withError: | userAccount: NSString*, connection: AgoraRtcConnection*, error?: AgoraErrorCode* | AgoraUserInfo* | 错误码索引 |
joinChannelExByToken:channelId:userAccount:delegate:mediaOptions:joinSuccess: | token?: NSString*, channelId: NSString*, userAccount: NSString*, delegate?: id, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | int | 错误码索引 |
joinChannelExByToken:connection:delegate:mediaOptions:joinSuccess: | token?: NSString*, connection: AgoraRtcConnection*, delegate?: id, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | int | 错误码索引 |
leaveChannelEx:leaveChannelBlock: | connection: AgoraRtcConnection*, leaveChannelBlock?: void(^ )(AgoraChannelStats*stat) | int | 错误码索引 |
leaveChannelEx:options:leaveChannelBlock: | connection: AgoraRtcConnection*, options: AgoraLeaveChannelOptions*, leaveChannelBlock?: void(^ )(AgoraChannelStats*stat) | int | 错误码索引 |
muteAllRemoteAudioStreamsEx:connection: | mute: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
muteAllRemoteVideoStreamsEx:connection: | mute: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
muteLocalAudioStreamEx:connection: | mute: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
muteLocalVideoStreamEx:connection: | mute: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
muteRemoteAudioStreamEx:mute:connection: | uid: NSUInteger, mute: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
muteRemoteVideoStreamEx:mute:connection: | uid: NSUInteger, mute: BOOL, connection: AgoraRtcConnection* | int | 错误码索引 |
pauseAllChannelMediaRelayEx: | connection: AgoraRtcConnection* | int | 错误码索引 |
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain: | connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger | int | 错误码索引 |
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:publish: | connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL | int | 错误码索引 |
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:publish:startPos: | connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL, startPos: int | int | 错误码索引 |
playEffectEx:soundId:filePath:loopCount:pitch:pan:gain:startPos: | connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, startPos: int | int | 错误码索引 |
preloadEffectEx:soundId:filePath: | connection: AgoraRtcConnection*, soundId: int, filePath: NSString* | int | 错误码索引 |
preloadEffectEx:soundId:filePath:startPos: | connection: AgoraRtcConnection*, soundId: int, filePath: NSString*, startPos: int | int | 错误码索引 |
removeVideoWatermarkEx:connection: | id: NSString*, connection: AgoraRtcConnection* | int | 错误码索引 |
resumeAllChannelMediaRelayEx: | connection: AgoraRtcConnection* | int | 错误码索引 |
sendCustomReportMessageEx:category:event:label:value:connection: | messageId?: NSString*, category?: NSString*, event?: NSString*, label?: NSString*, value: NSInteger, connection: AgoraRtcConnection* | int | 错误码索引 |
setDualStreamModeEx:streamConfig:connection: | mode: AgoraSimulcastStreamMode, streamConfig: AgoraSimulcastStreamConfig*, connection: AgoraRtcConnection* | int | 错误码索引 |
setRemoteRenderModeEx:mode:mirror:connection: | uid: NSUInteger, mode: AgoraVideoRenderMode, mirror: AgoraVideoMirrorMode, connection: AgoraRtcConnection* | int | 错误码索引 |
setRemoteVideoStreamEx:type:connection: | uid: NSUInteger, streamType: AgoraVideoStreamType, connection: AgoraRtcConnection* | int | 错误码索引 |
setRemoteVideoSubscriptionOptionsEx:options:connection: | uid: NSUInteger, options: AgoraVideoSubscriptionOptions*, connection: AgoraRtcConnection* | int | 错误码索引 |
setRemoteVoicePositionEx:pan:gain:connection: | uid: NSUInteger, pan: double, gain: double, connection: AgoraRtcConnection* | int | 错误码索引 |
setSubscribeAudioAllowlistEx:connection: | allowlist: NSArray*, connection: AgoraRtcConnection* | int | 错误码索引 |
setSubscribeAudioBlocklistEx:connection: | blocklist: NSArray*, connection: AgoraRtcConnection* | int | 错误码索引 |
setSubscribeVideoAllowlistEx:connection: | allowlist: NSArray*, connection: AgoraRtcConnection* | int | 错误码索引 |
setSubscribeVideoBlocklistEx:connection: | blocklist: NSArray*, connection: AgoraRtcConnection* | int | 错误码索引 |
setVideoEncoderConfigurationEx:connection: | config: AgoraVideoEncoderConfiguration*, connection: AgoraRtcConnection* | int | 错误码索引 |
setupRemoteVideoEx:connection: | remote: AgoraRtcVideoCanvas*, connection: AgoraRtcConnection* | int | 错误码索引 |
startMediaRenderingTracingEx: | connection: AgoraRtcConnection* | int | 错误码索引 |
startOrUpdateChannelMediaRelayEx:connection: | config: AgoraChannelMediaRelayConfiguration*, connection: AgoraRtcConnection* | int | 错误码索引 |
startRtmpStreamWithTranscodingEx:transcoding:connection: | url: NSString*, transcoding?: AgoraLiveTranscoding*, connection: AgoraRtcConnection* | int | 错误码索引 |
startRtmpStreamWithoutTranscodingEx:connection: | url: NSString*, connection: AgoraRtcConnection* | int | 错误码索引 |
stopChannelMediaRelayEx: | connection: AgoraRtcConnection* | int | 错误码索引 |
stopRtmpStreamEx:connection: | url: NSString*, connection: AgoraRtcConnection* | int | 错误码索引 |
takeSnapshotEx:uid:filePath: | connection: AgoraRtcConnection*, uid: NSInteger, filePath: NSString* | NSInteger | 错误码索引 |
takeSnapshotExWithConfig:uid:config: | connection: AgoraRtcConnection*, uid: NSInteger, config: AgoraSnapshotConfig* | NSInteger | 错误码索引 |
updateChannelExWithMediaOptions:connection: | mediaOptions: AgoraRtcChannelMediaOptions*, connection: AgoraRtcConnection* | int | 错误码索引 |
updateRtmpTranscodingEx:connection: | transcoding?: AgoraLiveTranscoding*, connection: AgoraRtcConnection* | int | 错误码索引 |
AdvancedConfigInfo 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
logUploadServer | LogUploadServerInfo* | 否 |
AgoraAdvancedAudioOptions 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
audioProcessingChannels | AgoraAudioProcessChannels | 否 |
AgoraAdvancedVideoOptions 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
encodingPreference | AgoraEncodingPreference | 否 |
compressionPreference | AgoraCompressionPreference | 否 |
encodeAlpha | BOOL | 否 |
AgoraAudioEncodedFrameDelegate 3 方法 / 0 属性
onMixedEncodedAudioFrame:info:(frameData: NSData*, info: AgoraEncodedAudioFrameInfo*): void
onPlaybackEncodedAudioFrame:info:(frameData: NSData*, info: AgoraEncodedAudioFrameInfo*): void
onRecordEncodedAudioFrame:info:(frameData: NSData*, info: AgoraEncodedAudioFrameInfo*): void方法明细:3 / 3(参数、返回值、错误码)
AgoraAudioEncodedFrameDelegateConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
postionType | AgoraAudioEncodedFrameDelegatePosition | 否 |
encodingType | AgoraAudioEncodingType | 否 |
AgoraAudioFrame 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
samplesPerChannel | NSInteger | 否 |
bytesPerSample | NSInteger | 否 |
channels | NSInteger | 否 |
samplesPerSec | NSInteger | 否 |
buffer | void* | 否 |
renderTimeMs | int64_t | 否 |
avSyncType | NSInteger | 否 |
rtpTimestamp | uint32_t | 否 |
AgoraAudioFrameDelegate 10 方法 / 0 属性
getEarMonitoringAudioParams(): AgoraAudioParams*
getMixedAudioParams(): AgoraAudioParams*
getObservedAudioFramePosition(): AgoraAudioFramePosition
getPlaybackAudioParams(): AgoraAudioParams*
getRecordAudioParams(): AgoraAudioParams*
onEarMonitoringAudioFrame:(frame: AgoraAudioFrame*): BOOL
onMixedAudioFrame:channelId:(frame: AgoraAudioFrame*, channelId: NSString*): BOOL
onPlaybackAudioFrame:channelId:(frame: AgoraAudioFrame*, channelId: NSString*): BOOL
onPlaybackAudioFrameBeforeMixing:channelId:uid:(frame: AgoraAudioFrame*, channelId: NSString*, uid: NSUInteger): BOOL
onRecordAudioFrame:channelId:(frame: AgoraAudioFrame*, channelId: NSString*): BOOL方法明细:10 / 10(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
getEarMonitoringAudioParams | — | AgoraAudioParams* | 错误码索引 |
getMixedAudioParams | — | AgoraAudioParams* | 错误码索引 |
getObservedAudioFramePosition | — | AgoraAudioFramePosition | 错误码索引 |
getPlaybackAudioParams | — | AgoraAudioParams* | 错误码索引 |
getRecordAudioParams | — | AgoraAudioParams* | 错误码索引 |
onEarMonitoringAudioFrame: | frame: AgoraAudioFrame* | BOOL | 错误码索引 |
onMixedAudioFrame:channelId: | frame: AgoraAudioFrame*, channelId: NSString* | BOOL | 错误码索引 |
onPlaybackAudioFrame:channelId: | frame: AgoraAudioFrame*, channelId: NSString* | BOOL | 错误码索引 |
onPlaybackAudioFrameBeforeMixing:channelId:uid: | frame: AgoraAudioFrame*, channelId: NSString*, uid: NSUInteger | BOOL | 错误码索引 |
onRecordAudioFrame:channelId: | frame: AgoraAudioFrame*, channelId: NSString* | BOOL | 错误码索引 |
AgoraAudioParams 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
sampleRate | NSInteger | 否 |
channel | NSInteger | 否 |
mode | AgoraAudioRawFrameOperationMode | 否 |
samplesPerCall | NSInteger | 否 |
AgoraAudioRecordingConfiguration 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
filePath | NSString* | 否 |
sampleRate | NSUInteger | 否 |
fileRecordOption | AgoraAudioFileRecordingType | 否 |
quality | AgoraAudioRecordingQuality | 否 |
recordingChannel | NSInteger | 否 |
AgoraAudioSpectrumDelegate 2 方法 / 0 属性
onLocalAudioSpectrum:(audioSpectrumData?: NSArray*): BOOL
onRemoteAudioSpectrum:(AudioSpectrumInfo?: NSArray*): BOOL方法明细:2 / 2(参数、返回值、错误码)
AgoraAudioSpectrumInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSInteger | 否 |
audioSpectrumData | NSArray* | 否 |
AgoraAudioTrackConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
enableLocalPlayback | BOOL | 否 |
enableAudioProcessing | BOOL | 否 |
AgoraBeautyOptions 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
lighteningContrastLevel | AgoraLighteningContrastLevel | 否 |
lighteningLevel | float | 否 |
smoothnessLevel | float | 否 |
rednessLevel | float | 否 |
sharpnessLevel | float | 否 |
AgoraCameraCapturerConfiguration 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
cameraDirection | AgoraCameraDirection | 否 |
cameraFocalLengthType | AgoraFocalLength | 否 |
deviceId | NSString* | 否 |
dimensions | CGSize | 否 |
frameRate | int | 否 |
followEncodeDimensionRatio | BOOL | 否 |
AgoraChannelMediaRelayConfiguration 2 方法 / 2 属性
removeDestinationInfoForChannelName:(channelName: NSString*): BOOL
setDestinationInfo:forChannelName:(destinationInfo: AgoraChannelMediaRelayInfo*, channelName: NSString*): BOOL方法明细:2 / 2(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
removeDestinationInfoForChannelName: | channelName: NSString* | BOOL | 错误码索引 |
setDestinationInfo:forChannelName: | destinationInfo: AgoraChannelMediaRelayInfo*, channelName: NSString* | BOOL | 错误码索引 |
| 属性 | 类型 | 只读 |
|---|---|---|
destinationInfos | NSDictionary* | 否 |
sourceInfo | AgoraChannelMediaRelayInfo* | 否 |
AgoraChannelMediaRelayInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
token | NSString* | 否 |
channelName | NSString* | 否 |
uid | NSUInteger | 否 |
AgoraChannelStats 0 方法 / 28 属性
| 属性 | 类型 | 只读 |
|---|---|---|
duration | NSUInteger | 否 |
txBytes | NSUInteger | 否 |
rxBytes | NSUInteger | 否 |
txAudioKBitrate | NSUInteger | 否 |
rxAudioKBitrate | NSUInteger | 否 |
txVideoKBitrate | NSUInteger | 否 |
rxVideoKBitrate | NSUInteger | 否 |
txAudioBytes | NSUInteger | 否 |
txVideoBytes | NSUInteger | 否 |
rxAudioBytes | NSUInteger | 否 |
rxVideoBytes | NSUInteger | 否 |
lastmileDelay | NSUInteger | 否 |
userCount | NSUInteger | 否 |
cpuAppUsage | double | 否 |
cpuTotalUsage | double | 否 |
gatewayRtt | NSInteger | 否 |
memoryAppUsageRatio | double | 否 |
memoryTotalUsageRatio | double | 否 |
memoryAppUsageInKbytes | NSInteger | 否 |
connectTimeMs | NSInteger | 否 |
txKBitrate | NSUInteger | 否 |
rxKBitrate | NSUInteger | 否 |
firstAudioPacketDuration | NSInteger | 否 |
firstVideoPacketDuration | NSInteger | 否 |
firstVideoKeyFramePacketDuration | NSInteger | 否 |
packetsBeforeFirstKeyFramePacket | NSInteger | 否 |
txPacketLossRate | NSInteger | 否 |
rxPacketLossRate | NSInteger | 否 |
AgoraClientRoleOptions 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
audienceLatencyLevel | AgoraAudienceLatencyLevelType | 否 |
AgoraClimaxSegment 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
startTimeMs | NSInteger | 否 |
endTimeMs | NSInteger | 否 |
AgoraColorEnhanceOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
strengthLevel | float | 否 |
skinProtectLevel | float | 否 |
AgoraContentInspectConfig 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
extraInfo | NSString* | 否 |
serverConfig | NSString* | 否 |
modules | NSArray* | 否 |
AgoraContentInspectModule 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | AgoraContentInspectType | 否 |
interval | NSInteger | 否 |
position | AgoraVideoModulePosition | 否 |
AgoraDataStreamConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
ordered | BOOL | 否 |
syncWithAudio | BOOL | 否 |
AgoraEchoTestConfiguration 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
view | VIEW_CLASS* | 否 |
enableAudio | BOOL | 否 |
enableVideo | BOOL | 否 |
token | NSString* | 否 |
channelId | NSString* | 否 |
intervalInSeconds | NSInteger | 否 |
AgoraEncodedAudioFrameInfo 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
samplesPerChannel | NSInteger | 否 |
channels | NSInteger | 否 |
samplesPerSec | NSInteger | 否 |
codecType | AgoraAudioCodecType | 否 |
AgoraEncodedVideoFrameDelegate 1 方法 / 0 属性
onEncodedVideoFrameReceived:length:info:channelId:uid:(videoData: NSData*, length: size_t, videoFrameInfo: AgoraEncodedVideoFrameInfo*, channelId: NSString*, uid: NSUInteger): BOOL方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
onEncodedVideoFrameReceived:length:info:channelId:uid: | videoData: NSData*, length: size_t, videoFrameInfo: AgoraEncodedVideoFrameInfo*, channelId: NSString*, uid: NSUInteger | BOOL | 错误码索引 |
AgoraEncodedVideoFrameInfo 0 方法 / 10 属性
| 属性 | 类型 | 只读 |
|---|---|---|
codecType | AgoraVideoCodecType | 否 |
width | NSInteger | 否 |
height | NSInteger | 否 |
framesPerSecond | NSInteger | 否 |
frameType | AgoraVideoFrameType | 否 |
rotation | NSInteger | 否 |
trackId | NSInteger | 否 |
captureTimeMs | NSInteger | 否 |
decodeTimeMs | NSInteger | 否 |
streamType | AgoraVideoStreamType | 否 |
AgoraEncryptionConfig 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
encryptionMode | AgoraEncryptionMode | 否 |
encryptionKey | NSString* | 否 |
encryptionKdfSalt | NSData* | 否 |
datastreamEncryptionEnabled | BOOL | 否 |
AgoraExtensionContext 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
isValid | BOOL | 否 |
uid | NSUInteger | 否 |
providerName | NSString* | 否 |
extensionName | NSString* | 否 |
AgoraFacePositionInfo 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
x | NSInteger | 否 |
y | NSInteger | 否 |
width | NSInteger | 否 |
height | NSInteger | 否 |
distance | NSInteger | 否 |
AgoraFaceShapeAreaOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
shapeArea | AgoraFaceShapeArea | 否 |
shapeIntensity | int | 否 |
AgoraFaceShapeBeautyOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
shapeStyle | AgoraFaceShapeStyle | 否 |
styleIntensity | int | 否 |
AgoraFilterEffectOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
path | NSString* | 否 |
strength | float | 否 |
AgoraFocalLengthInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
cameraDirection | int | 否 |
focalLengthType | AgoraFocalLength | 否 |
AgoraImage 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
url | NSURL* | 否 |
rect | CGRect | 否 |
zOrder | NSInteger | 否 |
alpha | double | 否 |
AgoraImageTrackOptions 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
imageUrl | NSString* | 否 |
fps | int | 否 |
mirrorMode | AgoraVideoMirrorMode | 否 |
AgoraLastmileProbeConfig 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
probeUplink | BOOL | 否 |
probeDownlink | BOOL | 否 |
expectedUplinkBitrate | NSUInteger | 否 |
expectedDownlinkBitrate | NSUInteger | 否 |
AgoraLastmileProbeOneWayResult 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
packetLossRate | NSUInteger | 否 |
jitter | NSUInteger | 否 |
availableBandwidth | NSUInteger | 否 |
AgoraLastmileProbeResult 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
state | AgoraLastmileProbeResultState | 否 |
rtt | NSUInteger | 否 |
uplinkReport | AgoraLastmileProbeOneWayResult* | 否 |
downlinkReport | AgoraLastmileProbeOneWayResult* | 否 |
AgoraLeaveChannelOptions 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
stopAudioMixing | BOOL | 否 |
stopAllEffect | BOOL | 否 |
stopMicrophoneRecording | BOOL | 否 |
AgoraLiveStreamAdvancedFeature 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
featureName | NSString* | 否 |
opened | BOOL | 否 |
AgoraLiveTranscoding 5 方法 / 16 属性
addUser:(user: AgoraLiveTranscodingUser*): int
defaultTranscoding(): AgoraLiveTranscoding*
getAdvancedFeatures(): NSArray*
removeUser:(uid: NSUInteger): int
setAdvancedFeatures:opened:(featureName: NSString*, opened: BOOL): void方法明细:5 / 5(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
addUser: | user: AgoraLiveTranscodingUser* | int | 错误码索引 |
defaultTranscoding | — | AgoraLiveTranscoding* | 错误码索引 |
getAdvancedFeatures | — | NSArray* | 错误码索引 |
removeUser: | uid: NSUInteger | int | 错误码索引 |
setAdvancedFeatures:opened: | featureName: NSString*, opened: BOOL | void | 错误码索引 |
| 属性 | 类型 | 只读 |
|---|---|---|
transcodingUsers | NSArray* | 否 |
size | CGSize | 否 |
videoBitrate | NSInteger | 否 |
videoFramerate | NSInteger | 否 |
lowLatency | BOOL | 否 |
videoGop | NSInteger | 否 |
videoCodecProfile | AgoraVideoCodecProfileType | 否 |
videoCodecType | AgoraVideoCodecTypeForStream | 否 |
transcodingExtraInfo | NSString* | 否 |
watermarkArray | NSArray* | 否 |
backgroundImageArray | NSArray* | 否 |
backgroundColor | COLOR_CLASS* | 否 |
audioSampleRate | AgoraAudioSampleRateType | 否 |
audioBitrate | NSInteger | 否 |
audioChannels | NSInteger | 否 |
audioCodecProfile | AgoraAudioCodecProfileType | 否 |
AgoraLiveTranscodingUser 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
rect | CGRect | 否 |
zOrder | NSInteger | 否 |
alpha | double | 否 |
audioChannel | NSInteger | 否 |
AgoraLocalAccessPointConfiguration 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
ipList | NSArray* | 否 |
domainList | NSArray* | 否 |
verifyDomainName | NSString* | 否 |
mode | AgoraLocalProxyMode | 否 |
advancedConfig | AdvancedConfigInfo* | 否 |
disableAut | BOOL | 否 |
AgoraLocalAudioMixerConfiguration 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
audioInputStreams | NSArray* | 否 |
syncWithLocalMic | BOOL | 否 |
AgoraLocalSpatialAudioConfig 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
rtcEngine | AgoraRtcEngineKit* | 否 |
AgoraLocalSpatialAudioKit 5 方法 / 0 属性
destroy(): void
removeRemotePosition:(uid: NSUInteger): int
setRemoteAudioAttenuation:uid:forceSet:(attenuation: double, uid: NSUInteger, forceSet: BOOL): int
sharedLocalSpatialAudioWithConfig:(config: AgoraLocalSpatialAudioConfig*): instancetype
updateRemotePosition:positionInfo:(uid: NSUInteger, posInfo: AgoraRemoteVoicePositionInfo*): int方法明细:5 / 5(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
destroy | — | void | 错误码索引 |
removeRemotePosition: | uid: NSUInteger | int | 错误码索引 |
setRemoteAudioAttenuation:uid:forceSet: | attenuation: double, uid: NSUInteger, forceSet: BOOL | int | 错误码索引 |
sharedLocalSpatialAudioWithConfig: | config: AgoraLocalSpatialAudioConfig* | instancetype | 错误码索引 |
updateRemotePosition:positionInfo: | uid: NSUInteger, posInfo: AgoraRemoteVoicePositionInfo* | int | 错误码索引 |
AgoraLocalTranscoderConfiguration 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
videoInputStreams | NSArray* | 否 |
videoOutputConfiguration | AgoraVideoEncoderConfiguration* | 否 |
syncWithPrimaryCamera | BOOL | 否 |
AgoraLogConfig 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
filePath | NSString* | 否 |
fileSizeInKB | NSInteger | 否 |
level | AgoraLogLevel | 否 |
AgoraLowlightEnhanceOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
mode | AgoraLowlightEnhanceMode | 否 |
level | AgoraLowlightEnhanceLevel | 否 |
AgoraMediaMetadataDataSource 2 方法 / 0 属性
metadataMaxSize(): NSInteger
readyToSendMetadataAtTimestamp:sourceType:(timestamp: NSTimeInterval, sourceType: AgoraVideoSourceType): NSData*方法明细:2 / 2(参数、返回值、错误码)
AgoraMediaMetadataDelegate 1 方法 / 0 属性
didMetadataReceived:(metadata: AgoraMetadata*): void方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
didMetadataReceived: | metadata: AgoraMetadata* | void | 错误码索引 |
AgoraMediaPlayerCacheStatistics 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
fileSize | NSInteger | 否 |
cacheSize | NSInteger | 否 |
downloadSize | NSInteger | 否 |
AgoraMediaPlayerPlaybackStats 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
videoFps | NSInteger | 否 |
videoBitrateInKbps | NSInteger | 否 |
audioBitrateInKbps | NSInteger | 否 |
totalBitrateInKbps | NSInteger | 否 |
AgoraMediaPlayerSrcInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
bitrateInKbps | int | 否 |
name | NSString* | 否 |
AgoraMediaPlayerUpdatedInfo 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
deviceId | NSString* | 否 |
videoHeight | NSInteger | 否 |
videoWidth | NSInteger | 否 |
audioSampleRate | NSInteger | 否 |
audioChannels | NSInteger | 否 |
audioBitsPerSample | NSInteger | 否 |
AgoraMediaRecorder 4 方法 / 0 属性
enableMainQueueDispatch:(enabled: BOOL): int
setMediaRecorderDelegate:(delegate?: id): int
startRecording:(config: AgoraMediaRecorderConfiguration*): int
stopRecording(): int方法明细:4 / 4(参数、返回值、错误码)
AgoraMediaRecorderConfiguration 0 方法 / 11 属性
| 属性 | 类型 | 只读 |
|---|---|---|
storagePath | NSString* | 否 |
containerFormat | AgoraMediaRecorderContainerFormat | 否 |
streamType | AgoraMediaRecorderStreamType | 否 |
maxDurationMs | NSUInteger | 否 |
recorderInfoUpdateInterval | NSUInteger | 否 |
width | NSUInteger | 否 |
height | NSUInteger | 否 |
fps | NSUInteger | 否 |
sample_rate | NSUInteger | 否 |
channel_num | NSUInteger | 否 |
videoSourceType | AgoraVideoSourceType | 否 |
AgoraMediaRecorderDelegate 2 方法 / 0 属性
mediaRecorder:informationDidUpdated:uid:info:(recorder: AgoraMediaRecorder*, channelId: NSString*, uid: NSUInteger, info: AgoraMediaRecorderInfo*): void
mediaRecorder:stateDidChanged:uid:state:reason:(recorder: AgoraMediaRecorder*, channelId: NSString*, uid: NSUInteger, state: AgoraMediaRecorderState, reason: AgoraMediaRecorderReasonCode): void方法明细:2 / 2(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
mediaRecorder:informationDidUpdated:uid:info: | recorder: AgoraMediaRecorder*, channelId: NSString*, uid: NSUInteger, info: AgoraMediaRecorderInfo* | void | 错误码索引 |
mediaRecorder:stateDidChanged:uid:state:reason: | recorder: AgoraMediaRecorder*, channelId: NSString*, uid: NSUInteger, state: AgoraMediaRecorderState, reason: AgoraMediaRecorderReasonCode | void | 错误码索引 |
AgoraMediaRecorderInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
recorderFileName | NSString* | 否 |
durationMs | NSUInteger | 否 |
fileSize | NSUInteger | 否 |
AgoraMediaSource 0 方法 / 10 属性
| 属性 | 类型 | 只读 |
|---|---|---|
url | NSString* | 否 |
uri | NSString* | 否 |
startPos | NSUInteger | 否 |
autoPlay | BOOL | 否 |
enableCache | BOOL | 否 |
enableMultiAudioTrack | BOOL | 否 |
isAgoraSource | BOOL | 否 |
isLiveSource | BOOL | 否 |
playerOnReadCallback | AgoraRtcMediaPlayerCustomSourceOnReadCallback | 否 |
playerOnSeekCallback | AgoraRtcMediaPlayerCustomSourceOnSeekCallback | 否 |
AgoraMetadata 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | NSString* | 否 |
uid | NSInteger | 否 |
data | NSData* | 否 |
timestamp | NSTimeInterval | 否 |
AgoraMixedAudioStream 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
sourceType | AgoraAudioSourceType | 否 |
remoteUserUid | NSUInteger | 否 |
channelId | NSString* | 否 |
trackId | NSUInteger | 否 |
AgoraMultipathStats 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
lanRxBytes | NSUInteger | 否 |
lanTxBytes | NSUInteger | 否 |
wifiRxBytes | NSUInteger | 否 |
wifiTxBytes | NSUInteger | 否 |
mobileRxBytes | NSUInteger | 否 |
mobileTxBytes | NSUInteger | 否 |
activePathNum | NSUInteger | 否 |
pathStats | NSArray* | 否 |
AgoraMusic 0 方法 / 11 属性
| 属性 | 类型 | 只读 |
|---|---|---|
songCode | NSInteger | 否 |
type | NSInteger | 否 |
pitchType | NSInteger | 否 |
name | NSString* | 否 |
singer | NSString* | 否 |
poster | NSString* | 否 |
releaseTime | NSString* | 否 |
durationS | NSInteger | 否 |
lyricList | NSArray* | 否 |
mvPropertyList | NSArray* | 否 |
climaxSegmentList | NSArray* | 否 |
AgoraMusicCacheInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
songCode | NSInteger | 否 |
statusType | AgoraMusicCacheStatusType | 否 |
AgoraMusicChartInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
chartName | NSString* | 否 |
identify | NSInteger | 否 |
AgoraMusicCollection 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
count | NSInteger | 否 |
total | NSInteger | 否 |
page | NSInteger | 否 |
pageSize | NSInteger | 否 |
musicList | NSArray* | 否 |
AgoraMusicContentCenter 18 方法 / 0 属性
createMusicPlayerWithDelegate:(delegate?: id): id
destroy(): void
destroyMusicPlayer:(musicPlayer: id): NSInteger
enableMainQueueDispatch:(enabled: BOOL): void
getCaches(): NSArray*
getInternalSongCode:jsonOption:(songCode: NSInteger, jsonOption?: NSString*): NSInteger
getLyricWithSongCode:lyricType:(songCode: NSInteger, lyricType: NSInteger): NSString*
getMusicCharts(): NSString*
getMusicCollectionWithMusicChartId:page:pageSize:jsonOption:(musicChartId: NSInteger, page: NSInteger, pageSize: NSInteger, jsonOption?: NSString*): NSString*
getSongSimpleInfoWithSongCode:(songCode: NSInteger): NSString*
isPreloadedWithSongCode:(songCode: NSInteger): NSInteger
preloadWithSongCode:(songCode: NSInteger): NSString*
preloadWithSongCode:jsonOption:(songCode: NSInteger, jsonOption?: NSString*): NSInteger
registerEventDelegate:(eventDelegate?: id): NSInteger
removeCacheWithSongCode:(songCode: NSInteger): NSInteger
renewToken:(token: NSString*): NSInteger
searchMusicWithKeyWord:page:pageSize:jsonOption:(keyWord: NSString*, page: NSInteger, pageSize: NSInteger, jsonOption?: NSString*): NSString*
sharedContentCenterWithConfig:(config: AgoraMusicContentCenterConfig*): instancetype方法明细:18 / 18(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
createMusicPlayerWithDelegate: | delegate?: id | id | 错误码索引 |
destroy | — | void | 错误码索引 |
destroyMusicPlayer: | musicPlayer: id | NSInteger | 错误码索引 |
enableMainQueueDispatch: | enabled: BOOL | void | 错误码索引 |
getCaches | — | NSArray* | 错误码索引 |
getInternalSongCode:jsonOption: | songCode: NSInteger, jsonOption?: NSString* | NSInteger | 错误码索引 |
getLyricWithSongCode:lyricType: | songCode: NSInteger, lyricType: NSInteger | NSString* | 错误码索引 |
getMusicCharts | — | NSString* | 错误码索引 |
getMusicCollectionWithMusicChartId:page:pageSize:jsonOption: | musicChartId: NSInteger, page: NSInteger, pageSize: NSInteger, jsonOption?: NSString* | NSString* | 错误码索引 |
getSongSimpleInfoWithSongCode: | songCode: NSInteger | NSString* | 错误码索引 |
isPreloadedWithSongCode: | songCode: NSInteger | NSInteger | 错误码索引 |
preloadWithSongCode: | songCode: NSInteger | NSString* | 错误码索引 |
preloadWithSongCode:jsonOption: | songCode: NSInteger, jsonOption?: NSString* | NSInteger | 错误码索引 |
registerEventDelegate: | eventDelegate?: id | NSInteger | 错误码索引 |
removeCacheWithSongCode: | songCode: NSInteger | NSInteger | 错误码索引 |
renewToken: | token: NSString* | NSInteger | 错误码索引 |
searchMusicWithKeyWord:page:pageSize:jsonOption: | keyWord: NSString*, page: NSInteger, pageSize: NSInteger, jsonOption?: NSString* | NSString* | 错误码索引 |
sharedContentCenterWithConfig: | config: AgoraMusicContentCenterConfig* | instancetype | 错误码索引 |
AgoraMusicContentCenterConfig 0 方法 / 6 属性
| 属性 | 类型 | 只读 |
|---|---|---|
rtcEngine | AgoraRtcEngineKit* | 否 |
appId | NSString* | 否 |
token | NSString* | 否 |
mccUid | NSInteger | 否 |
maxCacheSize | NSUInteger | 否 |
eventDelegate | id | 否 |
AgoraMusicContentCenterEventDelegate 5 方法 / 0 属性
onLyricResult:songCode:lyricUrl:reason:(requestId: NSString*, songCode: NSInteger, lyricUrl?: NSString*, reason: AgoraMusicContentCenterStateReason): void
onMusicChartsResult:result:reason:(requestId: NSString*, result: NSArray*, reason: AgoraMusicContentCenterStateReason): void
onMusicCollectionResult:result:reason:(requestId: NSString*, result: AgoraMusicCollection*, reason: AgoraMusicContentCenterStateReason): void
onPreLoadEvent:songCode:percent:lyricUrl:state:reason:(requestId: NSString*, songCode: NSInteger, percent: NSInteger, lyricUrl?: NSString*, state: AgoraMusicContentCenterPreloadState, reason: AgoraMusicContentCenterStateReason): void
onSongSimpleInfoResult:songCode:simpleInfo:reason:(requestId: NSString*, songCode: NSInteger, simpleInfo?: NSString*, reason: AgoraMusicContentCenterStateReason): void方法明细:5 / 5(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
onLyricResult:songCode:lyricUrl:reason: | requestId: NSString*, songCode: NSInteger, lyricUrl?: NSString*, reason: AgoraMusicContentCenterStateReason | void | 错误码索引 |
onMusicChartsResult:result:reason: | requestId: NSString*, result: NSArray*, reason: AgoraMusicContentCenterStateReason | void | 错误码索引 |
onMusicCollectionResult:result:reason: | requestId: NSString*, result: AgoraMusicCollection*, reason: AgoraMusicContentCenterStateReason | void | 错误码索引 |
onPreLoadEvent:songCode:percent:lyricUrl:state:reason: | requestId: NSString*, songCode: NSInteger, percent: NSInteger, lyricUrl?: NSString*, state: AgoraMusicContentCenterPreloadState, reason: AgoraMusicContentCenterStateReason | void | 错误码索引 |
onSongSimpleInfoResult:songCode:simpleInfo:reason: | requestId: NSString*, songCode: NSInteger, simpleInfo?: NSString*, reason: AgoraMusicContentCenterStateReason | void | 错误码索引 |
AgoraMusicPlayerProtocol 2 方法 / 0 属性
openMediaWithSongCode:startPos:(songCode: NSInteger, startPos: NSInteger): NSInteger
setPlayMode:(mode: AgoraMusicPlayMode): NSInteger方法明细:2 / 2(参数、返回值、错误码)
AgoraOutputVideoFrame 0 方法 / 17 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | NSInteger | 否 |
width | int | 否 |
height | int | 否 |
yStride | int | 否 |
uStride | int | 否 |
vStride | int | 否 |
yBuffer | uint8_t* | 否 |
uBuffer | uint8_t* | 否 |
vBuffer | uint8_t* | 否 |
rotation | int | 否 |
renderTimeMs | int64_t | 否 |
avSyncType | int | 否 |
pixelBuffer | CVPixelBufferRef | 否 |
alphaBuffer | uint8_t* | 否 |
alphaStitchMode | AgoraAlphaStitchMode | 否 |
metaInfo | NSDictionary* | 否 |
colorSpace | AgoraColorSpace* | 否 |
AgoraPathStats 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
pathType | AgoraMultipathType | 否 |
txKBitRate | NSUInteger | 否 |
rxKBitRate | NSUInteger | 否 |
AgoraRecorderStreamInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
channelId | NSString* | 否 |
type | AgoraRecorderStreamType | 否 |
AgoraRemoteVoicePositionInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
position | simd_float3 | 否 |
forward | simd_float3 | 否 |
AgoraRhythmPlayerConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
beatsPerMeasure | int | 否 |
beatsPerMinute | int | 否 |
AgoraRtcAudioVolumeInfo 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
volume | NSUInteger | 否 |
vad | NSUInteger | 否 |
voicePitch | double | 否 |
AgoraRtcChannelMediaOptions 0 方法 / 38 属性
| 属性 | 类型 | 只读 |
|---|---|---|
publishCameraTrack | BOOL | 否 |
publishSecondaryCameraTrack | BOOL | 否 |
publishMicrophoneTrack | BOOL | 否 |
publishScreenCaptureVideo | BOOL | 否 |
publishScreenCaptureAudio | BOOL | 否 |
publishThirdCameraTrack | BOOL | 否 |
publishFourthCameraTrack | BOOL | 否 |
publishScreenTrack | BOOL | 否 |
publishSecondaryScreenTrack | BOOL | 否 |
publishThirdScreenTrack | BOOL | 否 |
publishFourthScreenTrack | BOOL | 否 |
publishCustomAudioTrack | BOOL | 否 |
publishCustomAudioTrackId | NSInteger | 否 |
publishCustomVideoTrack | BOOL | 否 |
publishEncodedVideoTrack | BOOL | 否 |
publishMediaPlayerAudioTrack | BOOL | 否 |
publishMediaPlayerVideoTrack | BOOL | 否 |
publishTranscodedVideoTrack | BOOL | 否 |
publishLipSyncTrack | BOOL | 否 |
autoSubscribeAudio | BOOL | 否 |
autoSubscribeVideo | BOOL | 否 |
enableAudioRecordingOrPlayout | BOOL | 否 |
publishMediaPlayerId | NSInteger | 否 |
clientRoleType | AgoraClientRole | 否 |
audienceLatencyLevel | AgoraAudienceLatencyLevelType | 否 |
defaultVideoStreamType | AgoraVideoStreamType | 否 |
channelProfile | AgoraChannelProfile | 否 |
publishMixedAudioTrack | BOOL | 否 |
audioDelayMs | NSInteger | 否 |
mediaPlayerAudioDelayMs | NSInteger | 否 |
token | NSString* | 否 |
enableBuiltInMediaEncryption | BOOL | 否 |
publishRhythmPlayerTrack | BOOL | 否 |
isInteractiveAudience | BOOL | 否 |
customVideoTrackId | NSInteger | 否 |
isAudioFilterable | BOOL | 否 |
enableMultipath | BOOL | 否 |
preferMultipathType | AgoraMultipathType | 否 |
AgoraRtcConnection 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | NSString* | 否 |
localUid | NSUInteger | 否 |
AgoraRtcEngineConfig 0 方法 / 10 属性
| 属性 | 类型 | 只读 |
|---|---|---|
appId | NSString* | 否 |
channelProfile | AgoraChannelProfile | 否 |
license | NSString* | 否 |
audioScenario | AgoraAudioScenario | 否 |
areaCode | AgoraAreaCodeType | 否 |
logConfig | AgoraLogConfig* | 否 |
threadPriority | AgoraThreadPriorityType | 否 |
eventDelegate | id | 否 |
domainLimit | BOOL | 否 |
autoRegisterAgoraExtensions | BOOL | 否 |
AgoraRtcEngineDelegate 82 方法 / 0 属性
audioQualityBlock:(audioQualityBlock?: void(^ )(NSUInteger uid,AgoraNetworkQuality quality,NSUInteger delay,NSUInteger lost)): void
onEventWithContext:key:value:(context: AgoraExtensionContext*, key?: NSString*, value?: NSString*): void
onExtensionErrorWithContext:error:message:(context: AgoraExtensionContext*, error: int, message?: NSString*): void
onExtensionStartedWithContext:(context: AgoraExtensionContext*): void
onExtensionStoppedWithContext:(context: AgoraExtensionContext*): void
rtcEngine:activeSpeaker:(engine: AgoraRtcEngineKit*, speakerUid: NSUInteger): void
rtcEngine:audioMixingPositionChanged:(engine: AgoraRtcEngineKit*, position: NSInteger): void
rtcEngine:audioMixingStateChanged:reasonCode:(engine: AgoraRtcEngineKit*, state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode): void
rtcEngine:audioTransportStatsOfUid:delay:lost:rxKBitRate:(engine: AgoraRtcEngineKit*, uid: NSUInteger, delay: NSUInteger, lost: NSUInteger, rxKBitRate: NSUInteger): void
rtcEngine:cameraExposureDidChangedToRect:(engine: AgoraRtcEngineKit*, rect: CGRect): void
rtcEngine:cameraFocusDidChangedToRect:(engine: AgoraRtcEngineKit*, rect: CGRect): void
rtcEngine:channelMediaRelayStateDidChange:error:(engine: unknown, state: unknown, error: unknown): unknown
rtcEngine:connectionChangedToState:reason:(engine: AgoraRtcEngineKit*, state: AgoraConnectionState, reason: AgoraConnectionChangedReason): void
rtcEngine:didAudioMuted:byUid:(engine: AgoraRtcEngineKit*, muted: BOOL, uid: NSUInteger): void
rtcEngine:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:(engine: unknown, channelId: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown): unknown
rtcEngine:didAudioRouteChanged:(engine: AgoraRtcEngineKit*, routing: AgoraAudioOutputRouting): void
rtcEngine:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:(engine: unknown, channelId: unknown, uid: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown): unknown
rtcEngine:didClientRoleChangeFailed:currentRole:(engine: AgoraRtcEngineKit*, reason: AgoraClientRoleChangeFailedReason, currentRole: AgoraClientRole): void
rtcEngine:didClientRoleChanged:newRole:newRoleOptions:(engine: AgoraRtcEngineKit*, oldRole: AgoraClientRole, newRole: AgoraClientRole, newRoleOptions?: AgoraClientRoleOptions*): void
rtcEngine:didJoinChannel:withUid:elapsed:(engine: AgoraRtcEngineKit*, channel: NSString*, uid: NSUInteger, elapsed: NSInteger): void
rtcEngine:didJoinedOfUid:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, elapsed: NSInteger): void
rtcEngine:didLeaveChannelWithStats:(engine: AgoraRtcEngineKit*, stats: AgoraChannelStats*): void
rtcEngine:didLocalUserRegisteredWithUserId:userAccount:(engine: AgoraRtcEngineKit*, uid: NSUInteger, userAccount: NSString*): void
rtcEngine:didLocalVideoEnabled:byUid:(engine: AgoraRtcEngineKit*, enabled: BOOL, uid: NSUInteger): void
rtcEngine:didLocalVideoTranscoderErrorWithStream:errorCode:(engine: AgoraRtcEngineKit*, stream: AgoraTranscodingVideoStream*, errorCode: AgoraVideoTranscoderError): void
rtcEngine:didOccurEncryptionError:(engine: AgoraRtcEngineKit*, errorType: AgoraEncryptionErrorType): void
rtcEngine:didOccurError:(engine: AgoraRtcEngineKit*, errorCode: AgoraErrorCode): void
rtcEngine:didOccurStreamMessageErrorFromUid:streamId:error:missed:cached:(engine: AgoraRtcEngineKit*, uid: NSUInteger, streamId: NSInteger, error: NSInteger, missed: NSInteger, cached: NSInteger): void
rtcEngine:didOfflineOfUid:reason:(engine: AgoraRtcEngineKit*, uid: NSUInteger, reason: AgoraUserOfflineReason): void
rtcEngine:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:(engine: AgoraRtcEngineKit*, channel: NSString*, uid: NSUInteger, proxyType: AgoraProxyType, localProxyIp: NSString*, elapsed: NSInteger): void
rtcEngine:didRejoinChannel:withUid:elapsed:(engine: AgoraRtcEngineKit*, channel: NSString*, uid: NSUInteger, elapsed: NSInteger): void
rtcEngine:didRemoteSubscribeFallbackToAudioOnly:byUid:(engine: AgoraRtcEngineKit*, isFallbackOrRecover: BOOL, uid: NSUInteger): void
rtcEngine:didRhythmPlayerStateChanged:reason:(engine: AgoraRtcEngineKit*, state: AgoraRhythmPlayerState, reason: AgoraRhythmPlayerReason): void
rtcEngine:didTranscodedStreamLayoutInfoUpdatedWithUserId:videoLayoutInfo:(engine: AgoraRtcEngineKit*, uid: NSUInteger, videoLayoutInfo: AgoraVideoLayoutInfo*): void
rtcEngine:didUserInfoUpdatedWithUserId:userInfo:(engine: AgoraRtcEngineKit*, uid: NSUInteger, userInfo: AgoraUserInfo*): void
rtcEngine:didVideoEnabled:byUid:(engine: AgoraRtcEngineKit*, enabled: BOOL, uid: NSUInteger): void
rtcEngine:didVideoMuted:byUid:(engine: AgoraRtcEngineKit*, muted: BOOL, uid: NSUInteger): void
rtcEngine:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:(engine: unknown, channelId: unknown, sourceType: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown): unknown
rtcEngine:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:(engine: unknown, channelId: unknown, uid: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown): unknown
rtcEngine:facePositionDidChangeWidth:previewHeight:faces:(engine: AgoraRtcEngineKit*, width: int, height: int, faces?: NSArray*): void
rtcEngine:firstLocalAudioFramePublished:(engine: AgoraRtcEngineKit*, elapsed: NSInteger): void
rtcEngine:firstLocalVideoFramePublishedWithElapsed:sourceType:(engine: AgoraRtcEngineKit*, elapsed: NSInteger, sourceType: AgoraVideoSourceType): void
rtcEngine:firstLocalVideoFrameWithSize:elapsed:sourceType:(engine: AgoraRtcEngineKit*, size: CGSize, elapsed: NSInteger, sourceType: AgoraVideoSourceType): void
rtcEngine:firstRemoteAudioFrameDecodedOfUid:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, elapsed: NSInteger): void
rtcEngine:firstRemoteAudioFrameOfUid:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, elapsed: NSInteger): void
rtcEngine:firstRemoteVideoDecodedOfUid:size:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, size: CGSize, elapsed: NSInteger): void
rtcEngine:firstRemoteVideoFrameOfUid:size:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, size: CGSize, elapsed: NSInteger): void
rtcEngine:lastmileProbeTestResult:(engine: AgoraRtcEngineKit*, result: AgoraLastmileProbeResult*): void
rtcEngine:lastmileQuality:(engine: AgoraRtcEngineKit*, quality: AgoraNetworkQuality): void
rtcEngine:localAudioStateChanged:reason:(engine: AgoraRtcEngineKit*, state: AgoraAudioLocalState, reason: AgoraAudioLocalReason): void
rtcEngine:localAudioStats:(engine: AgoraRtcEngineKit*, stats: AgoraRtcLocalAudioStats*): void
rtcEngine:localVideoStateChangedOfState:reason:sourceType:(engine: AgoraRtcEngineKit*, state: AgoraVideoLocalState, reason: AgoraLocalVideoStreamReason, sourceType: AgoraVideoSourceType): void
rtcEngine:localVideoStats:sourceType:(engine: AgoraRtcEngineKit*, stats: AgoraRtcLocalVideoStats*, sourceType: AgoraVideoSourceType): void
rtcEngine:multiPathStats:(engine: AgoraRtcEngineKit*, stats: AgoraMultipathStats*): void
rtcEngine:networkQuality:txQuality:rxQuality:(engine: AgoraRtcEngineKit*, uid: NSUInteger, txQuality: AgoraNetworkQuality, rxQuality: AgoraNetworkQuality): void
rtcEngine:networkTypeChanged:(engine: AgoraRtcEngineKit*, type: AgoraNetworkType): void
rtcEngine:permissionError:(engine: AgoraRtcEngineKit*, type: AgoraPermissionType): void
rtcEngine:receiveStreamMessageFromUid:streamId:data:(engine: AgoraRtcEngineKit*, uid: NSUInteger, streamId: NSInteger, data: NSData*): void
rtcEngine:remoteAudioStateChangedOfUid:state:reason:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: NSInteger): void
rtcEngine:remoteAudioStats:(engine: AgoraRtcEngineKit*, stats: AgoraRtcRemoteAudioStats*): void
rtcEngine:remoteVideoStateChangedOfUid:state:reason:elapsed:(engine: AgoraRtcEngineKit*, uid: NSUInteger, state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: NSInteger): void
rtcEngine:remoteVideoStats:(engine: AgoraRtcEngineKit*, stats: AgoraRtcRemoteVideoStats*): void
rtcEngine:renewTokenResult:code:(engine: AgoraRtcEngineKit*, token: NSString*, code: AgoraRenewTokenErrorCode): void
rtcEngine:reportAudioVolumeIndicationOfSpeakers:totalVolume:(engine: AgoraRtcEngineKit*, speakers: NSArray*, totalVolume: NSInteger): void
rtcEngine:reportRtcStats:(engine: AgoraRtcEngineKit*, stats: AgoraChannelStats*): void
rtcEngine:rtmpStreamingChangedToState:state:reason:(engine: AgoraRtcEngineKit*, url: NSString*, state: AgoraRtmpStreamingState, reason: AgoraRtmpStreamingReason): void
rtcEngine:rtmpStreamingEventWithUrl:eventCode:(engine: AgoraRtcEngineKit*, url: NSString*, eventCode: AgoraRtmpStreamingEvent): void
rtcEngine:snapshotTaken:filePath:width:height:errCode:(engine: AgoraRtcEngineKit*, uid: NSUInteger, filePath: NSString*, width: NSInteger, height: NSInteger, errCode: NSInteger): void
rtcEngine:tokenPrivilegeWillExpire:(engine: AgoraRtcEngineKit*, token: NSString*): void
rtcEngine:uplinkNetworkInfoUpdate:(engine: AgoraRtcEngineKit*, networkInfo: AgoraUplinkNetworkInfo*): void
rtcEngine:videoRenderingTracingResultOfUid:currentEvent:tracingInfo:(engine: AgoraRtcEngineKit*, uid: NSUInteger, currentEvent: AgoraMediaTraceEvent, tracingInfo: AgoraVideoRenderingTracingInfo*): void
rtcEngine:videoSizeChangedOfSourceType:uid:size:rotation:(engine: AgoraRtcEngineKit*, sourceType: AgoraVideoSourceType, uid: NSUInteger, size: CGSize, rotation: NSInteger): void
rtcEngine:videoTransportStatsOfUid:delay:lost:rxKBitRate:(engine: AgoraRtcEngineKit*, uid: NSUInteger, delay: NSUInteger, lost: NSUInteger, rxKBitRate: NSUInteger): void
rtcEngineCameraDidReady:(engine: AgoraRtcEngineKit*): void
rtcEngineConnectionDidBanned:(engine: AgoraRtcEngineKit*): void
rtcEngineConnectionDidInterrupted:(engine: AgoraRtcEngineKit*): void
rtcEngineConnectionDidLost:(engine: AgoraRtcEngineKit*): void
rtcEngineDidAudioEffectFinish:soundId:(engine: AgoraRtcEngineKit*, soundId: int): void
rtcEngineLocalAudioMixingDidFinish:(engine: AgoraRtcEngineKit*): void
rtcEngineRequestToken:(engine: AgoraRtcEngineKit*): void
rtcEngineTranscodingUpdated:(engine: AgoraRtcEngineKit*): void
rtcEngineVideoDidStop:(engine: AgoraRtcEngineKit*): void方法明细:82 / 82(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
audioQualityBlock: | audioQualityBlock?: void(^ )(NSUInteger uid,AgoraNetworkQuality quality,NSUInteger delay,NSUInteger lost) | void | 错误码索引 |
onEventWithContext:key:value: | context: AgoraExtensionContext*, key?: NSString*, value?: NSString* | void | 错误码索引 |
onExtensionErrorWithContext:error:message: | context: AgoraExtensionContext*, error: int, message?: NSString* | void | 错误码索引 |
onExtensionStartedWithContext: | context: AgoraExtensionContext* | void | 错误码索引 |
onExtensionStoppedWithContext: | context: AgoraExtensionContext* | void | 错误码索引 |
rtcEngine:activeSpeaker: | engine: AgoraRtcEngineKit*, speakerUid: NSUInteger | void | 错误码索引 |
rtcEngine:audioMixingPositionChanged: | engine: AgoraRtcEngineKit*, position: NSInteger | void | 错误码索引 |
rtcEngine:audioMixingStateChanged:reasonCode: | engine: AgoraRtcEngineKit*, state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode | void | 错误码索引 |
rtcEngine:audioTransportStatsOfUid:delay:lost:rxKBitRate: | engine: AgoraRtcEngineKit*, uid: NSUInteger, delay: NSUInteger, lost: NSUInteger, rxKBitRate: NSUInteger | void | 错误码索引 |
rtcEngine:cameraExposureDidChangedToRect: | engine: AgoraRtcEngineKit*, rect: CGRect | void | 错误码索引 |
rtcEngine:cameraFocusDidChangedToRect: | engine: AgoraRtcEngineKit*, rect: CGRect | void | 错误码索引 |
rtcEngine:channelMediaRelayStateDidChange:error: | engine: unknown, state: unknown, error: unknown | unknown | 错误码索引 |
rtcEngine:connectionChangedToState:reason: | engine: AgoraRtcEngineKit*, state: AgoraConnectionState, reason: AgoraConnectionChangedReason | void | 错误码索引 |
rtcEngine:didAudioMuted:byUid: | engine: AgoraRtcEngineKit*, muted: BOOL, uid: NSUInteger | void | 错误码索引 |
rtcEngine:didAudioPublishStateChange:oldState:newState:elapseSinceLastState: | engine: unknown, channelId: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown | unknown | 错误码索引 |
rtcEngine:didAudioRouteChanged: | engine: AgoraRtcEngineKit*, routing: AgoraAudioOutputRouting | void | 错误码索引 |
rtcEngine:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState: | engine: unknown, channelId: unknown, uid: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown | unknown | 错误码索引 |
rtcEngine:didClientRoleChangeFailed:currentRole: | engine: AgoraRtcEngineKit*, reason: AgoraClientRoleChangeFailedReason, currentRole: AgoraClientRole | void | 错误码索引 |
rtcEngine:didClientRoleChanged:newRole:newRoleOptions: | engine: AgoraRtcEngineKit*, oldRole: AgoraClientRole, newRole: AgoraClientRole, newRoleOptions?: AgoraClientRoleOptions* | void | 错误码索引 |
rtcEngine:didJoinChannel:withUid:elapsed: | engine: AgoraRtcEngineKit*, channel: NSString*, uid: NSUInteger, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:didJoinedOfUid:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:didLeaveChannelWithStats: | engine: AgoraRtcEngineKit*, stats: AgoraChannelStats* | void | 错误码索引 |
rtcEngine:didLocalUserRegisteredWithUserId:userAccount: | engine: AgoraRtcEngineKit*, uid: NSUInteger, userAccount: NSString* | void | 错误码索引 |
rtcEngine:didLocalVideoEnabled:byUid: | engine: AgoraRtcEngineKit*, enabled: BOOL, uid: NSUInteger | void | 错误码索引 |
rtcEngine:didLocalVideoTranscoderErrorWithStream:errorCode: | engine: AgoraRtcEngineKit*, stream: AgoraTranscodingVideoStream*, errorCode: AgoraVideoTranscoderError | void | 错误码索引 |
rtcEngine:didOccurEncryptionError: | engine: AgoraRtcEngineKit*, errorType: AgoraEncryptionErrorType | void | 错误码索引 |
rtcEngine:didOccurError: | engine: AgoraRtcEngineKit*, errorCode: AgoraErrorCode | void | 错误码索引 |
rtcEngine:didOccurStreamMessageErrorFromUid:streamId:error:missed:cached: | engine: AgoraRtcEngineKit*, uid: NSUInteger, streamId: NSInteger, error: NSInteger, missed: NSInteger, cached: NSInteger | void | 错误码索引 |
rtcEngine:didOfflineOfUid:reason: | engine: AgoraRtcEngineKit*, uid: NSUInteger, reason: AgoraUserOfflineReason | void | 错误码索引 |
rtcEngine:didProxyConnected:withUid:proxyType:localProxyIp:elapsed: | engine: AgoraRtcEngineKit*, channel: NSString*, uid: NSUInteger, proxyType: AgoraProxyType, localProxyIp: NSString*, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:didRejoinChannel:withUid:elapsed: | engine: AgoraRtcEngineKit*, channel: NSString*, uid: NSUInteger, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:didRemoteSubscribeFallbackToAudioOnly:byUid: | engine: AgoraRtcEngineKit*, isFallbackOrRecover: BOOL, uid: NSUInteger | void | 错误码索引 |
rtcEngine:didRhythmPlayerStateChanged:reason: | engine: AgoraRtcEngineKit*, state: AgoraRhythmPlayerState, reason: AgoraRhythmPlayerReason | void | 错误码索引 |
rtcEngine:didTranscodedStreamLayoutInfoUpdatedWithUserId:videoLayoutInfo: | engine: AgoraRtcEngineKit*, uid: NSUInteger, videoLayoutInfo: AgoraVideoLayoutInfo* | void | 错误码索引 |
rtcEngine:didUserInfoUpdatedWithUserId:userInfo: | engine: AgoraRtcEngineKit*, uid: NSUInteger, userInfo: AgoraUserInfo* | void | 错误码索引 |
rtcEngine:didVideoEnabled:byUid: | engine: AgoraRtcEngineKit*, enabled: BOOL, uid: NSUInteger | void | 错误码索引 |
rtcEngine:didVideoMuted:byUid: | engine: AgoraRtcEngineKit*, muted: BOOL, uid: NSUInteger | void | 错误码索引 |
rtcEngine:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState: | engine: unknown, channelId: unknown, sourceType: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown | unknown | 错误码索引 |
rtcEngine:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState: | engine: unknown, channelId: unknown, uid: unknown, oldState: unknown, newState: unknown, elapseSinceLastState: unknown | unknown | 错误码索引 |
rtcEngine:facePositionDidChangeWidth:previewHeight:faces: | engine: AgoraRtcEngineKit*, width: int, height: int, faces?: NSArray* | void | 错误码索引 |
rtcEngine:firstLocalAudioFramePublished: | engine: AgoraRtcEngineKit*, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:firstLocalVideoFramePublishedWithElapsed:sourceType: | engine: AgoraRtcEngineKit*, elapsed: NSInteger, sourceType: AgoraVideoSourceType | void | 错误码索引 |
rtcEngine:firstLocalVideoFrameWithSize:elapsed:sourceType: | engine: AgoraRtcEngineKit*, size: CGSize, elapsed: NSInteger, sourceType: AgoraVideoSourceType | void | 错误码索引 |
rtcEngine:firstRemoteAudioFrameDecodedOfUid:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:firstRemoteAudioFrameOfUid:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:firstRemoteVideoDecodedOfUid:size:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, size: CGSize, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:firstRemoteVideoFrameOfUid:size:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, size: CGSize, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:lastmileProbeTestResult: | engine: AgoraRtcEngineKit*, result: AgoraLastmileProbeResult* | void | 错误码索引 |
rtcEngine:lastmileQuality: | engine: AgoraRtcEngineKit*, quality: AgoraNetworkQuality | void | 错误码索引 |
rtcEngine:localAudioStateChanged:reason: | engine: AgoraRtcEngineKit*, state: AgoraAudioLocalState, reason: AgoraAudioLocalReason | void | 错误码索引 |
rtcEngine:localAudioStats: | engine: AgoraRtcEngineKit*, stats: AgoraRtcLocalAudioStats* | void | 错误码索引 |
rtcEngine:localVideoStateChangedOfState:reason:sourceType: | engine: AgoraRtcEngineKit*, state: AgoraVideoLocalState, reason: AgoraLocalVideoStreamReason, sourceType: AgoraVideoSourceType | void | 错误码索引 |
rtcEngine:localVideoStats:sourceType: | engine: AgoraRtcEngineKit*, stats: AgoraRtcLocalVideoStats*, sourceType: AgoraVideoSourceType | void | 错误码索引 |
rtcEngine:multiPathStats: | engine: AgoraRtcEngineKit*, stats: AgoraMultipathStats* | void | 错误码索引 |
rtcEngine:networkQuality:txQuality:rxQuality: | engine: AgoraRtcEngineKit*, uid: NSUInteger, txQuality: AgoraNetworkQuality, rxQuality: AgoraNetworkQuality | void | 错误码索引 |
rtcEngine:networkTypeChanged: | engine: AgoraRtcEngineKit*, type: AgoraNetworkType | void | 错误码索引 |
rtcEngine:permissionError: | engine: AgoraRtcEngineKit*, type: AgoraPermissionType | void | 错误码索引 |
rtcEngine:receiveStreamMessageFromUid:streamId:data: | engine: AgoraRtcEngineKit*, uid: NSUInteger, streamId: NSInteger, data: NSData* | void | 错误码索引 |
rtcEngine:remoteAudioStateChangedOfUid:state:reason:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:remoteAudioStats: | engine: AgoraRtcEngineKit*, stats: AgoraRtcRemoteAudioStats* | void | 错误码索引 |
rtcEngine:remoteVideoStateChangedOfUid:state:reason:elapsed: | engine: AgoraRtcEngineKit*, uid: NSUInteger, state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: NSInteger | void | 错误码索引 |
rtcEngine:remoteVideoStats: | engine: AgoraRtcEngineKit*, stats: AgoraRtcRemoteVideoStats* | void | 错误码索引 |
rtcEngine:renewTokenResult:code: | engine: AgoraRtcEngineKit*, token: NSString*, code: AgoraRenewTokenErrorCode | void | 错误码索引 |
rtcEngine:reportAudioVolumeIndicationOfSpeakers:totalVolume: | engine: AgoraRtcEngineKit*, speakers: NSArray*, totalVolume: NSInteger | void | 错误码索引 |
rtcEngine:reportRtcStats: | engine: AgoraRtcEngineKit*, stats: AgoraChannelStats* | void | 错误码索引 |
rtcEngine:rtmpStreamingChangedToState:state:reason: | engine: AgoraRtcEngineKit*, url: NSString*, state: AgoraRtmpStreamingState, reason: AgoraRtmpStreamingReason | void | 错误码索引 |
rtcEngine:rtmpStreamingEventWithUrl:eventCode: | engine: AgoraRtcEngineKit*, url: NSString*, eventCode: AgoraRtmpStreamingEvent | void | 错误码索引 |
rtcEngine:snapshotTaken:filePath:width:height:errCode: | engine: AgoraRtcEngineKit*, uid: NSUInteger, filePath: NSString*, width: NSInteger, height: NSInteger, errCode: NSInteger | void | 错误码索引 |
rtcEngine:tokenPrivilegeWillExpire: | engine: AgoraRtcEngineKit*, token: NSString* | void | 错误码索引 |
rtcEngine:uplinkNetworkInfoUpdate: | engine: AgoraRtcEngineKit*, networkInfo: AgoraUplinkNetworkInfo* | void | 错误码索引 |
rtcEngine:videoRenderingTracingResultOfUid:currentEvent:tracingInfo: | engine: AgoraRtcEngineKit*, uid: NSUInteger, currentEvent: AgoraMediaTraceEvent, tracingInfo: AgoraVideoRenderingTracingInfo* | void | 错误码索引 |
rtcEngine:videoSizeChangedOfSourceType:uid:size:rotation: | engine: AgoraRtcEngineKit*, sourceType: AgoraVideoSourceType, uid: NSUInteger, size: CGSize, rotation: NSInteger | void | 错误码索引 |
rtcEngine:videoTransportStatsOfUid:delay:lost:rxKBitRate: | engine: AgoraRtcEngineKit*, uid: NSUInteger, delay: NSUInteger, lost: NSUInteger, rxKBitRate: NSUInteger | void | 错误码索引 |
rtcEngineCameraDidReady: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineConnectionDidBanned: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineConnectionDidInterrupted: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineConnectionDidLost: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineDidAudioEffectFinish:soundId: | engine: AgoraRtcEngineKit*, soundId: int | void | 错误码索引 |
rtcEngineLocalAudioMixingDidFinish: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineRequestToken: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineTranscodingUpdated: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
rtcEngineVideoDidStop: | engine: AgoraRtcEngineKit* | void | 错误码索引 |
AgoraRtcEngineKit 295 方法 / 0 属性
addVideoWatermark:(watermark: AgoraImage*): int
addVideoWatermark:options:(url: NSURL*, options: WatermarkOptions*): int
addVideoWatermarkWithConfig:(config: WatermarkConfig*): int
adjustAudioMixingPlayoutVolume:(volume: NSInteger): int
adjustAudioMixingPublishVolume:(volume: NSInteger): int
adjustAudioMixingVolume:(volume: NSInteger): int
adjustCustomAudioPlayoutVolume:volume:(trackId: NSInteger, volume: NSInteger): int
adjustCustomAudioPublishVolume:volume:(trackId: NSInteger, volume: NSInteger): int
adjustPlaybackSignalVolume:(volume: NSInteger): int
adjustRecordingSignalVolume:(volume: NSInteger): int
adjustUserPlaybackSignalVolume:volume:(uid: NSUInteger, volume: int): int
cameraMaxZoomFactor(): CGFloat
clearVideoWatermarks(): int
complain:description:(callId: NSString*, description?: NSString*): int
configRhythmPlayer:(config?: AgoraRhythmPlayerConfig*): int
createCustomAudioTrack:config:(trackType: AgoraAudioTrackType, config: AgoraAudioTrackConfig*): int
createCustomVideoTrack(): unsigned int
createDataStream:config:(streamId: NSInteger*, config: AgoraDataStreamConfig*): int
createDataStream:reliable:ordered:(streamId: NSInteger*, reliable: BOOL, ordered: BOOL): int
createMediaPlayerWithDelegate:(delegate?: id): id
createMediaRecorder:(info: AgoraRecorderStreamInfo*): AgoraMediaRecorder*
createVideoEffectObjectWithBundlePath:sourceType:(bundlePath: NSString*, sourceType: AgoraMediaSourceType): id
delegate(): unknown
destroy(): void
destroy:(engineReleasedBlock?: void (^ )(void)): void
destroyCustomAudioTrack:(trackId: NSInteger): int
destroyCustomVideoTrack:(videoTrackId: NSUInteger): int
destroyMediaPlayer:(mediaPlayer?: id): int
destroyMediaRecorder:(mediaRecorder?: AgoraMediaRecorder*): int
destroyVideoEffectObject:(videoEffectObject?: id): int
disableAudio(): int
disableAudioSpectrumMonitor(): int
disableVideo(): int
enableAudio(): int
enableAudioSpectrumMonitor:(intervalInMS: int): int
enableAudioVolumeIndication:smooth:reportVad:(interval: NSInteger, smooth: NSInteger, reportVad: BOOL): int
enableCameraCenterStage:(enabled: BOOL): int
enableContentInspect:config:(enabled: BOOL, config: AgoraContentInspectConfig*): int
enableCustomAudioLocalPlayback:enabled:(trackId: NSInteger, enabled: BOOL): int
enableDualStreamMode:(enabled: BOOL): int
enableDualStreamMode:streamConfig:(enabled: BOOL, streamConfig: AgoraSimulcastStreamConfig*): int
enableEncryption:encryptionConfig:(enabled: BOOL, config: AgoraEncryptionConfig*): int
enableExtensionWithVendor:extension:enabled:sourceType:(provider: NSString*, extension: NSString*, enabled: BOOL, sourceType: AgoraMediaSourceType): int
enableExternalAudioSink:sampleRate:channels:(enabled: BOOL, sampleRate: NSUInteger, channels: NSUInteger): void
enableFaceDetection:(enable: BOOL): int
enableInEarMonitoring:(enabled: BOOL): int
enableInEarMonitoring:includeAudioFilters:(enabled: BOOL, includeAudioFilters: AgoraEarMonitoringFilterType): int
enableInstantMediaRendering(): int
enableLocalAudio:(enabled: BOOL): int
enableLocalVideo:(enabled: BOOL): int
enableMainQueueDispatch:(enabled: BOOL): int
enableMultiCamera:config:(enabled: BOOL, config?: AgoraCameraCapturerConfiguration*): int
enableSoundPositionIndication:(enabled: BOOL): int
enableSpatialAudio:(enabled: BOOL): int
enableVideo(): int
enableVideoImageSource:options:(enable: BOOL, options?: AgoraImageTrackOptions*): int
enableVirtualBackground:backData:segData:(enable: BOOL, backData?: AgoraVirtualBackgroundSource*, segData?: AgoraSegmentationProperty*): int
enableVirtualBackground:backData:segData:sourceType:(enable: BOOL, backData?: AgoraVirtualBackgroundSource*, segData?: AgoraSegmentationProperty*, sourceType: AgoraMediaSourceType): int
enableVoiceAITuner:type:(enabled: BOOL, type: AgoraVoiceAITunerType): int
enableWebSdkInteroperability:(enabled: BOOL): int
getAudioMixingCurrentPosition(): int
getAudioMixingDuration(): int
getAudioMixingPlayoutVolume(): int
getAudioMixingPublishVolume(): int
getAudioTrackCount(): int
getCallId(): NSString*
getConnectionState(): AgoraConnectionState
getCurrentMonotonicTimeInMs(): int64_t
getEffectCurrentPosition:(soundId: int): int
getEffectDuration:(filePath: NSString*): int
getEffectsVolume(): int
getErrorDescription:(error: NSInteger): NSString*
getExtensionPropertyWithVendor:extension:key:(provider: NSString*, extension: NSString*, key: NSString*): NSString*
getExtensionPropertyWithVendor:extension:key:sourceType:(provider: NSString*, extension: NSString*, key: NSString*, sourceType: AgoraMediaSourceType): NSString*
getFaceShapeAreaOptions:(area: AgoraFaceShapeArea): AgoraFaceShapeAreaOptions*
getFaceShapeAreaOptions:sourceType:(area: AgoraFaceShapeArea, sourceType: AgoraMediaSourceType): AgoraFaceShapeAreaOptions*
getFaceShapeBeautyOptions(): AgoraFaceShapeBeautyOptions*
getFaceShapeBeautyOptions:(sourceType: AgoraMediaSourceType): AgoraFaceShapeBeautyOptions*
getNativeHandle(): void*
getNetworkType(): int
getNtpWallTimeInMs(): uint64_t
getSdkVersion(): NSString*
getUserInfoByUid:withError:(uid: NSUInteger, error?: AgoraErrorCode*): AgoraUserInfo*
getUserInfoByUserAccount:withError:(userAccount: NSString*, error?: AgoraErrorCode*): AgoraUserInfo*
getVolumeOfEffect:(soundId: int): int
isCameraAutoExposureFaceModeSupported(): BOOL
isCameraAutoFocusFaceModeSupported(): BOOL
isCameraCenterStageSupported(): BOOL
isCameraExposurePositionSupported(): BOOL
isCameraExposureSupported(): BOOL
isCameraFocusPositionInPreviewSupported(): BOOL
isCameraTorchSupported(): BOOL
isCameraZoomSupported(): BOOL
isFeatureAvailableOnDevice:(type: AgoraFeatureType): BOOL
isSpeakerphoneEnabled(): BOOL
joinChannelByToken:channelId:info:uid:joinSuccess:(token?: NSString*, channelId: NSString*, info?: NSString*, uid: NSUInteger, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed)): int
joinChannelByToken:channelId:uid:mediaOptions:joinSuccess:(token?: NSString*, channelId: NSString*, uid: NSUInteger, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed)): int
joinChannelByToken:channelId:userAccount:joinSuccess:(token?: NSString*, channelId: NSString*, userAccount: NSString*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed)): int
joinChannelByToken:channelId:userAccount:mediaOptions:joinSuccess:(token?: NSString*, channelId: NSString*, userAccount: NSString*, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed)): int
leaveChannel:(leaveChannelBlock?: void(^ )(AgoraChannelStats*stat)): int
leaveChannel:leaveChannelBlock:(options: unknown, leaveChannelBlock: unknown): unknown
muteAllRemoteAudioStreams:(mute: BOOL): int
muteAllRemoteVideoStreams:(mute: BOOL): int
muteLocalAudioStream:(mute: BOOL): int
muteLocalVideoStream:(mute: BOOL): int
muteRecordingSignal:(muted: BOOL): int
muteRemoteAudioStream:mute:(uid: NSUInteger, mute: BOOL): int
muteRemoteVideoStream:mute:(uid: NSUInteger, mute: BOOL): int
pauseAllChannelMediaRelay(): int
pauseAllEffects(): int
pauseAudioMixing(): int
pauseEffect:(soundId: int): int
playAllEffectsWithLoopCount:pitch:pan:gain:publish:(loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL): int
playEffect:filePath:loopCount:pitch:pan:gain:(soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger): int
playEffect:filePath:loopCount:pitch:pan:gain:publish:(soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL): int
playEffect:filePath:loopCount:pitch:pan:gain:publish:startPos:(soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL, startPos: int): int
preloadChannelByToken:channelId:uid:(token?: NSString*, channelId: NSString*, uid: NSUInteger): int
preloadChannelByTokenWithUserAccount:channelId:userAccount:(token?: NSString*, channelId: NSString*, userAccount: NSString*): int
preloadEffect:filePath:(soundId: int, filePath: NSString*): int
preloadEffect:filePath:startPos:(soundId: int, filePath: NSString*, startPos: int): int
pullPlaybackAudioFrameRawData:lengthInByte:(data: void*, lengthInByte: NSUInteger): BOOL
pullPlaybackAudioFrameSampleBufferByLengthInByte:(lengthInByte: NSUInteger): CMSampleBufferRef
pushExternalAudioFrameRawData:samples:sampleRate:channels:trackId:timestamp:(data: void*, samples: NSInteger, sampleRate: NSInteger, channels: NSInteger, trackId: NSInteger, timestamp: NSTimeInterval): int
pushExternalAudioFrameSampleBuffer:(sampleBuffer: CMSampleBufferRef): int
pushExternalAudioFrameSampleBuffer:sampleRate:channels:trackId:(sampleBuffer: CMSampleBufferRef, sampleRate: NSInteger, channels: NSInteger, trackId: NSInteger): int
pushExternalVideoFrame:(frame: AgoraVideoFrame*): BOOL
pushExternalVideoFrame:videoTrackId:(frame: AgoraVideoFrame*, videoTrackId: NSUInteger): BOOL
queryCameraFocalLengthCapability(): NSArray*
queryCodecCapability(): NSArray*
queryDeviceScore(): int
queryScreenCaptureCapability(): AgoraScreenCaptureFrameRateCapability
rate:rating:description:(callId: NSString*, rating: NSInteger, description?: NSString*): int
registerAudioSpectrumDelegate:(delegate?: id): int
registerExtensionWithVendor:extension:sourceType:(provider: NSString*, extension: NSString*, sourceType: AgoraMediaSourceType): int
registerLocalUserAccount:appId:(userAccount: NSString*, appId: NSString*): int
removeVideoWatermark:(id: NSString*): int
renewToken:(token: NSString*): int
resumeAllChannelMediaRelay(): int
resumeAllEffects(): int
resumeAudioMixing(): int
resumeEffect:(soundId: int): int
selectAudioTrack:(index: NSInteger): int
sendCustomReportMessage:category:event:label:value:(messageId?: NSString*, category?: NSString*, event?: NSString*, label?: NSString*, value: NSInteger): int
sendStreamMessage:data:(streamId: NSInteger, data: NSData*): int
setAINSMode:mode:(enabled: BOOL, mode: AUDIO_AINS_MODE): int
setAVSyncSource:uid:(channelId: NSString*, uid: NSUInteger): int
setAdvancedAudioOptions:(options: AgoraAdvancedAudioOptions*): int
setAudioEffectParameters:param1:param2:(preset: AgoraAudioEffectPreset, param1: int, param2: int): int
setAudioEffectPreset:(preset: AgoraAudioEffectPreset): int
setAudioEncodedFrameDelegate:config:(delegate?: id, config: AgoraAudioEncodedFrameDelegateConfig*): int
setAudioFrameDelegate:(delegate?: id): BOOL
setAudioMixingDualMonoMode:(mode: AgoraAudioMixingDualMonoMode): int
setAudioMixingPitch:(pitch: NSInteger): int
setAudioMixingPlaybackSpeed:(speed: NSInteger): int
setAudioMixingPosition:(pos: NSInteger): int
setAudioProfile:(profile: AgoraAudioProfile): int
setAudioProfile:scenario:(profile: AgoraAudioProfile, scenario: AgoraAudioScenario): int
setAudioScenario:(scenario: AgoraAudioScenario): int
setAudioSessionOperationRestriction:(restriction: AgoraAudioSessionOperationRestriction): void
setBeautyEffectOptions:options:(enable: BOOL, options?: AgoraBeautyOptions*): int
setBeautyEffectOptions:options:sourceType:(enable: BOOL, options?: AgoraBeautyOptions*, sourceType: AgoraMediaSourceType): int
setCameraAutoExposureFaceModeEnabled:(enable: BOOL): BOOL
setCameraAutoFocusFaceModeEnabled:(enable: BOOL): BOOL
setCameraCapturerConfiguration:(config?: AgoraCameraCapturerConfiguration*): int
setCameraExposureFactor:(exposureFactor: CGFloat): CGFloat
setCameraExposurePosition:(positionInView: CGPoint): BOOL
setCameraFocusPositionInPreview:(position: CGPoint): BOOL
setCameraStabilizationMode:(mode: AgoraCameraStabilizationMode): int
setCameraTorchOn:(isOn: BOOL): BOOL
setCameraZoomFactor:(zoomFactor: CGFloat): CGFloat
setChannelProfile:(profile: AgoraChannelProfile): int
setClientRole:(role: AgoraClientRole): int
setClientRole:options:(role: AgoraClientRole, options?: AgoraClientRoleOptions*): int
setCloudProxy:(proxyType: AgoraCloudProxyType): int
setColorEnhanceOptions:options:(enable: BOOL, options?: AgoraColorEnhanceOptions*): int
setColorEnhanceOptions:options:sourceType:(enable: BOOL, options?: AgoraColorEnhanceOptions*, sourceType: AgoraMediaSourceType): int
setDefaultAudioRouteToSpeakerphone:(defaultToSpeaker: BOOL): int
setDualStreamMode:(mode: AgoraSimulcastStreamMode): int
setDualStreamMode:streamConfig:(mode: AgoraSimulcastStreamMode, streamConfig: AgoraSimulcastStreamConfig*): int
setEarMonitoringAudioFrameParametersWithSampleRate:channel:mode:samplesPerCall:(sampleRate: NSInteger, channel: NSInteger, mode: AgoraAudioRawFrameOperationMode, samplesPerCall: NSInteger): int
setEffectPosition:pos:(soundId: int, pos: NSInteger): int
setEffectsVolume:(volume: NSInteger): int
setEnableSpeakerphone:(enableSpeaker: BOOL): int
setEncodedVideoFrameDelegate:(delegate?: id): BOOL
setExtensionPropertyWithVendor:extension:key:value:(provider: NSString*, extension: NSString*, key: NSString*, value: NSString*): int
setExtensionProviderPropertyWithVendor:key:value:(provider: NSString*, key: NSString*, value: NSString*): int
setExternalAudioSource:sampleRate:channels:(enabled: BOOL, sampleRate: NSInteger, channels: NSInteger): int
setExternalAudioSource:sampleRate:channels:localPlayback:publish:(enabled: BOOL, sampleRate: NSInteger, channels: NSInteger, localPlayback: BOOL, publish: BOOL): int
setExternalVideoSource:useTexture:sourceType:(enable: BOOL, useTexture: BOOL, sourceType: AgoraExternalVideoSourceType): void
setFaceShapeAreaOptions:(options?: AgoraFaceShapeAreaOptions*): int
setFaceShapeAreaOptions:sourceType:(options?: AgoraFaceShapeAreaOptions*, sourceType: AgoraMediaSourceType): int
setFaceShapeBeautyOptions:options:(enable: BOOL, options?: AgoraFaceShapeBeautyOptions*): int
setFaceShapeBeautyOptions:options:sourceType:(enable: BOOL, options?: AgoraFaceShapeBeautyOptions*, sourceType: AgoraMediaSourceType): int
setFilterEffectOptions:options:(enable: BOOL, options?: AgoraFilterEffectOptions*): int
setFilterEffectOptions:options:sourceType:(enable: BOOL, options?: AgoraFilterEffectOptions*, sourceType: AgoraMediaSourceType): int
setHeadphoneEQParameters:highGain:(lowGain: int, highGain: int): int
setHeadphoneEQPreset:(preset: AgoraHeadphoneEQPreset): int
setInEarMonitoringVolume:(volume: NSInteger): int
setLocalAccessPoint:(config: AgoraLocalAccessPointConfiguration*): int
setLocalRenderMode:mirror:(mode: AgoraVideoRenderMode, mirror: AgoraVideoMirrorMode): int
setLocalRenderMode:mode:(uid: NSUInteger, mode: AgoraVideoRenderMode): int
setLocalRenderTargetFps:targetFps:(sourceType: AgoraVideoSourceType, targetFps: int): int
setLocalVideoMirrorMode:(mode: AgoraVideoMirrorMode): int
setLocalVoiceEqualizationOfBandFrequency:withGain:(bandFrequency: AgoraAudioEqualizationBandFrequency, gain: NSInteger): int
setLocalVoiceFormant:(formantRatio: double): int
setLocalVoicePitch:(pitch: double): int
setLocalVoiceReverbOfType:withValue:(reverbType: AgoraAudioReverbType, value: NSInteger): int
setLogFile:(filePath: NSString*): int
setLogFileSize:(fileSizeInKBytes: NSUInteger): int
setLogFilter:(filter: NSUInteger): int
setLogLevel:(level: AgoraLogLevel): int
setLowlightEnhanceOptions:options:(enable: BOOL, options?: AgoraLowlightEnhanceOptions*): int
setLowlightEnhanceOptions:options:sourceType:(enable: BOOL, options?: AgoraLowlightEnhanceOptions*, sourceType: AgoraMediaSourceType): int
setMediaMetadataDataSource:withType:(metadataDataSource?: id, type: AgoraMetadataType): BOOL
setMediaMetadataDelegate:withType:(metadataDelegate?: id, type: AgoraMetadataType): BOOL
setMixedAudioFrameParametersWithSampleRate:channel:samplesPerCall:(sampleRate: NSInteger, channel: NSInteger, samplesPerCall: NSInteger): int
setParameters:(options: NSString*): int
setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:channel:(sampleRate: NSInteger, channel: NSInteger): int
setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:channel:samplesPerCall:(sampleRate: NSInteger, channel: NSInteger, samplesPerCall: NSInteger): int
setPlaybackAudioFrameParametersWithSampleRate:channel:mode:samplesPerCall:(sampleRate: NSInteger, channel: NSInteger, mode: AgoraAudioRawFrameOperationMode, samplesPerCall: NSInteger): int
setRecordingAudioFrameParametersWithSampleRate:channel:mode:samplesPerCall:(sampleRate: NSInteger, channel: NSInteger, mode: AgoraAudioRawFrameOperationMode, samplesPerCall: NSInteger): int
setRemoteDefaultVideoStreamType:(streamType: AgoraVideoStreamType): int
setRemoteRenderMode:mode:mirror:(uid: NSUInteger, mode: AgoraVideoRenderMode, mirror: AgoraVideoMirrorMode): int
setRemoteRenderTargetFps:(targetFps: int): int
setRemoteSubscribeFallbackOption:(option: AgoraStreamFallbackOptions): int
setRemoteUserSpatialAudioParams:params:(uid: NSUInteger, params: AgoraSpatialAudioParams*): int
setRemoteVideoStream:type:(uid: NSUInteger, streamType: AgoraVideoStreamType): int
setRemoteVideoSubscriptionOptions:options:(uid: NSUInteger, options: AgoraVideoSubscriptionOptions*): int
setRemoteVoicePosition:pan:gain:(uid: NSUInteger, pan: double, gain: double): int
setScreenCaptureScenario:(scenarioType: AgoraScreenScenarioType): int
setSubscribeAudioAllowlist:(allowlist: NSArray*): int
setSubscribeAudioBlocklist:(blocklist: NSArray*): int
setSubscribeVideoAllowlist:(allowlist: NSArray*): int
setSubscribeVideoBlocklist:(blocklist: NSArray*): int
setVideoDenoiserOptions:options:(enable: BOOL, options?: AgoraVideoDenoiserOptions*): int
setVideoDenoiserOptions:options:sourceType:(enable: BOOL, options?: AgoraVideoDenoiserOptions*, sourceType: AgoraMediaSourceType): int
setVideoEncoderConfiguration:(config: AgoraVideoEncoderConfiguration*): int
setVideoFrameDelegate:(delegate?: id): BOOL
setVideoResolution:andFrameRate:bitrate:(size: CGSize, frameRate: NSInteger, bitrate: NSInteger): int
setVideoScenario:(scenarioType: AgoraApplicationScenarioType): int
setVoiceBeautifierParameters:param1:param2:(preset: AgoraVoiceBeautifierPreset, param1: int, param2: int): int
setVoiceBeautifierPreset:(preset: AgoraVoiceBeautifierPreset): int
setVoiceConversionPreset:(preset: AgoraVoiceConversionPreset): int
setVolumeOfEffect:withVolume:(soundId: int, volume: int): int
setupLocalVideo:(local?: AgoraRtcVideoCanvas*): int
setupRemoteVideo:(remote: AgoraRtcVideoCanvas*): int
sharedEngineWithAppId:delegate:(appId: NSString*, delegate?: id): instancetype
sharedEngineWithConfig:delegate:(config: AgoraRtcEngineConfig*, delegate?: id): instancetype
startAudioMixing:loopback:cycle:(filePath: NSString*, loopback: BOOL, cycle: NSInteger): int
startAudioMixing:loopback:cycle:startPos:(filePath: NSString*, loopback: BOOL, cycle: NSInteger, startPos: NSInteger): int
startAudioRecording:quality:(filePath: NSString*, quality: AgoraAudioRecordingQuality): int
startAudioRecordingWithConfig:(config: AgoraAudioRecordingConfiguration*): int
startCameraCapture:config:(sourceType: AgoraVideoSourceType, config?: AgoraCameraCapturerConfiguration*): int
startEchoTestWithConfig:(config: AgoraEchoTestConfiguration*): int
startLastmileProbeTest:(config?: AgoraLastmileProbeConfig*): int
startLocalAudioMixer:(config: AgoraLocalAudioMixerConfiguration*): int
startLocalVideoTranscoder:(config: AgoraLocalTranscoderConfiguration*): int
startMediaRenderingTracing(): int
startOrUpdateChannelMediaRelay:(config: AgoraChannelMediaRelayConfiguration*): int
startPlaybackDeviceTest:(audioFileName: NSString*): int
startPreview(): int
startPreview:(sourceType: AgoraVideoSourceType): int
startRecordingDeviceTest:(indicationInterval: int): int
startRhythmPlayer:sound2:config:(sound1: NSString*, sound2: NSString*, config?: AgoraRhythmPlayerConfig*): int
startRtmpStreamWithTranscoding:transcoding:(url: NSString*, transcoding?: AgoraLiveTranscoding*): int
startRtmpStreamWithoutTranscoding:(url: NSString*): int
startScreenCapture:(parameters?: AgoraScreenCaptureParameters2*): int
stopAllEffects(): int
stopAudioMixing(): int
stopAudioRecording(): int
stopCameraCapture:(sourceType: AgoraVideoSourceType): int
stopChannelMediaRelay(): int
stopEchoTest(): int
stopEffect:(soundId: int): int
stopLastmileProbeTest(): int
stopLocalAudioMixer(): int
stopLocalVideoTranscoder(): int
stopPlaybackDeviceTest(): int
stopPreview(): int
stopPreview:(sourceType: AgoraVideoSourceType): int
stopRecordingDeviceTest(): int
stopRhythmPlayer(): int
stopRtmpStream:(url: NSString*): int
stopScreenCapture(): int
switchCamera(): int
takeSnapshot:filePath:(uid: NSInteger, filePath: NSString*): NSInteger
takeSnapshotWithConfig:config:(uid: NSInteger, config: AgoraSnapshotConfig*): NSInteger
unloadEffect:(soundId: int): int
unregisterAudioSpectrumDelegate:(delegate?: id): int
updateChannelWithMediaOptions:(mediaOptions: AgoraRtcChannelMediaOptions*): int
updateLocalAudioMixerConfiguration:(config: AgoraLocalAudioMixerConfiguration*): int
updateLocalTranscoderConfiguration:(config: AgoraLocalTranscoderConfiguration*): int
updatePreloadChannelToken:(token: NSString*): int
updateRtmpTranscoding:(transcoding?: AgoraLiveTranscoding*): int
updateScreenCapture:(parameters?: AgoraScreenCaptureParameters2*): int方法明细:295 / 295(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
addVideoWatermark: | watermark: AgoraImage* | int | 错误码索引 |
addVideoWatermark:options: | url: NSURL*, options: WatermarkOptions* | int | 错误码索引 |
addVideoWatermarkWithConfig: | config: WatermarkConfig* | int | 错误码索引 |
adjustAudioMixingPlayoutVolume: | volume: NSInteger | int | 错误码索引 |
adjustAudioMixingPublishVolume: | volume: NSInteger | int | 错误码索引 |
adjustAudioMixingVolume: | volume: NSInteger | int | 错误码索引 |
adjustCustomAudioPlayoutVolume:volume: | trackId: NSInteger, volume: NSInteger | int | 错误码索引 |
adjustCustomAudioPublishVolume:volume: | trackId: NSInteger, volume: NSInteger | int | 错误码索引 |
adjustPlaybackSignalVolume: | volume: NSInteger | int | 错误码索引 |
adjustRecordingSignalVolume: | volume: NSInteger | int | 错误码索引 |
adjustUserPlaybackSignalVolume:volume: | uid: NSUInteger, volume: int | int | 错误码索引 |
cameraMaxZoomFactor | — | CGFloat | 错误码索引 |
clearVideoWatermarks | — | int | 错误码索引 |
complain:description: | callId: NSString*, description?: NSString* | int | 错误码索引 |
configRhythmPlayer: | config?: AgoraRhythmPlayerConfig* | int | 错误码索引 |
createCustomAudioTrack:config: | trackType: AgoraAudioTrackType, config: AgoraAudioTrackConfig* | int | 错误码索引 |
createCustomVideoTrack | — | unsigned int | 错误码索引 |
createDataStream:config: | streamId: NSInteger*, config: AgoraDataStreamConfig* | int | 错误码索引 |
createDataStream:reliable:ordered: | streamId: NSInteger*, reliable: BOOL, ordered: BOOL | int | 错误码索引 |
createMediaPlayerWithDelegate: | delegate?: id | id | 错误码索引 |
createMediaRecorder: | info: AgoraRecorderStreamInfo* | AgoraMediaRecorder* | 错误码索引 |
createVideoEffectObjectWithBundlePath:sourceType: | bundlePath: NSString*, sourceType: AgoraMediaSourceType | id | 错误码索引 |
delegate | — | unknown | 错误码索引 |
destroy | — | void | 错误码索引 |
destroy: | engineReleasedBlock?: void (^ )(void) | void | 错误码索引 |
destroyCustomAudioTrack: | trackId: NSInteger | int | 错误码索引 |
destroyCustomVideoTrack: | videoTrackId: NSUInteger | int | 错误码索引 |
destroyMediaPlayer: | mediaPlayer?: id | int | 错误码索引 |
destroyMediaRecorder: | mediaRecorder?: AgoraMediaRecorder* | int | 错误码索引 |
destroyVideoEffectObject: | videoEffectObject?: id | int | 错误码索引 |
disableAudio | — | int | 错误码索引 |
disableAudioSpectrumMonitor | — | int | 错误码索引 |
disableVideo | — | int | 错误码索引 |
enableAudio | — | int | 错误码索引 |
enableAudioSpectrumMonitor: | intervalInMS: int | int | 错误码索引 |
enableAudioVolumeIndication:smooth:reportVad: | interval: NSInteger, smooth: NSInteger, reportVad: BOOL | int | 错误码索引 |
enableCameraCenterStage: | enabled: BOOL | int | 错误码索引 |
enableContentInspect:config: | enabled: BOOL, config: AgoraContentInspectConfig* | int | 错误码索引 |
enableCustomAudioLocalPlayback:enabled: | trackId: NSInteger, enabled: BOOL | int | 错误码索引 |
enableDualStreamMode: | enabled: BOOL | int | 错误码索引 |
enableDualStreamMode:streamConfig: | enabled: BOOL, streamConfig: AgoraSimulcastStreamConfig* | int | 错误码索引 |
enableEncryption:encryptionConfig: | enabled: BOOL, config: AgoraEncryptionConfig* | int | 错误码索引 |
enableExtensionWithVendor:extension:enabled:sourceType: | provider: NSString*, extension: NSString*, enabled: BOOL, sourceType: AgoraMediaSourceType | int | 错误码索引 |
enableExternalAudioSink:sampleRate:channels: | enabled: BOOL, sampleRate: NSUInteger, channels: NSUInteger | void | 错误码索引 |
enableFaceDetection: | enable: BOOL | int | 错误码索引 |
enableInEarMonitoring: | enabled: BOOL | int | 错误码索引 |
enableInEarMonitoring:includeAudioFilters: | enabled: BOOL, includeAudioFilters: AgoraEarMonitoringFilterType | int | 错误码索引 |
enableInstantMediaRendering | — | int | 错误码索引 |
enableLocalAudio: | enabled: BOOL | int | 错误码索引 |
enableLocalVideo: | enabled: BOOL | int | 错误码索引 |
enableMainQueueDispatch: | enabled: BOOL | int | 错误码索引 |
enableMultiCamera:config: | enabled: BOOL, config?: AgoraCameraCapturerConfiguration* | int | 错误码索引 |
enableSoundPositionIndication: | enabled: BOOL | int | 错误码索引 |
enableSpatialAudio: | enabled: BOOL | int | 错误码索引 |
enableVideo | — | int | 错误码索引 |
enableVideoImageSource:options: | enable: BOOL, options?: AgoraImageTrackOptions* | int | 错误码索引 |
enableVirtualBackground:backData:segData: | enable: BOOL, backData?: AgoraVirtualBackgroundSource*, segData?: AgoraSegmentationProperty* | int | 错误码索引 |
enableVirtualBackground:backData:segData:sourceType: | enable: BOOL, backData?: AgoraVirtualBackgroundSource*, segData?: AgoraSegmentationProperty*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
enableVoiceAITuner:type: | enabled: BOOL, type: AgoraVoiceAITunerType | int | 错误码索引 |
enableWebSdkInteroperability: | enabled: BOOL | int | 错误码索引 |
getAudioMixingCurrentPosition | — | int | 错误码索引 |
getAudioMixingDuration | — | int | 错误码索引 |
getAudioMixingPlayoutVolume | — | int | 错误码索引 |
getAudioMixingPublishVolume | — | int | 错误码索引 |
getAudioTrackCount | — | int | 错误码索引 |
getCallId | — | NSString* | 错误码索引 |
getConnectionState | — | AgoraConnectionState | 错误码索引 |
getCurrentMonotonicTimeInMs | — | int64_t | 错误码索引 |
getEffectCurrentPosition: | soundId: int | int | 错误码索引 |
getEffectDuration: | filePath: NSString* | int | 错误码索引 |
getEffectsVolume | — | int | 错误码索引 |
getErrorDescription: | error: NSInteger | NSString* | 错误码索引 |
getExtensionPropertyWithVendor:extension:key: | provider: NSString*, extension: NSString*, key: NSString* | NSString* | 错误码索引 |
getExtensionPropertyWithVendor:extension:key:sourceType: | provider: NSString*, extension: NSString*, key: NSString*, sourceType: AgoraMediaSourceType | NSString* | 错误码索引 |
getFaceShapeAreaOptions: | area: AgoraFaceShapeArea | AgoraFaceShapeAreaOptions* | 错误码索引 |
getFaceShapeAreaOptions:sourceType: | area: AgoraFaceShapeArea, sourceType: AgoraMediaSourceType | AgoraFaceShapeAreaOptions* | 错误码索引 |
getFaceShapeBeautyOptions | — | AgoraFaceShapeBeautyOptions* | 错误码索引 |
getFaceShapeBeautyOptions: | sourceType: AgoraMediaSourceType | AgoraFaceShapeBeautyOptions* | 错误码索引 |
getNativeHandle | — | void* | 错误码索引 |
getNetworkType | — | int | 错误码索引 |
getNtpWallTimeInMs | — | uint64_t | 错误码索引 |
getSdkVersion | — | NSString* | 错误码索引 |
getUserInfoByUid:withError: | uid: NSUInteger, error?: AgoraErrorCode* | AgoraUserInfo* | 错误码索引 |
getUserInfoByUserAccount:withError: | userAccount: NSString*, error?: AgoraErrorCode* | AgoraUserInfo* | 错误码索引 |
getVolumeOfEffect: | soundId: int | int | 错误码索引 |
isCameraAutoExposureFaceModeSupported | — | BOOL | 错误码索引 |
isCameraAutoFocusFaceModeSupported | — | BOOL | 错误码索引 |
isCameraCenterStageSupported | — | BOOL | 错误码索引 |
isCameraExposurePositionSupported | — | BOOL | 错误码索引 |
isCameraExposureSupported | — | BOOL | 错误码索引 |
isCameraFocusPositionInPreviewSupported | — | BOOL | 错误码索引 |
isCameraTorchSupported | — | BOOL | 错误码索引 |
isCameraZoomSupported | — | BOOL | 错误码索引 |
isFeatureAvailableOnDevice: | type: AgoraFeatureType | BOOL | 错误码索引 |
isSpeakerphoneEnabled | — | BOOL | 错误码索引 |
joinChannelByToken:channelId:info:uid:joinSuccess: | token?: NSString*, channelId: NSString*, info?: NSString*, uid: NSUInteger, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | int | 错误码索引 |
joinChannelByToken:channelId:uid:mediaOptions:joinSuccess: | token?: NSString*, channelId: NSString*, uid: NSUInteger, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | int | 错误码索引 |
joinChannelByToken:channelId:userAccount:joinSuccess: | token?: NSString*, channelId: NSString*, userAccount: NSString*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | int | 错误码索引 |
joinChannelByToken:channelId:userAccount:mediaOptions:joinSuccess: | token?: NSString*, channelId: NSString*, userAccount: NSString*, mediaOptions: AgoraRtcChannelMediaOptions*, joinSuccessBlock?: void(^ )(NSString*channel,NSUInteger uid,NSInteger elapsed) | int | 错误码索引 |
leaveChannel: | leaveChannelBlock?: void(^ )(AgoraChannelStats*stat) | int | 错误码索引 |
leaveChannel:leaveChannelBlock: | options: unknown, leaveChannelBlock: unknown | unknown | 错误码索引 |
muteAllRemoteAudioStreams: | mute: BOOL | int | 错误码索引 |
muteAllRemoteVideoStreams: | mute: BOOL | int | 错误码索引 |
muteLocalAudioStream: | mute: BOOL | int | 错误码索引 |
muteLocalVideoStream: | mute: BOOL | int | 错误码索引 |
muteRecordingSignal: | muted: BOOL | int | 错误码索引 |
muteRemoteAudioStream:mute: | uid: NSUInteger, mute: BOOL | int | 错误码索引 |
muteRemoteVideoStream:mute: | uid: NSUInteger, mute: BOOL | int | 错误码索引 |
pauseAllChannelMediaRelay | — | int | 错误码索引 |
pauseAllEffects | — | int | 错误码索引 |
pauseAudioMixing | — | int | 错误码索引 |
pauseEffect: | soundId: int | int | 错误码索引 |
playAllEffectsWithLoopCount:pitch:pan:gain:publish: | loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL | int | 错误码索引 |
playEffect:filePath:loopCount:pitch:pan:gain: | soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger | int | 错误码索引 |
playEffect:filePath:loopCount:pitch:pan:gain:publish: | soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL | int | 错误码索引 |
playEffect:filePath:loopCount:pitch:pan:gain:publish:startPos: | soundId: int, filePath: NSString*, loopCount: NSInteger, pitch: double, pan: double, gain: NSInteger, publish: BOOL, startPos: int | int | 错误码索引 |
preloadChannelByToken:channelId:uid: | token?: NSString*, channelId: NSString*, uid: NSUInteger | int | 错误码索引 |
preloadChannelByTokenWithUserAccount:channelId:userAccount: | token?: NSString*, channelId: NSString*, userAccount: NSString* | int | 错误码索引 |
preloadEffect:filePath: | soundId: int, filePath: NSString* | int | 错误码索引 |
preloadEffect:filePath:startPos: | soundId: int, filePath: NSString*, startPos: int | int | 错误码索引 |
pullPlaybackAudioFrameRawData:lengthInByte: | data: void*, lengthInByte: NSUInteger | BOOL | 错误码索引 |
pullPlaybackAudioFrameSampleBufferByLengthInByte: | lengthInByte: NSUInteger | CMSampleBufferRef | 错误码索引 |
pushExternalAudioFrameRawData:samples:sampleRate:channels:trackId:timestamp: | data: void*, samples: NSInteger, sampleRate: NSInteger, channels: NSInteger, trackId: NSInteger, timestamp: NSTimeInterval | int | 错误码索引 |
pushExternalAudioFrameSampleBuffer: | sampleBuffer: CMSampleBufferRef | int | 错误码索引 |
pushExternalAudioFrameSampleBuffer:sampleRate:channels:trackId: | sampleBuffer: CMSampleBufferRef, sampleRate: NSInteger, channels: NSInteger, trackId: NSInteger | int | 错误码索引 |
pushExternalVideoFrame: | frame: AgoraVideoFrame* | BOOL | 错误码索引 |
pushExternalVideoFrame:videoTrackId: | frame: AgoraVideoFrame*, videoTrackId: NSUInteger | BOOL | 错误码索引 |
queryCameraFocalLengthCapability | — | NSArray* | 错误码索引 |
queryCodecCapability | — | NSArray* | 错误码索引 |
queryDeviceScore | — | int | 错误码索引 |
queryScreenCaptureCapability | — | AgoraScreenCaptureFrameRateCapability | 错误码索引 |
rate:rating:description: | callId: NSString*, rating: NSInteger, description?: NSString* | int | 错误码索引 |
registerAudioSpectrumDelegate: | delegate?: id | int | 错误码索引 |
registerExtensionWithVendor:extension:sourceType: | provider: NSString*, extension: NSString*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
registerLocalUserAccount:appId: | userAccount: NSString*, appId: NSString* | int | 错误码索引 |
removeVideoWatermark: | id: NSString* | int | 错误码索引 |
renewToken: | token: NSString* | int | 错误码索引 |
resumeAllChannelMediaRelay | — | int | 错误码索引 |
resumeAllEffects | — | int | 错误码索引 |
resumeAudioMixing | — | int | 错误码索引 |
resumeEffect: | soundId: int | int | 错误码索引 |
selectAudioTrack: | index: NSInteger | int | 错误码索引 |
sendCustomReportMessage:category:event:label:value: | messageId?: NSString*, category?: NSString*, event?: NSString*, label?: NSString*, value: NSInteger | int | 错误码索引 |
sendStreamMessage:data: | streamId: NSInteger, data: NSData* | int | 错误码索引 |
setAINSMode:mode: | enabled: BOOL, mode: AUDIO_AINS_MODE | int | 错误码索引 |
setAVSyncSource:uid: | channelId: NSString*, uid: NSUInteger | int | 错误码索引 |
setAdvancedAudioOptions: | options: AgoraAdvancedAudioOptions* | int | 错误码索引 |
setAudioEffectParameters:param1:param2: | preset: AgoraAudioEffectPreset, param1: int, param2: int | int | 错误码索引 |
setAudioEffectPreset: | preset: AgoraAudioEffectPreset | int | 错误码索引 |
setAudioEncodedFrameDelegate:config: | delegate?: id, config: AgoraAudioEncodedFrameDelegateConfig* | int | 错误码索引 |
setAudioFrameDelegate: | delegate?: id | BOOL | 错误码索引 |
setAudioMixingDualMonoMode: | mode: AgoraAudioMixingDualMonoMode | int | 错误码索引 |
setAudioMixingPitch: | pitch: NSInteger | int | 错误码索引 |
setAudioMixingPlaybackSpeed: | speed: NSInteger | int | 错误码索引 |
setAudioMixingPosition: | pos: NSInteger | int | 错误码索引 |
setAudioProfile: | profile: AgoraAudioProfile | int | 错误码索引 |
setAudioProfile:scenario: | profile: AgoraAudioProfile, scenario: AgoraAudioScenario | int | 错误码索引 |
setAudioScenario: | scenario: AgoraAudioScenario | int | 错误码索引 |
setAudioSessionOperationRestriction: | restriction: AgoraAudioSessionOperationRestriction | void | 错误码索引 |
setBeautyEffectOptions:options: | enable: BOOL, options?: AgoraBeautyOptions* | int | 错误码索引 |
setBeautyEffectOptions:options:sourceType: | enable: BOOL, options?: AgoraBeautyOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setCameraAutoExposureFaceModeEnabled: | enable: BOOL | BOOL | 错误码索引 |
setCameraAutoFocusFaceModeEnabled: | enable: BOOL | BOOL | 错误码索引 |
setCameraCapturerConfiguration: | config?: AgoraCameraCapturerConfiguration* | int | 错误码索引 |
setCameraExposureFactor: | exposureFactor: CGFloat | CGFloat | 错误码索引 |
setCameraExposurePosition: | positionInView: CGPoint | BOOL | 错误码索引 |
setCameraFocusPositionInPreview: | position: CGPoint | BOOL | 错误码索引 |
setCameraStabilizationMode: | mode: AgoraCameraStabilizationMode | int | 错误码索引 |
setCameraTorchOn: | isOn: BOOL | BOOL | 错误码索引 |
setCameraZoomFactor: | zoomFactor: CGFloat | CGFloat | 错误码索引 |
setChannelProfile: | profile: AgoraChannelProfile | int | 错误码索引 |
setClientRole: | role: AgoraClientRole | int | 错误码索引 |
setClientRole:options: | role: AgoraClientRole, options?: AgoraClientRoleOptions* | int | 错误码索引 |
setCloudProxy: | proxyType: AgoraCloudProxyType | int | 错误码索引 |
setColorEnhanceOptions:options: | enable: BOOL, options?: AgoraColorEnhanceOptions* | int | 错误码索引 |
setColorEnhanceOptions:options:sourceType: | enable: BOOL, options?: AgoraColorEnhanceOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setDefaultAudioRouteToSpeakerphone: | defaultToSpeaker: BOOL | int | 错误码索引 |
setDualStreamMode: | mode: AgoraSimulcastStreamMode | int | 错误码索引 |
setDualStreamMode:streamConfig: | mode: AgoraSimulcastStreamMode, streamConfig: AgoraSimulcastStreamConfig* | int | 错误码索引 |
setEarMonitoringAudioFrameParametersWithSampleRate:channel:mode:samplesPerCall: | sampleRate: NSInteger, channel: NSInteger, mode: AgoraAudioRawFrameOperationMode, samplesPerCall: NSInteger | int | 错误码索引 |
setEffectPosition:pos: | soundId: int, pos: NSInteger | int | 错误码索引 |
setEffectsVolume: | volume: NSInteger | int | 错误码索引 |
setEnableSpeakerphone: | enableSpeaker: BOOL | int | 错误码索引 |
setEncodedVideoFrameDelegate: | delegate?: id | BOOL | 错误码索引 |
setExtensionPropertyWithVendor:extension:key:value: | provider: NSString*, extension: NSString*, key: NSString*, value: NSString* | int | 错误码索引 |
setExtensionProviderPropertyWithVendor:key:value: | provider: NSString*, key: NSString*, value: NSString* | int | 错误码索引 |
setExternalAudioSource:sampleRate:channels: | enabled: BOOL, sampleRate: NSInteger, channels: NSInteger | int | 错误码索引 |
setExternalAudioSource:sampleRate:channels:localPlayback:publish: | enabled: BOOL, sampleRate: NSInteger, channels: NSInteger, localPlayback: BOOL, publish: BOOL | int | 错误码索引 |
setExternalVideoSource:useTexture:sourceType: | enable: BOOL, useTexture: BOOL, sourceType: AgoraExternalVideoSourceType | void | 错误码索引 |
setFaceShapeAreaOptions: | options?: AgoraFaceShapeAreaOptions* | int | 错误码索引 |
setFaceShapeAreaOptions:sourceType: | options?: AgoraFaceShapeAreaOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setFaceShapeBeautyOptions:options: | enable: BOOL, options?: AgoraFaceShapeBeautyOptions* | int | 错误码索引 |
setFaceShapeBeautyOptions:options:sourceType: | enable: BOOL, options?: AgoraFaceShapeBeautyOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setFilterEffectOptions:options: | enable: BOOL, options?: AgoraFilterEffectOptions* | int | 错误码索引 |
setFilterEffectOptions:options:sourceType: | enable: BOOL, options?: AgoraFilterEffectOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setHeadphoneEQParameters:highGain: | lowGain: int, highGain: int | int | 错误码索引 |
setHeadphoneEQPreset: | preset: AgoraHeadphoneEQPreset | int | 错误码索引 |
setInEarMonitoringVolume: | volume: NSInteger | int | 错误码索引 |
setLocalAccessPoint: | config: AgoraLocalAccessPointConfiguration* | int | 错误码索引 |
setLocalRenderMode:mirror: | mode: AgoraVideoRenderMode, mirror: AgoraVideoMirrorMode | int | 错误码索引 |
setLocalRenderMode:mode: | uid: NSUInteger, mode: AgoraVideoRenderMode | int | 错误码索引 |
setLocalRenderTargetFps:targetFps: | sourceType: AgoraVideoSourceType, targetFps: int | int | 错误码索引 |
setLocalVideoMirrorMode: | mode: AgoraVideoMirrorMode | int | 错误码索引 |
setLocalVoiceEqualizationOfBandFrequency:withGain: | bandFrequency: AgoraAudioEqualizationBandFrequency, gain: NSInteger | int | 错误码索引 |
setLocalVoiceFormant: | formantRatio: double | int | 错误码索引 |
setLocalVoicePitch: | pitch: double | int | 错误码索引 |
setLocalVoiceReverbOfType:withValue: | reverbType: AgoraAudioReverbType, value: NSInteger | int | 错误码索引 |
setLogFile: | filePath: NSString* | int | 错误码索引 |
setLogFileSize: | fileSizeInKBytes: NSUInteger | int | 错误码索引 |
setLogFilter: | filter: NSUInteger | int | 错误码索引 |
setLogLevel: | level: AgoraLogLevel | int | 错误码索引 |
setLowlightEnhanceOptions:options: | enable: BOOL, options?: AgoraLowlightEnhanceOptions* | int | 错误码索引 |
setLowlightEnhanceOptions:options:sourceType: | enable: BOOL, options?: AgoraLowlightEnhanceOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setMediaMetadataDataSource:withType: | metadataDataSource?: id, type: AgoraMetadataType | BOOL | 错误码索引 |
setMediaMetadataDelegate:withType: | metadataDelegate?: id, type: AgoraMetadataType | BOOL | 错误码索引 |
setMixedAudioFrameParametersWithSampleRate:channel:samplesPerCall: | sampleRate: NSInteger, channel: NSInteger, samplesPerCall: NSInteger | int | 错误码索引 |
setParameters: | options: NSString* | int | 错误码索引 |
setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:channel: | sampleRate: NSInteger, channel: NSInteger | int | 错误码索引 |
setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:channel:samplesPerCall: | sampleRate: NSInteger, channel: NSInteger, samplesPerCall: NSInteger | int | 错误码索引 |
setPlaybackAudioFrameParametersWithSampleRate:channel:mode:samplesPerCall: | sampleRate: NSInteger, channel: NSInteger, mode: AgoraAudioRawFrameOperationMode, samplesPerCall: NSInteger | int | 错误码索引 |
setRecordingAudioFrameParametersWithSampleRate:channel:mode:samplesPerCall: | sampleRate: NSInteger, channel: NSInteger, mode: AgoraAudioRawFrameOperationMode, samplesPerCall: NSInteger | int | 错误码索引 |
setRemoteDefaultVideoStreamType: | streamType: AgoraVideoStreamType | int | 错误码索引 |
setRemoteRenderMode:mode:mirror: | uid: NSUInteger, mode: AgoraVideoRenderMode, mirror: AgoraVideoMirrorMode | int | 错误码索引 |
setRemoteRenderTargetFps: | targetFps: int | int | 错误码索引 |
setRemoteSubscribeFallbackOption: | option: AgoraStreamFallbackOptions | int | 错误码索引 |
setRemoteUserSpatialAudioParams:params: | uid: NSUInteger, params: AgoraSpatialAudioParams* | int | 错误码索引 |
setRemoteVideoStream:type: | uid: NSUInteger, streamType: AgoraVideoStreamType | int | 错误码索引 |
setRemoteVideoSubscriptionOptions:options: | uid: NSUInteger, options: AgoraVideoSubscriptionOptions* | int | 错误码索引 |
setRemoteVoicePosition:pan:gain: | uid: NSUInteger, pan: double, gain: double | int | 错误码索引 |
setScreenCaptureScenario: | scenarioType: AgoraScreenScenarioType | int | 错误码索引 |
setSubscribeAudioAllowlist: | allowlist: NSArray* | int | 错误码索引 |
setSubscribeAudioBlocklist: | blocklist: NSArray* | int | 错误码索引 |
setSubscribeVideoAllowlist: | allowlist: NSArray* | int | 错误码索引 |
setSubscribeVideoBlocklist: | blocklist: NSArray* | int | 错误码索引 |
setVideoDenoiserOptions:options: | enable: BOOL, options?: AgoraVideoDenoiserOptions* | int | 错误码索引 |
setVideoDenoiserOptions:options:sourceType: | enable: BOOL, options?: AgoraVideoDenoiserOptions*, sourceType: AgoraMediaSourceType | int | 错误码索引 |
setVideoEncoderConfiguration: | config: AgoraVideoEncoderConfiguration* | int | 错误码索引 |
setVideoFrameDelegate: | delegate?: id | BOOL | 错误码索引 |
setVideoResolution:andFrameRate:bitrate: | size: CGSize, frameRate: NSInteger, bitrate: NSInteger | int | 错误码索引 |
setVideoScenario: | scenarioType: AgoraApplicationScenarioType | int | 错误码索引 |
setVoiceBeautifierParameters:param1:param2: | preset: AgoraVoiceBeautifierPreset, param1: int, param2: int | int | 错误码索引 |
setVoiceBeautifierPreset: | preset: AgoraVoiceBeautifierPreset | int | 错误码索引 |
setVoiceConversionPreset: | preset: AgoraVoiceConversionPreset | int | 错误码索引 |
setVolumeOfEffect:withVolume: | soundId: int, volume: int | int | 错误码索引 |
setupLocalVideo: | local?: AgoraRtcVideoCanvas* | int | 错误码索引 |
setupRemoteVideo: | remote: AgoraRtcVideoCanvas* | int | 错误码索引 |
sharedEngineWithAppId:delegate: | appId: NSString*, delegate?: id | instancetype | 错误码索引 |
sharedEngineWithConfig:delegate: | config: AgoraRtcEngineConfig*, delegate?: id | instancetype | 错误码索引 |
startAudioMixing:loopback:cycle: | filePath: NSString*, loopback: BOOL, cycle: NSInteger | int | 错误码索引 |
startAudioMixing:loopback:cycle:startPos: | filePath: NSString*, loopback: BOOL, cycle: NSInteger, startPos: NSInteger | int | 错误码索引 |
startAudioRecording:quality: | filePath: NSString*, quality: AgoraAudioRecordingQuality | int | 错误码索引 |
startAudioRecordingWithConfig: | config: AgoraAudioRecordingConfiguration* | int | 错误码索引 |
startCameraCapture:config: | sourceType: AgoraVideoSourceType, config?: AgoraCameraCapturerConfiguration* | int | 错误码索引 |
startEchoTestWithConfig: | config: AgoraEchoTestConfiguration* | int | 错误码索引 |
startLastmileProbeTest: | config?: AgoraLastmileProbeConfig* | int | 错误码索引 |
startLocalAudioMixer: | config: AgoraLocalAudioMixerConfiguration* | int | 错误码索引 |
startLocalVideoTranscoder: | config: AgoraLocalTranscoderConfiguration* | int | 错误码索引 |
startMediaRenderingTracing | — | int | 错误码索引 |
startOrUpdateChannelMediaRelay: | config: AgoraChannelMediaRelayConfiguration* | int | 错误码索引 |
startPlaybackDeviceTest: | audioFileName: NSString* | int | 错误码索引 |
startPreview | — | int | 错误码索引 |
startPreview: | sourceType: AgoraVideoSourceType | int | 错误码索引 |
startRecordingDeviceTest: | indicationInterval: int | int | 错误码索引 |
startRhythmPlayer:sound2:config: | sound1: NSString*, sound2: NSString*, config?: AgoraRhythmPlayerConfig* | int | 错误码索引 |
startRtmpStreamWithTranscoding:transcoding: | url: NSString*, transcoding?: AgoraLiveTranscoding* | int | 错误码索引 |
startRtmpStreamWithoutTranscoding: | url: NSString* | int | 错误码索引 |
startScreenCapture: | parameters?: AgoraScreenCaptureParameters2* | int | 错误码索引 |
stopAllEffects | — | int | 错误码索引 |
stopAudioMixing | — | int | 错误码索引 |
stopAudioRecording | — | int | 错误码索引 |
stopCameraCapture: | sourceType: AgoraVideoSourceType | int | 错误码索引 |
stopChannelMediaRelay | — | int | 错误码索引 |
stopEchoTest | — | int | 错误码索引 |
stopEffect: | soundId: int | int | 错误码索引 |
stopLastmileProbeTest | — | int | 错误码索引 |
stopLocalAudioMixer | — | int | 错误码索引 |
stopLocalVideoTranscoder | — | int | 错误码索引 |
stopPlaybackDeviceTest | — | int | 错误码索引 |
stopPreview | — | int | 错误码索引 |
stopPreview: | sourceType: AgoraVideoSourceType | int | 错误码索引 |
stopRecordingDeviceTest | — | int | 错误码索引 |
stopRhythmPlayer | — | int | 错误码索引 |
stopRtmpStream: | url: NSString* | int | 错误码索引 |
stopScreenCapture | — | int | 错误码索引 |
switchCamera | — | int | 错误码索引 |
takeSnapshot:filePath: | uid: NSInteger, filePath: NSString* | NSInteger | 错误码索引 |
takeSnapshotWithConfig:config: | uid: NSInteger, config: AgoraSnapshotConfig* | NSInteger | 错误码索引 |
unloadEffect: | soundId: int | int | 错误码索引 |
unregisterAudioSpectrumDelegate: | delegate?: id | int | 错误码索引 |
updateChannelWithMediaOptions: | mediaOptions: AgoraRtcChannelMediaOptions* | int | 错误码索引 |
updateLocalAudioMixerConfiguration: | config: AgoraLocalAudioMixerConfiguration* | int | 错误码索引 |
updateLocalTranscoderConfiguration: | config: AgoraLocalTranscoderConfiguration* | int | 错误码索引 |
updatePreloadChannelToken: | token: NSString* | int | 错误码索引 |
updateRtmpTranscoding: | transcoding?: AgoraLiveTranscoding* | int | 错误码索引 |
updateScreenCapture: | parameters?: AgoraScreenCaptureParameters2* | int | 错误码索引 |
AgoraRtcLocalAudioStats 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
numChannels | NSUInteger | 否 |
sentSampleRate | NSUInteger | 否 |
sentBitrate | NSUInteger | 否 |
internalCodec | NSUInteger | 否 |
txPacketLossRate | NSUInteger | 否 |
audioDeviceDelay | NSUInteger | 否 |
audioPlayoutDelay | NSUInteger | 否 |
earMonitorDelay | NSUInteger | 否 |
aecEstimatedDelay | NSUInteger | 否 |
AgoraRtcLocalVideoStats 0 方法 / 23 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
sentBitrate | NSUInteger | 否 |
sentFrameRate | NSUInteger | 否 |
captureFrameRate | NSInteger | 否 |
captureFrameWidth | NSInteger | 否 |
captureFrameHeight | NSInteger | 否 |
regulatedCaptureFrameRate | NSInteger | 否 |
regulatedCaptureFrameWidth | NSInteger | 否 |
regulatedCaptureFrameHeight | NSInteger | 否 |
encoderOutputFrameRate | NSInteger | 否 |
rendererOutputFrameRate | NSInteger | 否 |
targetFrameRate | NSInteger | 否 |
qualityAdaptIndication | AgoraVideoQualityAdaptIndication | 否 |
targetBitrate | NSInteger | 否 |
encodedBitrate | NSInteger | 否 |
encodedFrameWidth | NSInteger | 否 |
encodedFrameHeight | NSInteger | 否 |
encodedFrameCount | NSInteger | 否 |
codecType | AgoraVideoCodecType | 否 |
hwEncoderAccelerating | AgoraVideoHwEncoderAccelerating | 否 |
txPacketLossRate | NSInteger | 否 |
captureBrightnessLevel | AgoraCaptureBrightnessLevelType | 否 |
dualStreamEnabled | BOOL | 否 |
AgoraRtcMediaPlayerAudioFrameDelegate 1 方法 / 0 属性
AgoraRtcMediaPlayer:didReceiveAudioFrame:(playerKit: id, audioFrame: AgoraAudioFrame*): void方法明细:1 / 1(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
AgoraRtcMediaPlayer:didReceiveAudioFrame: | playerKit: id, audioFrame: AgoraAudioFrame* | void | 错误码索引 |
AgoraRtcMediaPlayerCacheManagerProtocol 13 方法 / 0 属性
cacheDir(): NSString*
cacheFileCount(): NSInteger
createMediaPlayerCacheManager(): id
enableAutoRemoveCache:(enable: BOOL): int
maxCacheFileCount(): NSInteger
maxCacheFileSize(): NSInteger
removeAllCaches(): int
removeCacheByUri:(uri: NSString*): int
removeOldCache(): int
setCacheDir:(cacheDir: NSString*): int
setMaxCacheFileCount:(count: NSInteger): int
setMaxCacheFileSize:(cacheSize: NSInteger): int
sharedInstance(): instancetype方法明细:13 / 13(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
cacheDir | — | NSString* | 错误码索引 |
cacheFileCount | — | NSInteger | 错误码索引 |
createMediaPlayerCacheManager | — | id | 错误码索引 |
enableAutoRemoveCache: | enable: BOOL | int | 错误码索引 |
maxCacheFileCount | — | NSInteger | 错误码索引 |
maxCacheFileSize | — | NSInteger | 错误码索引 |
removeAllCaches | — | int | 错误码索引 |
removeCacheByUri: | uri: NSString* | int | 错误码索引 |
removeOldCache | — | int | 错误码索引 |
setCacheDir: | cacheDir: NSString* | int | 错误码索引 |
setMaxCacheFileCount: | count: NSInteger | int | 错误码索引 |
setMaxCacheFileSize: | cacheSize: NSInteger | int | 错误码索引 |
sharedInstance | — | instancetype | 错误码索引 |
AgoraRtcMediaPlayerDelegate 11 方法 / 0 属性
AgoraRtcMediaPlayer:cacheStats:(playerKit: id, info: AgoraMediaPlayerCacheStatistics*): void
AgoraRtcMediaPlayer:didChangedToPosition:atTimestamp:(playerKit: id, positionMs: NSInteger, timestampMs: NSTimeInterval): void
AgoraRtcMediaPlayer:didChangedToState:reason:(playerKit: id, state: AgoraMediaPlayerState, reason: AgoraMediaPlayerReason): void
AgoraRtcMediaPlayer:didOccurEvent:elapsedTime:message:(playerKit: id, eventCode: AgoraMediaPlayerEvent, elapsedTime: NSInteger, message?: NSString*): void
AgoraRtcMediaPlayer:didPlayBufferUpdated:(playerKit: id, playCachedBuffer: NSInteger): void
AgoraRtcMediaPlayer:didPreloadEvent:(playerKit: id, event: AgoraMediaPlayerPreloadEvent): void
AgoraRtcMediaPlayer:didReceiveData:length:(playerKit: id, data?: NSString*, length: NSInteger): void
AgoraRtcMediaPlayer:infoUpdated:(playerKit: id, info: AgoraMediaPlayerUpdatedInfo*): void
AgoraRtcMediaPlayer:playbackStats:(playerKit: id, info: AgoraMediaPlayerPlaybackStats*): void
AgoraRtcMediaPlayer:playerSrcInfoDidChange:from:(playerKit: id, to: AgoraMediaPlayerSrcInfo*, from: AgoraMediaPlayerSrcInfo*): void
AgoraRtcMediaPlayer:volumeIndicationDidReceive:(playerKit: id, volume: NSInteger): void方法明细:11 / 11(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
AgoraRtcMediaPlayer:cacheStats: | playerKit: id, info: AgoraMediaPlayerCacheStatistics* | void | 错误码索引 |
AgoraRtcMediaPlayer:didChangedToPosition:atTimestamp: | playerKit: id, positionMs: NSInteger, timestampMs: NSTimeInterval | void | 错误码索引 |
AgoraRtcMediaPlayer:didChangedToState:reason: | playerKit: id, state: AgoraMediaPlayerState, reason: AgoraMediaPlayerReason | void | 错误码索引 |
AgoraRtcMediaPlayer:didOccurEvent:elapsedTime:message: | playerKit: id, eventCode: AgoraMediaPlayerEvent, elapsedTime: NSInteger, message?: NSString* | void | 错误码索引 |
AgoraRtcMediaPlayer:didPlayBufferUpdated: | playerKit: id, playCachedBuffer: NSInteger | void | 错误码索引 |
AgoraRtcMediaPlayer:didPreloadEvent: | playerKit: id, event: AgoraMediaPlayerPreloadEvent | void | 错误码索引 |
AgoraRtcMediaPlayer:didReceiveData:length: | playerKit: id, data?: NSString*, length: NSInteger | void | 错误码索引 |
AgoraRtcMediaPlayer:infoUpdated: | playerKit: id, info: AgoraMediaPlayerUpdatedInfo* | void | 错误码索引 |
AgoraRtcMediaPlayer:playbackStats: | playerKit: id, info: AgoraMediaPlayerPlaybackStats* | void | 错误码索引 |
AgoraRtcMediaPlayer:playerSrcInfoDidChange:from: | playerKit: id, to: AgoraMediaPlayerSrcInfo*, from: AgoraMediaPlayerSrcInfo* | void | 错误码索引 |
AgoraRtcMediaPlayer:volumeIndicationDidReceive: | playerKit: id, volume: NSInteger | void | 错误码索引 |
AgoraRtcMediaPlayerProtocol 37 方法 / 0 属性
adjustPlayoutVolume:(volume: int): int
adjustPublishSignalVolume:(volume: int): int
getAudioBufferDelay(): NSInteger
getDuration(): NSInteger
getMediaPlayerId(): int
getMute(): BOOL
getPlaySrc(): NSString*
getPlayerState(): AgoraMediaPlayerState
getPlayoutVolume(): int
getPosition(): NSInteger
getPublishSignalVolume(): int
getStreamByIndex:(index: int): AgoraRtcMediaStreamInfo*
getStreamCount(): NSInteger
mute:(isMute: BOOL): int
open:startPos:(url: NSString*, startPos: NSInteger): int
openWithMediaSource:(source: AgoraMediaSource*): int
pause(): int
play(): int
playPreloadedSrc:(src: NSString*): int
preloadSrc:startPos:(src: NSString*, startPos: int): int
resume(): int
seekToPosition:(position: NSInteger): int
selectAudioTrack:(index: int): int
selectMultiAudioTrack:publishTrackIndex:(playoutTrackIndex: NSInteger, publishTrackIndex: NSInteger): int
setAudioDualMonoMode:(mode: AgoraAudioDualMonoMode): int
setAudioPitch:(pitch: NSInteger): int
setLoopCount:(loopCount: int): int
setPlaybackSpeed:(speed: int): int
setPlayerOption:value:(key: NSString*, value: NSInteger): int
setPlayerOptionString:value:(key: NSString*, value: NSString*): int
setRenderMode:(mode: AgoraMediaPlayerRenderMode): int
setSpatialAudioParams:(params: AgoraSpatialAudioParams*): int
setVideoFrameDelegate:(delegate?: id): BOOL
setView:(view?: View*): int
stop:(): unknown
switchSrc:syncPts:(src: NSString*, syncPts: BOOL): int
unloadSrc:(src: NSString*): int方法明细:37 / 37(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
adjustPlayoutVolume: | volume: int | int | 错误码索引 |
adjustPublishSignalVolume: | volume: int | int | 错误码索引 |
getAudioBufferDelay | — | NSInteger | 错误码索引 |
getDuration | — | NSInteger | 错误码索引 |
getMediaPlayerId | — | int | 错误码索引 |
getMute | — | BOOL | 错误码索引 |
getPlaySrc | — | NSString* | 错误码索引 |
getPlayerState | — | AgoraMediaPlayerState | 错误码索引 |
getPlayoutVolume | — | int | 错误码索引 |
getPosition | — | NSInteger | 错误码索引 |
getPublishSignalVolume | — | int | 错误码索引 |
getStreamByIndex: | index: int | AgoraRtcMediaStreamInfo* | 错误码索引 |
getStreamCount | — | NSInteger | 错误码索引 |
mute: | isMute: BOOL | int | 错误码索引 |
open:startPos: | url: NSString*, startPos: NSInteger | int | 错误码索引 |
openWithMediaSource: | source: AgoraMediaSource* | int | 错误码索引 |
pause | — | int | 错误码索引 |
play | — | int | 错误码索引 |
playPreloadedSrc: | src: NSString* | int | 错误码索引 |
preloadSrc:startPos: | src: NSString*, startPos: int | int | 错误码索引 |
resume | — | int | 错误码索引 |
seekToPosition: | position: NSInteger | int | 错误码索引 |
selectAudioTrack: | index: int | int | 错误码索引 |
selectMultiAudioTrack:publishTrackIndex: | playoutTrackIndex: NSInteger, publishTrackIndex: NSInteger | int | 错误码索引 |
setAudioDualMonoMode: | mode: AgoraAudioDualMonoMode | int | 错误码索引 |
setAudioPitch: | pitch: NSInteger | int | 错误码索引 |
setLoopCount: | loopCount: int | int | 错误码索引 |
setPlaybackSpeed: | speed: int | int | 错误码索引 |
setPlayerOption:value: | key: NSString*, value: NSInteger | int | 错误码索引 |
setPlayerOptionString:value: | key: NSString*, value: NSString* | int | 错误码索引 |
setRenderMode: | mode: AgoraMediaPlayerRenderMode | int | 错误码索引 |
setSpatialAudioParams: | params: AgoraSpatialAudioParams* | int | 错误码索引 |
setVideoFrameDelegate: | delegate?: id | BOOL | 错误码索引 |
setView: | view?: View* | int | 错误码索引 |
stop: | — | unknown | 错误码索引 |
switchSrc:syncPts: | src: NSString*, syncPts: BOOL | int | 错误码索引 |
unloadSrc: | src: NSString* | int | 错误码索引 |
AgoraRtcMediaPlayerVideoFrameDelegate 3 方法 / 0 属性
AgoraRtcMediaPlayer:didReceivePixelBuffer:(playerKit: id, pixelBuffer: CVPixelBufferRef): void
AgoraRtcMediaPlayer:didReceiveVideoFrame:(playerKit: id, videoFrame: AgoraOutputVideoFrame*): void
AgoraRtcMediaPlayerGetVideoPixelFormat(): AgoraVideoFormat方法明细:3 / 3(参数、返回值、错误码)
AgoraRtcMediaStreamInfo 0 方法 / 12 属性
| 属性 | 类型 | 只读 |
|---|---|---|
streamIndex | NSInteger | 否 |
streamType | AgoraMediaStreamType | 否 |
codecName | NSString* | 否 |
language | NSString* | 否 |
videoFrameRate | NSInteger | 否 |
videoBitRate | NSInteger | 否 |
videoWidth | NSInteger | 否 |
videoHeight | NSInteger | 否 |
audioSampleRate | NSInteger | 否 |
audioChannels | NSInteger | 否 |
duration | NSInteger | 否 |
rotation | NSInteger | 否 |
AgoraRtcRemoteAudioStats 0 方法 / 19 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
quality | NSUInteger | 否 |
networkTransportDelay | NSUInteger | 否 |
jitterBufferDelay | NSUInteger | 否 |
audioLossRate | NSUInteger | 否 |
numChannels | NSUInteger | 否 |
receivedSampleRate | NSUInteger | 否 |
receivedBitrate | NSUInteger | 否 |
totalFrozenTime | NSUInteger | 否 |
totalActiveTime | NSUInteger | 否 |
publishDuration | NSInteger | 否 |
frozenRate | NSUInteger | 否 |
mosValue | NSUInteger | 否 |
frozenRateByCustomPlcCount | NSUInteger | 否 |
plcCount | NSUInteger | 否 |
qoeQuality | AgoraExperienceQuality | 否 |
qualityChangedReason | AgoraExperiencePoorReason | 否 |
rxAudioBytes | NSUInteger | 否 |
e2eDelay | NSInteger | 否 |
AgoraRtcRemoteVideoStats 0 方法 / 18 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
delay | NSUInteger | 否 |
e2eDelay | NSUInteger | 否 |
width | NSUInteger | 否 |
height | NSUInteger | 否 |
receivedBitrate | NSUInteger | 否 |
rxStreamType | AgoraVideoStreamType | 否 |
decoderOutputFrameRate | NSInteger | 否 |
rendererOutputFrameRate | NSInteger | 否 |
frameLossRate | NSInteger | 否 |
packetLossRate | NSInteger | 否 |
totalFrozenTime | NSInteger | 否 |
totalActiveTime | NSUInteger | 否 |
publishDuration | NSInteger | 否 |
frozenRate | NSInteger | 否 |
avSyncTimeMs | NSInteger | 否 |
mosValue | NSInteger | 否 |
rxVideoBytes | NSUInteger | 否 |
AgoraRtcVideoCanvas 0 方法 / 12 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
subviewUid | NSUInteger | 否 |
view | VIEW_CLASS* | 否 |
renderMode | AgoraVideoRenderMode | 否 |
mirrorMode | AgoraVideoMirrorMode | 否 |
setupMode | AgoraVideoViewSetupMode | 否 |
sourceType | AgoraVideoSourceType | 否 |
mediaPlayerId | int | 否 |
cropArea | CGRect | 否 |
backgroundColor | UInt32 | 否 |
enableAlphaMask | BOOL | 否 |
position | AgoraVideoModulePosition | 否 |
AgoraRte 6 方法 / 0 属性
destroy:(error?: AgoraRteError*): BOOL
getConfigs:error:(config: AgoraRteConfig*, error?: AgoraRteError*): BOOL
getFromBridge:(error?: AgoraRteError*): instancetype
initMediaEngine:error:(cb?: void (^ )(AgoraRteError*err), error?: AgoraRteError*): BOOL
initWithInitialConfig:(config?: AgoraRteInitialConfig*): instancetype
setConfigs:error:(config: AgoraRteConfig*, error?: AgoraRteError*): BOOL方法明细:6 / 6(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
destroy: | error?: AgoraRteError* | BOOL | 错误码索引 |
getConfigs:error: | config: AgoraRteConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
getFromBridge: | error?: AgoraRteError* | instancetype | 错误码索引 |
initMediaEngine:error: | cb?: void (^ )(AgoraRteError*err), error?: AgoraRteError* | BOOL | 错误码索引 |
initWithInitialConfig: | config?: AgoraRteInitialConfig* | instancetype | 错误码索引 |
setConfigs:error: | config: AgoraRteConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
AgoraRteCanvas 5 方法 / 0 属性
addView:config:error:(view: AgoraRteView*, config?: AgoraRteViewConfig*, error?: AgoraRteError*): BOOL
getConfigs:error:(config: AgoraRteCanvasConfig*, error?: AgoraRteError*): BOOL
initWithRte:initialConfig:(rte: AgoraRte*, config?: AgoraRteCanvasInitialConfig*): instancetype
removeView:config:error:(view: AgoraRteView*, config?: AgoraRteViewConfig*, error?: AgoraRteError*): BOOL
setConfigs:error:(config: AgoraRteCanvasConfig*, error?: AgoraRteError*): BOOL方法明细:5 / 5(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
addView:config:error: | view: AgoraRteView*, config?: AgoraRteViewConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
getConfigs:error: | config: AgoraRteCanvasConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
initWithRte:initialConfig: | rte: AgoraRte*, config?: AgoraRteCanvasInitialConfig* | instancetype | 错误码索引 |
removeView:config:error: | view: AgoraRteView*, config?: AgoraRteViewConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
setConfigs:error: | config: AgoraRteCanvasConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
AgoraRteCanvasConfig 4 方法 / 0 属性
setVideoMirrorMode:error:(mode: AgoraRteVideoMirrorMode, error?: AgoraRteError*): void
setVideoRenderMode:error:(mode: AgoraRteVideoRenderMode, error?: AgoraRteError*): void
videoMirrorMode:(error?: AgoraRteError*): AgoraRteVideoMirrorMode
videoRenderMode:(error?: AgoraRteError*): AgoraRteVideoRenderMode方法明细:4 / 4(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
setVideoMirrorMode:error: | mode: AgoraRteVideoMirrorMode, error?: AgoraRteError* | void | 错误码索引 |
setVideoRenderMode:error: | mode: AgoraRteVideoRenderMode, error?: AgoraRteError* | void | 错误码索引 |
videoMirrorMode: | error?: AgoraRteError* | AgoraRteVideoMirrorMode | 错误码索引 |
videoRenderMode: | error?: AgoraRteError* | AgoraRteVideoRenderMode | 错误码索引 |
AgoraRteConfig 4 方法 / 0 属性
appId:(error?: AgoraRteError*): NSString*
jsonParameter:(error?: AgoraRteError*): NSString*
setAppId:error:(appId?: NSString*, error?: AgoraRteError*): void
setJsonParameter:error:(jsonParameter?: NSString*, error?: AgoraRteError*): void方法明细:4 / 4(参数、返回值、错误码)
AgoraRteError 2 方法 / 0 属性
code(): AgoraRteErrorCode
message(): NSString*方法明细:2 / 2(参数、返回值、错误码)
AgoraRtePlayer 18 方法 / 0 属性
getConfigs:error:(config: AgoraRtePlayerConfig*, error?: AgoraRteError*): BOOL
getInfo:error:(info: AgoraRtePlayerInfo*, error?: AgoraRteError*): BOOL
getPosition:(error?: AgoraRteError*): uint64_t
getStats:(cb?: void (^)(AgoraRtePlayerStats*stats,AgoraRteError*err)): void
initWithRte:initialConfig:(rte: AgoraRte*, config?: AgoraRtePlayerInitialConfig*): instancetype
muteAudio:error:(mute: BOOL, error?: AgoraRteError*): BOOL
muteVideo:error:(mute: BOOL, error?: AgoraRteError*): BOOL
openWithUrl:startTime:cb:(url: NSString*, startTime: uint64_t, cb?: void (^)(AgoraRteError*err)): void
pause:(error?: AgoraRteError*): BOOL
play:(error?: AgoraRteError*): BOOL
preloadWithUrl:error:(url: NSString*, error?: AgoraRteError*): BOOL
registerObserver:error:(observer: AgoraRtePlayerObserver*, error?: AgoraRteError*): BOOL
seek:error:(newTime: uint64_t, error?: AgoraRteError*): BOOL
setCanvas:error:(canvas: AgoraRteCanvas*, error?: AgoraRteError*): BOOL
setConfigs:error:(config: AgoraRtePlayerConfig*, error?: AgoraRteError*): BOOL
stop:(error?: AgoraRteError*): BOOL
switchWithUrl:syncPts:cb:(url: NSString*, syncPts: BOOL, cb?: void (^)(AgoraRteError*err)): void
unregisterObserver:error:(observer?: AgoraRtePlayerObserver*, error?: AgoraRteError*): BOOL方法明细:18 / 18(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
getConfigs:error: | config: AgoraRtePlayerConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
getInfo:error: | info: AgoraRtePlayerInfo*, error?: AgoraRteError* | BOOL | 错误码索引 |
getPosition: | error?: AgoraRteError* | uint64_t | 错误码索引 |
getStats: | cb?: void (^)(AgoraRtePlayerStats*stats,AgoraRteError*err) | void | 错误码索引 |
initWithRte:initialConfig: | rte: AgoraRte*, config?: AgoraRtePlayerInitialConfig* | instancetype | 错误码索引 |
muteAudio:error: | mute: BOOL, error?: AgoraRteError* | BOOL | 错误码索引 |
muteVideo:error: | mute: BOOL, error?: AgoraRteError* | BOOL | 错误码索引 |
openWithUrl:startTime:cb: | url: NSString*, startTime: uint64_t, cb?: void (^)(AgoraRteError*err) | void | 错误码索引 |
pause: | error?: AgoraRteError* | BOOL | 错误码索引 |
play: | error?: AgoraRteError* | BOOL | 错误码索引 |
preloadWithUrl:error: | url: NSString*, error?: AgoraRteError* | BOOL | 错误码索引 |
registerObserver:error: | observer: AgoraRtePlayerObserver*, error?: AgoraRteError* | BOOL | 错误码索引 |
seek:error: | newTime: uint64_t, error?: AgoraRteError* | BOOL | 错误码索引 |
setCanvas:error: | canvas: AgoraRteCanvas*, error?: AgoraRteError* | BOOL | 错误码索引 |
setConfigs:error: | config: AgoraRtePlayerConfig*, error?: AgoraRteError* | BOOL | 错误码索引 |
stop: | error?: AgoraRteError* | BOOL | 错误码索引 |
switchWithUrl:syncPts:cb: | url: NSString*, syncPts: BOOL, cb?: void (^)(AgoraRteError*err) | void | 错误码索引 |
unregisterObserver:error: | observer?: AgoraRtePlayerObserver*, error?: AgoraRteError* | BOOL | 错误码索引 |
AgoraRtePlayerConfig 12 方法 / 0 属性
abrFallbackLayer:(error?: AgoraRteError*): AgoraRteAbrFallbackLayer
abrSubscriptionLayer:(error?: AgoraRteError*): AgoraRteAbrSubscriptionLayer
autoPlay:(error?: AgoraRteError*): BOOL
loopCount:(error?: AgoraRteError*): int32_t
playbackSpeed:(error?: AgoraRteError*): int32_t
playoutVolume:(error?: AgoraRteError*): int32_t
setAbrFallbackLayer:error:(layer: AgoraRteAbrFallbackLayer, error?: AgoraRteError*): void
setAbrSubscriptionLayer:error:(layer: AgoraRteAbrSubscriptionLayer, error?: AgoraRteError*): void
setAutoPlay:error:(autoPlay: BOOL, error?: AgoraRteError*): void
setLoopCount:error:(count: int32_t, error?: AgoraRteError*): void
setPlaybackSpeed:error:(speed: int32_t, error?: AgoraRteError*): void
setPlayoutVolume:error:(volume: int32_t, error?: AgoraRteError*): void方法明细:12 / 12(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
abrFallbackLayer: | error?: AgoraRteError* | AgoraRteAbrFallbackLayer | 错误码索引 |
abrSubscriptionLayer: | error?: AgoraRteError* | AgoraRteAbrSubscriptionLayer | 错误码索引 |
autoPlay: | error?: AgoraRteError* | BOOL | 错误码索引 |
loopCount: | error?: AgoraRteError* | int32_t | 错误码索引 |
playbackSpeed: | error?: AgoraRteError* | int32_t | 错误码索引 |
playoutVolume: | error?: AgoraRteError* | int32_t | 错误码索引 |
setAbrFallbackLayer:error: | layer: AgoraRteAbrFallbackLayer, error?: AgoraRteError* | void | 错误码索引 |
setAbrSubscriptionLayer:error: | layer: AgoraRteAbrSubscriptionLayer, error?: AgoraRteError* | void | 错误码索引 |
setAutoPlay:error: | autoPlay: BOOL, error?: AgoraRteError* | void | 错误码索引 |
setLoopCount:error: | count: int32_t, error?: AgoraRteError* | void | 错误码索引 |
setPlaybackSpeed:error: | speed: int32_t, error?: AgoraRteError* | void | 错误码索引 |
setPlayoutVolume:error: | volume: int32_t, error?: AgoraRteError* | void | 错误码索引 |
AgoraRtePlayerObserver 7 方法 / 0 属性
onAudioVolumeIndication:(volume: int32_t): void
onEvent:(event: AgoraRtePlayerEvent): void
onMetadata:data:(type: AgoraRtePlayerMetadataType, data: NSData*): void
onPlayerInfoUpdated:(info: AgoraRtePlayerInfo*): void
onPositionChanged:utcTime:(currentTime: uint64_t, utcTime: uint64_t): void
onResolutionChanged:height:(width: int, height: int): void
onStateChanged:newState:error:(oldState: AgoraRtePlayerState, newState: AgoraRtePlayerState, error?: AgoraRteError*): void方法明细:7 / 7(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
onAudioVolumeIndication: | volume: int32_t | void | 错误码索引 |
onEvent: | event: AgoraRtePlayerEvent | void | 错误码索引 |
onMetadata:data: | type: AgoraRtePlayerMetadataType, data: NSData* | void | 错误码索引 |
onPlayerInfoUpdated: | info: AgoraRtePlayerInfo* | void | 错误码索引 |
onPositionChanged:utcTime: | currentTime: uint64_t, utcTime: uint64_t | void | 错误码索引 |
onResolutionChanged:height: | width: int, height: int | void | 错误码索引 |
onStateChanged:newState:error: | oldState: AgoraRtePlayerState, newState: AgoraRtePlayerState, error?: AgoraRteError* | void | 错误码索引 |
AgoraRtePlayerStats 0 方法 / 0 属性
无公开成员。
AgoraScreenAudioParameters 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
captureSignalVolume | NSInteger | 否 |
AgoraScreenCaptureParameters2 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
captureAudio | BOOL | 否 |
audioParams | AgoraScreenAudioParameters* | 否 |
captureVideo | BOOL | 否 |
videoParams | AgoraScreenVideoParameters* | 否 |
AgoraScreenVideoParameters 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
dimensions | CGSize | 否 |
frameRate | NSInteger | 否 |
bitrate | NSInteger | 否 |
contentHint | AgoraVideoContentHint | 否 |
AgoraSegmentationProperty 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
modelType | SegModelType | 否 |
greenCapacity | float | 否 |
screenColorType | ScreenColorType | 否 |
AgoraSimulcastStreamConfig 0 方法 / 0 属性
无公开成员。
AgoraSnapshotConfig 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
filePath | NSString* | 否 |
position | AgoraVideoModulePosition | 否 |
AgoraSpatialAudioKitBase 12 方法 / 0 属性
clearRemotePositions:(): unknown
muteAllRemoteAudioStreams:(mute: BOOL): int
muteLocalAudioStream:(mute: BOOL): int
muteRemoteAudioStream:mute:(uid: NSUInteger, mute: BOOL): int
setAudioRecvRange:(range: float): int
setDistanceUnit:(unit: float): int
setMaxAudioRecvCount:(maxCount: NSUInteger): int
setPlayerAttenuation:playerId:forceSet:(attenuation: double, playerId: NSUInteger, forceSet: BOOL): int
setZones:(zones?: NSArray*): int
updatePlayerPositionInfo:positionInfo:(playerId: NSInteger, positionInfo: AgoraRemoteVoicePositionInfo*): int
updateSelfPosition:axisForward:axisRight:axisUp:(position: simd_float3, axisForward: simd_float3, axisRight: simd_float3, axisUp: simd_float3): int
updateSelfTransform:(transform: simd_float4x4): int方法明细:12 / 12(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
clearRemotePositions: | — | unknown | 错误码索引 |
muteAllRemoteAudioStreams: | mute: BOOL | int | 错误码索引 |
muteLocalAudioStream: | mute: BOOL | int | 错误码索引 |
muteRemoteAudioStream:mute: | uid: NSUInteger, mute: BOOL | int | 错误码索引 |
setAudioRecvRange: | range: float | int | 错误码索引 |
setDistanceUnit: | unit: float | int | 错误码索引 |
setMaxAudioRecvCount: | maxCount: NSUInteger | int | 错误码索引 |
setPlayerAttenuation:playerId:forceSet: | attenuation: double, playerId: NSUInteger, forceSet: BOOL | int | 错误码索引 |
setZones: | zones?: NSArray* | int | 错误码索引 |
updatePlayerPositionInfo:positionInfo: | playerId: NSInteger, positionInfo: AgoraRemoteVoicePositionInfo* | int | 错误码索引 |
updateSelfPosition:axisForward:axisRight:axisUp: | position: simd_float3, axisForward: simd_float3, axisRight: simd_float3, axisUp: simd_float3 | int | 错误码索引 |
updateSelfTransform: | transform: simd_float4x4 | int | 错误码索引 |
AgoraSpatialAudioParams 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
speaker_azimuth | double | 否 |
speaker_elevation | double | 否 |
speaker_distance | double | 否 |
speaker_orientation | NSInteger | 否 |
enable_blur | BOOL | 否 |
enable_air_absorb | BOOL | 否 |
speaker_attenuation | double | 否 |
enable_doppler | BOOL | 否 |
AgoraSpatialAudioZone 0 方法 / 9 属性
| 属性 | 类型 | 只读 |
|---|---|---|
zoneSetId | NSInteger | 否 |
position | simd_float3 | 否 |
forward | simd_float3 | 否 |
right | simd_float3 | 否 |
up | simd_float3 | 否 |
forwardLength | float | 否 |
rightLength | float | 否 |
upLength | float | 否 |
audioAttenuation | float | 否 |
AgoraTranscodingVideoStream 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
remoteUserUid | NSUInteger | 否 |
sourceType | AgoraVideoSourceType | 否 |
imageUrl | NSString* | 否 |
mediaPlayerId | NSUInteger | 否 |
rect | CGRect | 否 |
zOrder | NSInteger | 否 |
alpha | double | 否 |
mirror | BOOL | 否 |
AgoraUplinkNetworkInfo 0 方法 / 1 属性
| 属性 | 类型 | 只读 |
|---|---|---|
videoEncoderTargetBitrateBps | int | 否 |
AgoraUserInfo 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
uid | NSUInteger | 否 |
userAccount | NSString* | 否 |
AgoraVideoCodecCapInfo 0 方法 / 3 属性
| 属性 | 类型 | 只读 |
|---|---|---|
codecType | AgoraVideoCodecType | 否 |
codecCapMask | NSUInteger | 否 |
codecCapLevels | AgoraVideoCodecCapLevels* | 否 |
AgoraVideoCodecCapLevels 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
hwDecodingLevel | AgoraVideoCodecCapabilityLevel | 否 |
swDecodingLevel | AgoraVideoCodecCapabilityLevel | 否 |
AgoraVideoDenoiserOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
mode | AgoraVideoDenoiserMode | 否 |
level | AgoraVideoDenoiserLevel | 否 |
AgoraVideoEffectObject 10 方法 / 1 属性
addOrUpdateVideoEffectWithNodeId:templateName:(nodeId: NSUInteger, templateNameNS_SWIFT_NAME: NSString*): int
getVideoEffectBoolParamWithOption:key:(option: NSString*, keyNS_SWIFT_NAME: NSString*): BOOL
getVideoEffectFloatParamWithOption:key:(option: NSString*, keyNS_SWIFT_NAME: NSString*): float
getVideoEffectIntParamWithOption:key:(option: NSString*, keyNS_SWIFT_NAME: NSString*): int
performVideoEffectActionWithNodeId:actionId:(nodeId: NSUInteger, actionIdNS_SWIFT_NAME: AgoraVideoEffectAction): int
removeVideoEffectWithNodeId:(nodeIdNS_SWIFT_NAME: NSUInteger): int
setVideoEffectBoolParamWithOption:key:boolValue:(option: NSString*, key: NSString*, boolValueNS_SWIFT_NAME: BOOL): int
setVideoEffectFloatParamWithOption:key:floatValue:(option: NSString*, key: NSString*, floatValueNS_SWIFT_NAME: float): int
setVideoEffectIntParamWithOption:key:intValue:(option: NSString*, key: NSString*, intValueNS_SWIFT_NAME: int): int
setVideoEffectStringParamWithOption:key:stringValue:(option: NSString*, key: NSString*, stringValueNS_SWIFT_NAME: NSString*): int方法明细:10 / 10(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
addOrUpdateVideoEffectWithNodeId:templateName: | nodeId: NSUInteger, templateNameNS_SWIFT_NAME: NSString* | int | 错误码索引 |
getVideoEffectBoolParamWithOption:key: | option: NSString*, keyNS_SWIFT_NAME: NSString* | BOOL | 错误码索引 |
getVideoEffectFloatParamWithOption:key: | option: NSString*, keyNS_SWIFT_NAME: NSString* | float | 错误码索引 |
getVideoEffectIntParamWithOption:key: | option: NSString*, keyNS_SWIFT_NAME: NSString* | int | 错误码索引 |
performVideoEffectActionWithNodeId:actionId: | nodeId: NSUInteger, actionIdNS_SWIFT_NAME: AgoraVideoEffectAction | int | 错误码索引 |
removeVideoEffectWithNodeId: | nodeIdNS_SWIFT_NAME: NSUInteger | int | 错误码索引 |
setVideoEffectBoolParamWithOption:key:boolValue: | option: NSString*, key: NSString*, boolValueNS_SWIFT_NAME: BOOL | int | 错误码索引 |
setVideoEffectFloatParamWithOption:key:floatValue: | option: NSString*, key: NSString*, floatValueNS_SWIFT_NAME: float | int | 错误码索引 |
setVideoEffectIntParamWithOption:key:intValue: | option: NSString*, key: NSString*, intValueNS_SWIFT_NAME: int | int | 错误码索引 |
setVideoEffectStringParamWithOption:key:stringValue: | option: NSString*, key: NSString*, stringValueNS_SWIFT_NAME: NSString* | int | 错误码索引 |
| 属性 | 类型 | 只读 |
|---|---|---|
AgoraVideoEffectNodeSticker | unknown | 否 |
AgoraVideoEncoderConfiguration 2 方法 / 9 属性
initWithSize:frameRate:bitrate:orientationMode:mirrorMode:(size: CGSize, frameRate: NSInteger, bitrate: NSInteger, orientationMode: AgoraVideoOutputOrientationMode, mirrorMode: AgoraVideoMirrorMode): instancetype
initWithWidth:height:frameRate:bitrate:orientationMode:mirrorMode:(width: NSInteger, height: NSInteger, frameRate: NSInteger, bitrate: NSInteger, orientationMode: AgoraVideoOutputOrientationMode, mirrorMode: AgoraVideoMirrorMode): instancetype方法明细:2 / 2(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
initWithSize:frameRate:bitrate:orientationMode:mirrorMode: | size: CGSize, frameRate: NSInteger, bitrate: NSInteger, orientationMode: AgoraVideoOutputOrientationMode, mirrorMode: AgoraVideoMirrorMode | instancetype | 错误码索引 |
initWithWidth:height:frameRate:bitrate:orientationMode:mirrorMode: | width: NSInteger, height: NSInteger, frameRate: NSInteger, bitrate: NSInteger, orientationMode: AgoraVideoOutputOrientationMode, mirrorMode: AgoraVideoMirrorMode | instancetype | 错误码索引 |
| 属性 | 类型 | 只读 |
|---|---|---|
dimensions | CGSize | 否 |
codecType | AgoraVideoCodecType | 否 |
frameRate | NSInteger | 否 |
bitrate | NSInteger | 否 |
minBitrate | NSInteger | 否 |
orientationMode | AgoraVideoOutputOrientationMode | 否 |
mirrorMode | AgoraVideoMirrorMode | 否 |
degradationPreference | AgoraDegradationPreference | 否 |
advancedVideoOptions | AgoraAdvancedVideoOptions* | 否 |
AgoraVideoFrame 0 方法 / 16 属性
| 属性 | 类型 | 只读 |
|---|---|---|
format | NSInteger | 否 |
time | CMTime | 否 |
stride | int | 否 |
strideInPixels | int stride DEPRECATED_MSG_ATTRIBUTE("use | 否 |
height | int | 否 |
textureBuf | CVPixelBufferRef | 否 |
image | IMAGE_CLASS* | 否 |
dataBuf | NSData* | 否 |
alphaBuf | NSData* | 否 |
alphaStitchMode | AgoraAlphaStitchMode | 否 |
cropLeft | int | 否 |
cropTop | int | 否 |
cropRight | int | 否 |
cropBottom | int | 否 |
rotation | int | 否 |
colorSpace | AgoraColorSpace* | 否 |
AgoraVideoFrameDelegate 8 方法 / 0 属性
getMirrorApplied(): BOOL
getObservedFramePosition(): AgoraVideoFramePosition
getRotationApplied(): BOOL
getVideoFormatPreference(): AgoraVideoFormat
getVideoFrameProcessMode(): AgoraVideoFrameProcessMode
onCaptureVideoFrame:sourceType:(videoFrame: AgoraOutputVideoFrame*, sourceType: AgoraVideoSourceType): BOOL
onPreEncodeVideoFrame:sourceType:(videoFrame: AgoraOutputVideoFrame*, sourceType: AgoraVideoSourceType): BOOL
onRenderVideoFrame:uid:channelId:(videoFrame: AgoraOutputVideoFrame*, uid: NSUInteger, channelId: NSString*): BOOL方法明细:8 / 8(参数、返回值、错误码)
| 方法 | 参数 | 返回值 | 错误 |
|---|---|---|---|
getMirrorApplied | — | BOOL | 错误码索引 |
getObservedFramePosition | — | AgoraVideoFramePosition | 错误码索引 |
getRotationApplied | — | BOOL | 错误码索引 |
getVideoFormatPreference | — | AgoraVideoFormat | 错误码索引 |
getVideoFrameProcessMode | — | AgoraVideoFrameProcessMode | 错误码索引 |
onCaptureVideoFrame:sourceType: | videoFrame: AgoraOutputVideoFrame*, sourceType: AgoraVideoSourceType | BOOL | 错误码索引 |
onPreEncodeVideoFrame:sourceType: | videoFrame: AgoraOutputVideoFrame*, sourceType: AgoraVideoSourceType | BOOL | 错误码索引 |
onRenderVideoFrame:uid:channelId: | videoFrame: AgoraOutputVideoFrame*, uid: NSUInteger, channelId: NSString* | BOOL | 错误码索引 |
AgoraVideoLayout 0 方法 / 8 属性
| 属性 | 类型 | 只读 |
|---|---|---|
channelId | NSString* | 否 |
uid | NSUInteger | 否 |
strUid | NSString* | 否 |
videoState | NSUInteger | 否 |
x | NSUInteger | 否 |
y | NSUInteger | 否 |
width | NSUInteger | 否 |
height | NSUInteger | 否 |
AgoraVideoLayoutInfo 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
width | NSUInteger | 否 |
height | NSUInteger | 否 |
layoutCount | NSUInteger | 否 |
layoutList | NSArray* | 否 |
AgoraVideoRenderingTracingInfo 0 方法 / 7 属性
| 属性 | 类型 | 只读 |
|---|---|---|
elapsedTime | NSInteger | 否 |
start2JoinChannel | NSInteger | 否 |
join2JoinSuccess | NSInteger | 否 |
joinSuccess2RemoteJoined | NSInteger | 否 |
remoteJoined2SetView | NSInteger | 否 |
remoteJoined2UnmuteVideo | NSInteger | 否 |
remoteJoined2PacketReceived | NSInteger | 否 |
AgoraVideoSubscriptionOptions 0 方法 / 2 属性
| 属性 | 类型 | 只读 |
|---|---|---|
type | AgoraVideoStreamType | 否 |
encodedFrameOnly | BOOL | 否 |
AgoraVirtualBackgroundSource 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
backgroundSourceType | AgoraVirtualBackgroundSourceType | 否 |
color | NSUInteger | 否 |
source | NSString* | 否 |
blurDegree | AgoraBlurDegree | 否 |
LogUploadServerInfo 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
serverDomain | NSString* | 否 |
serverPath | NSString* | 否 |
serverPort | NSInteger | 否 |
serverHttps | BOOL | 否 |
WatermarkBuffer 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
width | int | 否 |
height | int | 否 |
length | int | 否 |
buffer | NSData* | 否 |
format | WatermarkBufferFormat | 否 |
WatermarkConfig 0 方法 / 5 属性
| 属性 | 类型 | 只读 |
|---|---|---|
id | NSString* | 否 |
type | WatermarkType | 否 |
buffer | WatermarkBuffer* | 否 |
imageUrl | NSURL* | 否 |
options | WatermarkOptions* | 否 |
WatermarkOptions 0 方法 / 4 属性
| 属性 | 类型 | 只读 |
|---|---|---|
visibleInPreview | BOOL | 否 |
positionInLandscapeMode | CGRect | 否 |
positionInPortraitMode | CGRect | 否 |
zOrder | int | 否 |
枚举
| 枚举 | 成员数 | 示例值 |
|---|---|---|
AgoraAlphaStitchMode | 5 | AgoraNoAlphaStitch = 0 |
AgoraApplicationScenarioType | 4 | AgoraApplicationGeneralScenario = 0 |
AgoraAreaCodeType | 8 | AgoraAreaCodeTypeCN = 1 |
AgoraAudienceLatencyLevelType | 2 | AgoraAudienceLatencyLevelLowLatency = 1 |
AgoraAudioCodecProfileType | 3 | AgoraAudioCodecProfileLCAAC = 0 |
AgoraAudioCodecType | 4 | AgoraAudioCodecTypeOPUS = 1 |
AgoraAudioDualMonoMode | 4 | AgoraAudioDualMonoStereo = 0 |
AgoraAudioEffectPreset | 21 | AgoraAudioEffectPresetOff = 0 |
AgoraAudioEncodedFrameDelegatePosition | 3 | AgoraAudioEncodedFrameObserverPositionRecord = 1 |
AgoraAudioEncodingType | 11 | AgoraAudioEncodingTypeAAC16000Low = 65793 |
AgoraAudioEqualizationBandFrequency | 10 | AgoraAudioEqualizationBand31 = 0 |
AgoraAudioFileRecordingType | 3 | AgoraAudioFileRecordingTypeMic = 1 |
AgoraAudioLocalReason | 9 | AgoraAudioLocalReasonOK = 0 |
AgoraAudioLocalState | 4 | AgoraAudioLocalStateStopped = 0 |
AgoraAudioMixingDualMonoMode | 4 | AgoraAudioMixingDualMonoAuto = 0 |
AgoraAudioMixingReasonCode | 8 | AgoraAudioMixingReasonCanNotOpen = 701 |
AgoraAudioMixingStateType | 4 | AgoraAudioMixingStateTypePlaying = 710 |
AgoraAudioOutputRouting | 12 | AgoraAudioOutputRoutingDefault = -1 |
AgoraAudioProcessChannels | 2 | AgoraAudioProcessChannelsMono = 1 |
AgoraAudioProfile | 7 | AgoraAudioProfileDefault = 0 |
AgoraAudioRawFrameOperationMode | 2 | AgoraAudioRawFrameOperationModeReadOnly = 0 |
AgoraAudioRecordingQuality | 4 | AgoraAudioRecordingQualityLow = 0 |
AgoraAudioRemoteReason | 8 | AgoraAudioRemoteReasonInternal = 0 |
AgoraAudioRemoteState | 5 | AgoraAudioRemoteStateStopped = 0 |
AgoraAudioReverbType | 5 | AgoraAudioReverbDryLevel = 0 |
AgoraAudioSampleRateType | 3 | AgoraAudioSampleRateType32000 = 32000 |
AgoraAudioScenario | 6 | AgoraAudioScenarioDefault = 0 |
AgoraAudioSessionOperationRestriction | 5 | AgoraAudioSessionOperationRestrictionNone = 0 |
AgoraAudioSourceType | 8 | AgoraAudioSourceMicrophone = 0 |
AgoraAudioTrackType | 2 | AgoraAudioTrackTypeMixable = 0 |
AgoraBlurDegree | 3 | AgoraBlurLow = 1 |
AgoraCameraDirection | 2 | AgoraCameraDirectionRear = 0 |
AgoraCameraStabilizationMode | 5 | AgoraCameraStabilizationModeOff = -1 |
AgoraCaptureBrightnessLevelType | 4 | AgoraCaptureBrightnessLevelInvalid = -1 |
AgoraChannelMediaRelayError | 12 | AgoraChannelMediaRelayErrorNone = 0 |
AgoraChannelMediaRelayState | 4 | AgoraChannelMediaRelayStateIdle = 0 |
AgoraChannelProfile | 5 | AgoraChannelProfileCommunication = 0 |
AgoraClientRole | 2 | AgoraClientRoleBroadcaster = 1 |
AgoraClientRoleChangeFailedReason | 4 | AgoraClientRoleChangeFailedTooManyBroadcasters = 1 |
AgoraCloudProxyType | 3 | AgoraNoneProxy = 0 |
AgoraCodecCapMask | 5 | AgoraCodecMaskNone = 0 |
AgoraCompressionPreference | 3 | AgoraCompressionAuto = -1 |
AgoraConnectionChangedReason | 23 | AgoraConnectionChangedReasonConnecting = 0 |
AgoraConnectionState | 5 | AgoraConnectionStateDisconnected = 1 |
AgoraContentInspectType | 4 | AgoraContentInspectTypeInvalid = 0 |
AgoraDegradationPreference | 6 | AgoraDegradationMaintainAuto = -1 |
AgoraEarMonitoringFilterType | 5 | AgoraEarMonitoringFilterNone = null |
AgoraEncodingPreference | 3 | AgoraEncodingPreferAuto = -1 |
AgoraEncryptionErrorType | 5 | ENCRYPTION_ERROR_INTERNAL_FAILURE = 0 |
AgoraEncryptionMode | 9 | AgoraEncryptionModeAES128XTS = 1 |
AgoraErrorCode | 70 | AgoraErrorCodeNoError = 0 |
AgoraExperiencePoorReason | 5 | AgoraExperiencePoorReasonNone = 0 |
AgoraExperienceQuality | 2 | AgoraExperienceQualityGood = 0 |
AgoraExternalVideoSourceType | 2 | AgoraExternalVideoSourceTypeVideoFrame = 0 |
AgoraFaceShapeArea | 32 | AgoraFaceShapeAreaNone = -1 |
AgoraFaceShapeStyle | 3 | AgoraFaceShapeStyleFemale = 0 |
AgoraFeatureType | 2 | AgoraVideoPreprocessVirtualBackground = 1 |
AgoraFocalLength | 4 | AgoraFocalLengthDefault = 0 |
AgoraHeadphoneEQPreset | 3 | AgoraAudioHeadphoneEQPresetOff = 0 |
AgoraLastmileProbeResultState | 3 | AgoraLastmileProbeResultComplete = 1 |
AgoraLighteningContrastLevel | 3 | AgoraLighteningContrastLow = 0 |
AgoraLocalProxyMode | 2 | AgoraConnectivityFirst = 0 |
AgoraLocalVideoStreamReason | 16 | AgoraLocalVideoStreamReasonOK = 0 |
AgoraLogFilter | 6 | AgoraLogFilterOff = 0 |
AgoraLogLevel | 5 | AgoraLogLevelNone = 0 |
AgoraLowlightEnhanceLevel | 2 | AgoraLowlightEnhanceLevelQuality = 0 |
AgoraLowlightEnhanceMode | 2 | AgoraLowlightEnhanceModeAuto = 0 |
AgoraMediaPlayerEvent | 17 | AgoraMediaPlayerEventSeekBegin = 0 |
AgoraMediaPlayerMetaDataType | 2 | AgoraMediaPlayerMetaDataTypeUnknown = 0 |
AgoraMediaPlayerPreloadEvent | 3 | AgoraMediaPlayerPreloadEventBegin = 0 |
AgoraMediaPlayerReason | 18 | AgoraMediaPlayerReasonNone = 0 |
AgoraMediaPlayerRenderMode | 2 | AgoraMediaPlayerRenderModeHidden = 1 |
AgoraMediaPlayerState | 9 | AgoraMediaPlayerStateIdle = 0 |
AgoraMediaRecorderContainerFormat | 1 | AgoraMediaRecorderContainerFormatMP4 = 1 |
AgoraMediaRecorderReasonCode | 5 | AgoraMediaRecorderReasonCodeNoError = 0 |
AgoraMediaRecorderState | 3 | AgoraMediaRecorderStateError = -1 |
AgoraMediaRecorderStreamType | 3 | AgoraMediaRecorderStreamTypeAudio = 1 |
AgoraMediaSourceType | 15 | AgoraMediaSourceTypeAudioPlayout = 0 |
AgoraMediaStreamType | 4 | AgoraMediaStreamTypeUnknown = 0 |
AgoraMediaTraceEvent | 2 | AgoraMediaTraceEventVideoRendered = 0 |
AgoraMetadataType | 2 | AgoraMetadataTypeUnknown = -1 |
AgoraMultipathMode | 1 | AgoraMultipathModeDuplicate = 0 |
AgoraMultipathType | 4 | AgoraMultipathTypeLAN = 0 |
AgoraMusicCacheStatusType | 2 | AgoraMusicCacheStatusTypeCached = 0 |
AgoraMusicContentCenterPreloadState | 4 | AgoraMusicContentCenterPreloadStateOK = 0 |
AgoraMusicContentCenterStateReason | 8 | AgoraMusicContentCenterStateReasonOK = 0 |
AgoraMusicPlayMode | 3 | AgoraMusicPlayModeOriginal = 0 |
AgoraNetworkQuality | 9 | AgoraNetworkQualityUnknown = 0 |
AgoraNetworkType | 8 | AgoraNetworkTypeUnknown = -1 |
AgoraPermissionType | 2 | AgoraPermissionTypeRecordAudio = 0 |
AgoraProxyType | 7 | AgoraNoneProxyType = 0 |
AgoraRecorderStreamType | 2 | AgoraRecorderStreamTypeRtc = 0 |
AgoraRenewTokenErrorCode | 7 | AgoraRenewTokenSuccess = 0 |
AgoraRhythmPlayerReason | 5 | AgoraRhythmPlayerReasonOK = 0 |
AgoraRhythmPlayerState | 5 | AgoraRhythmPlayerStateIdle = 810 |
AgoraRteAbrFallbackLayer | 9 | AgoraRteAbrFallbackDisabled = 0 |
AgoraRteAbrSubscriptionLayer | 8 | AgoraRteAbrSubscriptionHigh = 0 |
AgoraRteErrorCode | 7 | AgoraRteOk = 0 |
AgoraRtePlayerEvent | 21 | AgoraRtePlayerEventSeekBegin = 0 |
AgoraRtePlayerMetadataType | 1 | AgoraRtePlayerMetadataTypeSei = 0 |
AgoraRtePlayerState | 8 | AgoraRtePlayerStateIdle = 0 |
AgoraRteVideoMirrorMode | 3 | AgoraRteVideoMirrorModeAuto = 0 |
AgoraRteVideoRenderMode | 2 | AgoraRteVideoRenderModeHidden = 0 |
AgoraRtmpStreamingEvent | 4 | AgoraRtmpStreamingEventFailedLoadImage = 1 |
AgoraRtmpStreamingReason | 17 | AgoraRtmpStreamingReasonOK = 0 |
AgoraRtmpStreamingState | 6 | AgoraRtmpStreamingStateIdle = 0 |
AgoraRtmpStreamLifeCycle | 2 | AgoraRtmpStreamLifeCycleBindToChannel = 1 |
AgoraScreenCaptureFrameRateCapability | 4 | AgoraScreenCaptureFrameRateUnKonw = -1 |
AgoraScreenScenarioType | 4 | AgoraScreenScenarioDocument = 1 |
AgoraSimulcastStreamMode | 3 | AgoraAutoSimulcastStream = -1 |
AgoraStreamFallbackOptions | 9 | AgoraStreamFallbackOptionDisabled = 0 |
AgoraStreamPublishState | 4 | AgoraStreamPublishStateIdle = 0 |
AgoraStreamSubscribeState | 4 | AgoraStreamSubscribeStateIdle = 0 |
AgoraUserOfflineReason | 3 | AgoraUserOfflineReasonQuit = 0 |
AgoraVideoCodecCapabilityLevel | 5 | AgoraVideoCodecCapabilityLevelUnspecified = -1 |
AgoraVideoCodecProfileType | 3 | AgoraVideoCodecProfileTypeBaseLine = 66 |
AgoraVideoCodecType | 7 | AgoraVideoCodecTypeNone = 0 |
AgoraVideoCodecTypeForStream | 2 | AgoraVideoCodecTypeH264ForStream = 1 |
AgoraVideoContentHint | 3 | AgoraVideoContentHintNone = 0 |
AgoraVideoDenoiserLevel | 2 | AgoraVideoDenoiserLevelHighQuality = 0 |
AgoraVideoDenoiserMode | 2 | AgoraVideoDenoiserModeAuto = null |
AgoraVideoEffectAction | 2 | AgoraVideoEffectActionSave = 1 |
AgoraVideoEffectNodeId | 4 | AgoraVideoEffectNodeBeauty = 1 |
AgoraVideoFormat | 12 | AgoraVideoFormatI420 = 1 |
AgoraVideoFrameOrientation | 4 | AgoraVideoFrameOrientation0 = 0 |
AgoraVideoFramePosition | 3 | AgoraVideoFramePositionPostCapture = 1 |
AgoraVideoFrameProcessMode | 2 | AgoraVideoFrameProcessModeReadOnly = null |
AgoraVideoFrameRate | 7 | AgoraVideoFrameRateFps1 = 1 |
AgoraVideoFrameType | 6 | AgoraVideoFrameTypeBlankFrame = 0 |
AgoraVideoHwEncoderAccelerating | 2 | AgoraVideoHwEncoderSoftware = 0 |
AgoraVideoLocalState | 4 | AgoraVideoLocalStateStopped = 0 |
AgoraVideoMirrorMode | 3 | AgoraVideoMirrorModeAuto = 0 |
AgoraVideoModulePosition | 4 | AgoraVideoModulePositionPostCapture = 1 |
AgoraVideoOutputOrientationMode | 3 | AgoraVideoOutputOrientationModeAdaptative = 0 |
AgoraVideoQualityAdaptIndication | 3 | AgoraVideoQualityAdaptNone = 0 |
AgoraVideoRemoteReason | 12 | AgoraVideoRemoteReasonInternal = 0 |
AgoraVideoRemoteState | 5 | AgoraVideoRemoteStateStopped = 0 |
AgoraVideoRenderMode | 3 | AgoraVideoRenderModeHidden = 1 |
AgoraVideoSourceType | 17 | AgoraVideoSourceTypeCamera = 0 |
AgoraVideoStreamType | 8 | AgoraVideoStreamTypeHigh = 0 |
AgoraVideoTranscoderError | 7 | AgoraVideoTranscoderErrorOK = 0 |
AgoraVideoViewSetupMode | 3 | AgoraVideoViewSetupReplace = 0 |
AgoraVirtualBackgroundSourceType | 5 | AgoraVirtualBackgroundNone = 0 |
AgoraVoiceAITunerType | 10 | AgoraVoiceAITunerMatureMale = 0 |
AgoraVoiceBeautifierPreset | 14 | AgoraVoiceBeautifierPresetOff = 0 |
AgoraVoiceConversionPreset | 16 | AgoraVoiceConversionPresetOff = 0 |
AUDIO_AINS_MODE | 3 | AINS_MODE_BALANCED = 0 |
ScreenColorType | 3 | ScreenColorAuto = 0 |
SegModelType | 2 | SegModelAgoraAi = null |
WatermarkBufferFormat | 4 | WatermarkBufferFormatI420 = 1 |
WatermarkType | 2 | WatermarkTypeImage = 0 |
AgoraAlphaStitchMode 5 个成员
| 成员 | 值 |
|---|---|
AgoraNoAlphaStitch | 0 |
AgoraAlphaStitchUp | 1 |
AgoraAlphaStitchBelow | 2 |
AgoraAlphaStitchLeft | 3 |
AgoraAlphaStitchRight | 4 |
AgoraApplicationScenarioType 4 个成员
| 成员 | 值 |
|---|---|
AgoraApplicationGeneralScenario | 0 |
AgoraApplicationMeetingScenario | 1 |
AgoraApplication1V1Scenario | 2 |
AgoraApplicationLiveShowScenario | 3 |
AgoraAreaCodeType 8 个成员
| 成员 | 值 |
|---|---|
AgoraAreaCodeTypeCN | 1 |
AgoraAreaCodeTypeNA | 2 |
AgoraAreaCodeTypeEUR | 4 |
AgoraAreaCodeTypeAS | 8 |
AgoraAreaCodeTypeJP | 16 |
AgoraAreaCodeTypeIN | 32 |
AgoraAreaCodeTypeRU | 4096 |
AgoraAreaCodeTypeGlobal | 4294967295 |
AgoraAudienceLatencyLevelType 2 个成员
| 成员 | 值 |
|---|---|
AgoraAudienceLatencyLevelLowLatency | 1 |
AgoraAudienceLatencyLevelUltraLowLatency | 2 |
AgoraAudioCodecProfileType 3 个成员
| 成员 | 值 |
|---|---|
AgoraAudioCodecProfileLCAAC | 0 |
AgoraAudioCodecProfileHEAAC | 1 |
AgoraAudioCodecProfileHEAACv2 | 2 |
AgoraAudioCodecType 4 个成员
| 成员 | 值 |
|---|---|
AgoraAudioCodecTypeOPUS | 1 |
AgoraAudioCodecTypeAACLC | 8 |
AgoraAudioCodecTypeHEAAC | 9 |
AgoraAudioCodecTypeHEAAC2 | 11 |
AgoraAudioDualMonoMode 4 个成员
| 成员 | 值 |
|---|---|
AgoraAudioDualMonoStereo | 0 |
AgoraAudioDualMonoL | 1 |
AgoraAudioDualMonoR | 2 |
AgoraAudioDualMonoMix | 3 |
AgoraAudioEffectPreset 21 个成员
| 成员 | 值 |
|---|---|
AgoraAudioEffectPresetOff | 0 |
AgoraAudioEffectPresetRoomAcousticsKTV | 33620224 |
AgoraAudioEffectPresetRoomAcousVocalConcer | 33620480 |
AgoraAudioEffectPresetRoomAcousStudio | 33620736 |
AgoraAudioEffectPresetRoomAcousPhonograph | 33620992 |
AgoraAudioEffectPresetRoomAcousVirtualStereo | 33621248 |
AgoraAudioEffectPresetRoomAcousSpatial | 33621504 |
AgoraAudioEffectPresetRoomAcousEthereal | 33621760 |
AgoraAudioEffectPresetRoomAcous3DVoice | 33622016 |
AgoraAudioEffectPresetRoomAcousVirtualSurroundSound | 33622272 |
AgoraAudioEffectPresetRoomAcousticsChorus | 33623296 |
AgoraAudioEffectPresetVoiceChangerEffectUncle | 33685760 |
AgoraAudioEffectPresetVoiceChangerEffectOldMan | 33686016 |
AgoraAudioEffectPresetVoiceChangerEffectBoy | 33686272 |
AgoraAudioEffectPresetVoiceChangerEffectSister | 33686528 |
AgoraAudioEffectPresetVoiceChangerEffectGirl | 33686784 |
AgoraAudioEffectPresetVoiceChangerEffectPigKin | 33687040 |
AgoraAudioEffectPresetVoiceChangerEffectHulk | 33687296 |
AgoraAudioEffectPresetStyleTransformationRnb | 33751296 |
AgoraAudioEffectPresetStyleTransformationPopular | 33751552 |
AgoraAudioEffectPresetPitchCorrection | 33816832 |
AgoraAudioEncodedFrameDelegatePosition 3 个成员
| 成员 | 值 |
|---|---|
AgoraAudioEncodedFrameObserverPositionRecord | 1 |
AgoraAudioEncodedFrameObserverPositionPlayback | 2 |
AgoraAudioEncodedFrameObserverPositionMixed | 3 |
AgoraAudioEncodingType 11 个成员
| 成员 | 值 |
|---|---|
AgoraAudioEncodingTypeAAC16000Low | 65793 |
AgoraAudioEncodingTypeAAC16000Medium | 65794 |
AgoraAudioEncodingTypeAAC32000Low | 66049 |
AgoraAudioEncodingTypeAAC32000Medium | 66050 |
AgoraAudioEncodingTypeAAC32000High | 66051 |
AgoraAudioEncodingTypeAAC48000Medium | 66306 |
AgoraAudioEncodingTypeAAC48000High | 66307 |
AgoraAudioEncodingTypeOPUS16000Low | 131329 |
AgoraAudioEncodingTypeOPUS6000Medium | 131330 |
AgoraAudioEncodingTypeOPUS48000Medium | 131842 |
AgoraAudioEncodingTypeOPUS48000High | 131843 |
AgoraAudioEqualizationBandFrequency 10 个成员
| 成员 | 值 |
|---|---|
AgoraAudioEqualizationBand31 | 0 |
AgoraAudioEqualizationBand62 | 1 |
AgoraAudioEqualizationBand125 | 2 |
AgoraAudioEqualizationBand250 | 3 |
AgoraAudioEqualizationBand500 | 4 |
AgoraAudioEqualizationBand1K | 5 |
AgoraAudioEqualizationBand2K | 6 |
AgoraAudioEqualizationBand4K | 7 |
AgoraAudioEqualizationBand8K | 8 |
AgoraAudioEqualizationBand16K | 9 |
AgoraAudioFileRecordingType 3 个成员
| 成员 | 值 |
|---|---|
AgoraAudioFileRecordingTypeMic | 1 |
AgoraAudioFileRecordingTypePlayback | 2 |
AgoraAudioFileRecordingTypeMixed | 3 |
AgoraAudioLocalReason 9 个成员
| 成员 | 值 |
|---|---|
AgoraAudioLocalReasonOK | 0 |
AgoraAudioLocalReasonFailure | 1 |
AgoraAudioLocalReasonDeviceNoPermission | 2 |
AgoraAudioLocalReasonDeviceBusy | 3 |
AgoraAudioLocalReasonRecordFailure | 4 |
AgoraAudioLocalReasonEncodeFailure | 5 |
AgoraAudioLocalReasonNoRecordingDevice | 6 |
AgoraAudioLocalReasonNoPlayoutDevice | 7 |
AgoraAudioLocalReasonInterrupted | 8 |
AgoraAudioLocalState 4 个成员
| 成员 | 值 |
|---|---|
AgoraAudioLocalStateStopped | 0 |
AgoraAudioLocalStateRecording | 1 |
AgoraAudioLocalStateEncoding | 2 |
AgoraAudioLocalStateFailed | 3 |
AgoraAudioMixingDualMonoMode 4 个成员
| 成员 | 值 |
|---|---|
AgoraAudioMixingDualMonoAuto | 0 |
AgoraAudioMixingDualMonoL | 1 |
AgoraAudioMixingDualMonoR | 2 |
AgoraAudioMixingDualMonoMix | 3 |
AgoraAudioMixingReasonCode 8 个成员
| 成员 | 值 |
|---|---|
AgoraAudioMixingReasonCanNotOpen | 701 |
AgoraAudioMixingReasonTooFrequentlyCall | 702 |
AgoraAudioMixingReasonInterruptedEOF | 703 |
AgoraAudioMixingReasonOneLoopCompleted | 721 |
AgoraAudioMixingReasonAllLoopsCompleted | 723 |
AgoraAudioMixingReasonStoppedByUser | 724 |
AgoraAudioMixingReasonResumedByUser | 726 |
AgoraAudioMixingReasonTypeOk | 0 |
AgoraAudioMixingStateType 4 个成员
| 成员 | 值 |
|---|---|
AgoraAudioMixingStateTypePlaying | 710 |
AgoraAudioMixingStateTypePaused | 711 |
AgoraAudioMixingStateTypeStopped | 713 |
AgoraAudioMixingStateTypeFailed | 714 |
AgoraAudioOutputRouting 12 个成员
| 成员 | 值 |
|---|---|
AgoraAudioOutputRoutingDefault | -1 |
AgoraAudioOutputRoutingHeadset | 0 |
AgoraAudioOutputRoutingEarpiece | 1 |
AgoraAudioOutputRoutingHeadsetNoMic | 2 |
AgoraAudioOutputRoutingSpeakerphone | 3 |
AgoraAudioOutputRoutingLoudspeaker | 4 |
AgoraAudioOutputRoutingBluetoothDeviceHfp | 5 |
AgoraAudioOutputRoutingUsb | 6 |
AgoraAudioOutputRoutingHdmi | 7 |
AgoraAudioOutputRoutingDisplayPort | 8 |
AgoraAudioOutputRoutingAirPlay | 9 |
AgoraAudioOutputRoutingBluetoothDeviceA2dp | 10 |
AgoraAudioProcessChannels 2 个成员
| 成员 | 值 |
|---|---|
AgoraAudioProcessChannelsMono | 1 |
AgoraAudioProcessChannelstereo | 2 |
AgoraAudioProfile 7 个成员
| 成员 | 值 |
|---|---|
AgoraAudioProfileDefault | 0 |
AgoraAudioProfileSpeechStandard | 1 |
AgoraAudioProfileMusicStandard | 2 |
AgoraAudioProfileMusicStandardStereo | 3 |
AgoraAudioProfileMusicHighQuality | 4 |
AgoraAudioProfileMusicHighQualityStereo | 5 |
AgoraAudioProfileIot | 6 |
AgoraAudioRawFrameOperationMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraAudioRawFrameOperationModeReadOnly | 0 |
AgoraAudioRawFrameOperationModeReadWrite | 2 |
AgoraAudioRecordingQuality 4 个成员
| 成员 | 值 |
|---|---|
AgoraAudioRecordingQualityLow | 0 |
AgoraAudioRecordingQualityMedium | 1 |
AgoraAudioRecordingQualityHigh | 2 |
AgoraAudioRecordingQualityUltraHigh | 3 |
AgoraAudioRemoteReason 8 个成员
| 成员 | 值 |
|---|---|
AgoraAudioRemoteReasonInternal | 0 |
AgoraAudioRemoteReasonNetworkCongestion | 1 |
AgoraAudioRemoteReasonNetworkRecovery | 2 |
AgoraAudioRemoteReasonLocalMuted | 3 |
AgoraAudioRemoteReasonLocalUnmuted | 4 |
AgoraAudioRemoteReasonRemoteMuted | 5 |
AgoraAudioRemoteReasonRemoteUnmuted | 6 |
AgoraAudioRemoteReasonRemoteOffline | 7 |
AgoraAudioRemoteState 5 个成员
| 成员 | 值 |
|---|---|
AgoraAudioRemoteStateStopped | 0 |
AgoraAudioRemoteStateStarting | 1 |
AgoraAudioRemoteStateDecoding | 2 |
AgoraAudioRemoteStateFrozen | 3 |
AgoraAudioRemoteStateFailed | 4 |
AgoraAudioReverbType 5 个成员
| 成员 | 值 |
|---|---|
AgoraAudioReverbDryLevel | 0 |
AgoraAudioReverbWetLevel | 1 |
AgoraAudioReverbRoomSize | 2 |
AgoraAudioReverbWetDelay | 3 |
AgoraAudioReverbStrength | 4 |
AgoraAudioSampleRateType 3 个成员
| 成员 | 值 |
|---|---|
AgoraAudioSampleRateType32000 | 32000 |
AgoraAudioSampleRateType44100 | 44100 |
AgoraAudioSampleRateType48000 | 48000 |
AgoraAudioScenario 6 个成员
| 成员 | 值 |
|---|---|
AgoraAudioScenarioDefault | 0 |
AgoraAudioScenarioGameStreaming | 3 |
AgoraAudioScenarioChatRoom | 5 |
AgoraAudioScenarioChorus | 7 |
AgoraAudioScenarioMeeting | 8 |
AgoraAudioScenarioAiClient | 10 |
AgoraAudioSessionOperationRestriction 5 个成员
| 成员 | 值 |
|---|---|
AgoraAudioSessionOperationRestrictionNone | 0 |
AgoraAudioSessionOperationRestrictionSetCategory | 1 |
AgoraAudioSessionOperationRestrictionConfigureSession | 2 |
AgoraAudioSessionOperationRestrictionDeactivateSession | 4 |
AgoraAudioSessionOperationRestrictionAll | 128 |
AgoraAudioSourceType 8 个成员
| 成员 | 值 |
|---|---|
AgoraAudioSourceMicrophone | 0 |
AgoraAudioSourceCustom | 1 |
AgoraAudioSourceMediaPlayer | 2 |
AgoraAudioSourceLoopbackRecording | 3 |
AgoraAudioSourceMixedStream | 4 |
AgoraAudioSourceRemoteUser | 5 |
AgoraAudioSourceRemoteChannel | 6 |
AgoraAudioSourceTypeUnknown | 100 |
AgoraAudioTrackType 2 个成员
| 成员 | 值 |
|---|---|
AgoraAudioTrackTypeMixable | 0 |
AgoraAudioTrackTypeDirect | 1 |
AgoraBlurDegree 3 个成员
| 成员 | 值 |
|---|---|
AgoraBlurLow | 1 |
AgoraBlurMedium | 2 |
AgoraBlurHigh | 3 |
AgoraCameraDirection 2 个成员
| 成员 | 值 |
|---|---|
AgoraCameraDirectionRear | 0 |
AgoraCameraDirectionFront | 1 |
AgoraCameraStabilizationMode 5 个成员
| 成员 | 值 |
|---|---|
AgoraCameraStabilizationModeOff | -1 |
AgoraCameraStabilizationModeAuto | 0 |
AgoraCameraStabilizationModeLevel1 | 1 |
AgoraCameraStabilizationModeLevel2 | 2 |
AgoraCameraStabilizationModeLevel3 | 3 |
AgoraCaptureBrightnessLevelType 4 个成员
| 成员 | 值 |
|---|---|
AgoraCaptureBrightnessLevelInvalid | -1 |
AgoraCaptureBrightnessLevelNormal | 0 |
AgoraCaptureBrightnessLevelBright | 1 |
AgoraCaptureBrightnessLevelDark | 2 |
AgoraChannelMediaRelayError 12 个成员
| 成员 | 值 |
|---|---|
AgoraChannelMediaRelayErrorNone | 0 |
AgoraChannelMediaRelayErrorServerErrorResponse | 1 |
AgoraChannelMediaRelayErrorServerNoResponse | 2 |
AgoraChannelMediaRelayErrorNoResourceAvailable | 3 |
AgoraChannelMediaRelayErrorFailedJoinSourceChannel | 4 |
AgoraChannelMediaRelayErrorFailedJoinDestinationChannel | 5 |
AgoraChannelMediaRelayErrorFailedPacketReceivedFromSource | 6 |
AgoraChannelMediaRelayErrorFailedPacketSentToDestination | 7 |
AgoraChannelMediaRelayErrorServerConnectionLost | 8 |
AgoraChannelMediaRelayErrorInternalError | 9 |
AgoraChannelMediaRelayErrorSourceTokenExpired | 10 |
AgoraChannelMediaRelayErrorDestinationTokenExpired | 11 |
AgoraChannelMediaRelayState 4 个成员
| 成员 | 值 |
|---|---|
AgoraChannelMediaRelayStateIdle | 0 |
AgoraChannelMediaRelayStateConnecting | 1 |
AgoraChannelMediaRelayStateRunning | 2 |
AgoraChannelMediaRelayStateFailure | 3 |
AgoraChannelProfile 5 个成员
| 成员 | 值 |
|---|---|
AgoraChannelProfileCommunication | 0 |
AgoraChannelProfileLiveBroadcasting | 1 |
AgoraChannelProfileGame | 2 |
AgoraChannelProfileCloudGaming | 3 |
AgoraChannelProfileCommunication_1v1 | 4 |
AgoraClientRole 2 个成员
| 成员 | 值 |
|---|---|
AgoraClientRoleBroadcaster | 1 |
AgoraClientRoleAudience | 2 |
AgoraClientRoleChangeFailedReason 4 个成员
| 成员 | 值 |
|---|---|
AgoraClientRoleChangeFailedTooManyBroadcasters | 1 |
AgoraClientRoleChangeFailedNotAuthorized | 2 |
AgoraClientRoleChangeFailedRequestTimeout | 3 |
AgoraClientRoleChangeFailedConnectionFailed | 4 |
AgoraCloudProxyType 3 个成员
| 成员 | 值 |
|---|---|
AgoraNoneProxy | 0 |
AgoraUdpProxy | 1 |
AgoraTcpProxy | 2 |
AgoraCodecCapMask 5 个成员
| 成员 | 值 |
|---|---|
AgoraCodecMaskNone | 0 |
AgoraCodecMaskHwDec | 1 |
AgoraCodecMaskHwEnc | 2 |
AgoraCodecMaskSwDec | 4 |
AgoraCodecMaskSwEnc | 8 |
AgoraCompressionPreference 3 个成员
| 成员 | 值 |
|---|---|
AgoraCompressionAuto | -1 |
AgoraCompressionLowLatency | 0 |
AgoraCompressionQuality | 1 |
AgoraConnectionChangedReason 23 个成员
| 成员 | 值 |
|---|---|
AgoraConnectionChangedReasonConnecting | 0 |
AgoraConnectionChangedReasonJoinSuccess | 1 |
AgoraConnectionChangedReasonInterrupted | 2 |
AgoraConnectionChangedReasonBannedByServer | 3 |
AgoraConnectionChangedReasonJoinFailed | 4 |
AgoraConnectionChangedReasonLeaveChannel | 5 |
AgoraConnectionChangedReasonInvalidAppId | 6 |
AgoraConnectionChangedReasonInvalidChannelName | 7 |
AgoraConnectionChangedReasonInvalidToken | 8 |
AgoraConnectionChangedReasonTokenExpired | 9 |
AgoraConnectionChangedReasonRejectedByServer | 10 |
AgoraConnectionChangedReasonSettingProxyServer | 11 |
AgoraConnectionChangedReasonRenewToken | 12 |
AgoraConnectionChangedReasonClientIpAddressChanged | 13 |
AgoraConnectionChangedReasonKeepAliveTimeout | 14 |
AgoraConnectionChangedReasonRejoinSuccess | 15 |
AgoraConnectionChangedReasonLost | 16 |
AgoraConnectionChangedReasonEchoTest | 17 |
AgoraConnectionChangedClientIpAddressChangedByUser | 18 |
AgoraConnectionChangedSameUidLogin | 19 |
AgoraConnectionChangedTooManyBroadcasters | 20 |
AgoraConnectionChangedLicenseValidationFailure | 21 |
AgoraConnectionChangedCertificationVerifyFailure | 22 |
AgoraConnectionState 5 个成员
| 成员 | 值 |
|---|---|
AgoraConnectionStateDisconnected | 1 |
AgoraConnectionStateConnecting | 2 |
AgoraConnectionStateConnected | 3 |
AgoraConnectionStateReconnecting | 4 |
AgoraConnectionStateFailed | 5 |
AgoraContentInspectType 4 个成员
| 成员 | 值 |
|---|---|
AgoraContentInspectTypeInvalid | 0 |
AgoraContentInspectTypeModeration | 1 |
AgoraContentInspectTypeSupervise | 2 |
AgoraContentInspectTypeImageModeration | 3 |
AgoraDegradationPreference 6 个成员
| 成员 | 值 |
|---|---|
AgoraDegradationMaintainAuto | -1 |
AgoraDegradationMaintainQuality | 0 |
AgoraDegradationMaintainFramerate | 1 |
AgoraDegradationBalanced | 2 |
AgoraDegradationMaintainResolution | 3 |
AgoraDegradationDisable | 100 |
AgoraEarMonitoringFilterType 5 个成员
| 成员 | 值 |
|---|---|
AgoraEarMonitoringFilterNone | null |
AgoraEarMonitoringFilterBuiltInAudioFilters | null |
AgoraEarMonitoringFilterNoiseSuppression | null |
AgoraEarMonitoringFilterBuiltInAudioFiltersWithNoiseSuppression | 6 |
AgoraEarMonitoringFilterReusePostProcessingFilter | null |
AgoraEncodingPreference 3 个成员
| 成员 | 值 |
|---|---|
AgoraEncodingPreferAuto | -1 |
AgoraEncodingPrefersoftware | 0 |
AgoraEncodingPreferhardware | 1 |
AgoraEncryptionErrorType 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 |
AgoraEncryptionMode 9 个成员
| 成员 | 值 |
|---|---|
AgoraEncryptionModeAES128XTS | 1 |
AgoraEncryptionModeAES128ECB | 2 |
AgoraEncryptionModeAES256XTS | 3 |
AgoraEncryptionModeSM4128ECB | 4 |
AgoraEncryptionModeAES128GCM | 5 |
AgoraEncryptionModeAES256GCM | 6 |
AgoraEncryptionModeAES128GCM2 | 7 |
AgoraEncryptionModeAES256GCM2 | 8 |
AgoraEncryptionModeEnd | 9 |
AgoraErrorCode 70 个成员
| 成员 | 值 |
|---|---|
AgoraErrorCodeNoError | 0 |
AgoraErrorCodeFailed | 1 |
AgoraErrorCodeInvalidArgument | 2 |
AgoraErrorCodeNotReady | 3 |
AgoraErrorCodeNotSupported | 4 |
AgoraErrorCodeBufferTooSmall | 6 |
AgoraErrorCodeNotInitialized | 7 |
AgoraErrorCodeInvalidState | 8 |
AgoraErrorCodeTimedOut | 10 |
AgoraErrorCodeJoinChannelRejected | 17 |
AgoraErrorCodeLeaveChannelRejected | 18 |
AgoraErrorCodeAlreadyInUse | 19 |
AgoraErrorCodeInitNetEngine | 21 |
AgoraErrorCodeResourceLimited | 22 |
AgoraErrorCodeInvalidAppId | 101 |
AgoraErrorCodeInvalidChannelId | 102 |
AgoraErrorCodeNoServerResources | 103 |
AgoraErrorCodeTokenExpired | 109 |
AgoraErrorCodeInvalidToken | 110 |
AgoraErrorCodeConnectionInterrupted | 111 |
AgoraErrorCodeConnectionLost | 112 |
AgoraErrorCodeNotInChannel | 113 |
AgoraErrorCodeSizeTooLarge | 114 |
AgoraErrorCodeBitrateLimit | 115 |
AgoraErrorCodeTooManyDataStreams | 116 |
AgoraErrorCodeDecryptionFailed | 120 |
AgoraErrorCodeEncryptedStreamNotAllowedPublish | 130 |
AgoraErrorCodeInvalidUserAccount | 134 |
AgoraErrorCodeWatermarkParam | 124 |
AgoraErrorCodeWatermarkPath | 125 |
AgoraErrorCodeWatermarkPng | 126 |
AgoraErrorCodeWatermarkInfo | 127 |
AgoraErrorCodeWatermarkAGRB | 128 |
AgoraErrorCodeWatermarkRead | 129 |
AgoraErrorCodePcmSendFormat | 200 |
AgoraErrorCodePcmSendBufferOverflow | 201 |
AgoraErrorCodeLoadMediaEngine | 1001 |
AgoraErrorCodeStartCall | 1002 |
AgoraErrorCodeStartCamera | 1003 |
AgoraErrorCodeStartVideoRender | 1004 |
AgoraErrorCodeAdmGeneralError | 1005 |
AgoraErrorCodeAdmJavaResource | 1006 |
AgoraErrorCodeAdmSampleRate | 1007 |
AgoraErrorCodeAdmInitPlayout | 1008 |
AgoraErrorCodeAdmStartPlayout | 1009 |
AgoraErrorCodeAdmStopPlayout | 1010 |
AgoraErrorCodeAdmInitRecording | 1011 |
AgoraErrorCodeAdmStartRecording | 1012 |
AgoraErrorCodeAdmStopRecording | 1013 |
AgoraErrorCodeAdmRuntimePlayoutError | 1015 |
AgoraErrorCodeAdmRuntimeRecordingError | 1017 |
AgoraErrorCodeAdmRecordAudioFailed | 1018 |
AgoraErrorCodeAdmPlayAbnormalFrequency | 1020 |
AgoraErrorCodeAdmRecordAbnormalFrequency | 1021 |
AgoraErrorCodeAdmInitLoopback | 1022 |
AgoraErrorCodeAdmStartLoopback | 1023 |
AgoraErrorCodeAdmNoRecordingDevice | 1359 |
AgoraErrorCodeAdmNoPlayoutDevice | 1360 |
AgoraErrorCodeVdmCameraNotAuthorized | 1501 |
AgoraErrorCodeVcmUnknownError | 1600 |
AgoraErrorCodeVcmEncoderInitError | 1601 |
AgoraErrorCodeVcmEncoderEncodeError | 1602 |
AgoraErrorCodeVcmEncoderSetError | 1603 |
AgoraErrorCodeVideoEffectAssetInvalid | 1700 |
AgoraErrorCodeVideoEffectSaveFailed | 1701 |
AgoraErrorCodeVideoEffectEngineInvalid | 1702 |
AgoraErrorCodeVideoEffectNodeNotActive | 1704 |
AgoraErrorCodeVideoEffectInvalidParam | 1705 |
AgoraErrorCodeVideoEffectNotSupported | 1706 |
AgoraErrorCodeVideoEffectInvalidBundlePath | 1707 |
AgoraExperiencePoorReason 5 个成员
| 成员 | 值 |
|---|---|
AgoraExperiencePoorReasonNone | 0 |
AgoraExperiencePoorReasonRemoteNetworkQualityPoor | 1 |
AgoraExperiencePoorReasonLocalNetworkQualityPoor | 2 |
AgoraExperiencePoorReasonWirelessSignalPoor | 4 |
AgoraExperiencePoorReasonWifiBluetoothCoexist | 8 |
AgoraExperienceQuality 2 个成员
| 成员 | 值 |
|---|---|
AgoraExperienceQualityGood | 0 |
AgoraExperienceQualityBad | 1 |
AgoraExternalVideoSourceType 2 个成员
| 成员 | 值 |
|---|---|
AgoraExternalVideoSourceTypeVideoFrame | 0 |
AgoraExternalVideoSourceTypeEncodedVideoFrame | 1 |
AgoraFaceShapeArea 32 个成员
| 成员 | 值 |
|---|---|
AgoraFaceShapeAreaNone | -1 |
AgoraFaceShapeAreaHeadScale | 100 |
AgoraFaceShapeAreaForehead | 101 |
AgoraFaceShapeAreaFaceContour | 102 |
AgoraFaceShapeAreaFaceLength | 103 |
AgoraFaceShapeAreaFaceWidth | 104 |
AgoraFaceShapeAreaCheekbone | 105 |
AgoraFaceShapeAreaCheek | 106 |
AgoraFaceShapeAreaMandible | 107 |
AgoraFaceShapeAreaChin | 108 |
AgoraFaceShapeAreaFaceSmall | 109 |
AgoraFaceShapeAreaEyeScale | 200 |
AgoraFaceShapeAreaEyeDistance | 201 |
AgoraFaceShapeAreaEyePosition | 202 |
AgoraFaceShapeAreaLowerEyelid | 203 |
AgoraFaceShapeAreaEyePupils | 204 |
AgoraFaceShapeAreaEyeInnerCorner | 205 |
AgoraFaceShapeAreaEyeOuterCorner | 206 |
AgoraFaceShapeAreaEyeAngle | 207 |
AgoraFaceShapeAreaNoseLength | 300 |
AgoraFaceShapeAreaNoseWidth | 301 |
AgoraFaceShapeAreaNoseWing | 302 |
AgoraFaceShapeAreaNoseRoot | 303 |
AgoraFaceShapeAreaNoseBridge | 304 |
AgoraFaceShapeAreaNoseTip | 305 |
AgoraFaceShapeAreaNoseGeneral | 306 |
AgoraFaceShapeAreaMouthScale | 400 |
AgoraFaceShapeAreaMouthPosition | 401 |
AgoraFaceShapeAreaMouthSmile | 402 |
AgoraFaceShapeAreaMouthLip | 403 |
AgoraFaceShapeAreaEyebrowPosition | 500 |
AgoraFaceShapeAreaEyebrowThickness | 501 |
AgoraFaceShapeStyle 3 个成员
| 成员 | 值 |
|---|---|
AgoraFaceShapeStyleFemale | 0 |
AgoraFaceShapeStyleMale | 1 |
AgoraFaceShapeStyleNatural | 2 |
AgoraFeatureType 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoPreprocessVirtualBackground | 1 |
AgoraVideoPreprocessBeauty | 2 |
AgoraFocalLength 4 个成员
| 成员 | 值 |
|---|---|
AgoraFocalLengthDefault | 0 |
AgoraFocalLengthWide | 1 |
AgoraFocalLengthUltraWide | 2 |
AgoraFocalLengthTelephoto | 3 |
AgoraHeadphoneEQPreset 3 个成员
| 成员 | 值 |
|---|---|
AgoraAudioHeadphoneEQPresetOff | 0 |
AgoraAudioHeadphoneEQPresetOverear | 67108865 |
AgoraAudioHeadphoneEQPresetInear | 67108866 |
AgoraLastmileProbeResultState 3 个成员
| 成员 | 值 |
|---|---|
AgoraLastmileProbeResultComplete | 1 |
AgoraLastmileProbeResultIncompleteNoBwe | 2 |
AgoraLastmileProbeResultUnavailable | 3 |
AgoraLighteningContrastLevel 3 个成员
| 成员 | 值 |
|---|---|
AgoraLighteningContrastLow | 0 |
AgoraLighteningContrastNormal | 1 |
AgoraLighteningContrastHigh | 2 |
AgoraLocalProxyMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraConnectivityFirst | 0 |
AgoraLocalOnly | 1 |
AgoraLocalVideoStreamReason 16 个成员
| 成员 | 值 |
|---|---|
AgoraLocalVideoStreamReasonOK | 0 |
AgoraLocalVideoStreamReasonFailure | 1 |
AgoraLocalVideoStreamReasonDeviceNoPermission | 2 |
AgoraLocalVideoStreamReasonDeviceBusy | 3 |
AgoraLocalVideoStreamReasonCaptureFailure | 4 |
AgoraLocalVideoStreamReasonCodecNotSupport | 5 |
AgoraLocalVideoStreamReasonCaptureInBackGround | 6 |
AgoraLocalVideoStreamReasonCaptureMultipleForegroundApps | 7 |
AgoraLocalVideoStreamReasonCaptureNoDeviceFound | 8 |
AgoraLocalVideoStreamReasonCaptureDeviceDisconnected | 9 |
AgoraLocalVideoStreamReasonCaptureDeviceInvalidId | 10 |
AgoraLocalVideoStreamReasonScreenCaptureWindowMinimized | 11 |
AgoraLocalVideoStreamReasonScreenCaptureWindowClosed | 12 |
AgoraLocalVideoStreamReasonScreenCaptureNoPermission | 22 |
AgoraLocalVideoStreamReasonScreenCaptureRecoverFromMinimized | 27 |
AgoraLocalVideoStreamReasonScreenCaptureDisplayDisconnected | 30 |
AgoraLogFilter 6 个成员
| 成员 | 值 |
|---|---|
AgoraLogFilterOff | 0 |
AgoraLogFilterDebug | 2063 |
AgoraLogFilterInfo | 15 |
AgoraLogFilterWarning | 14 |
AgoraLogFilterError | 12 |
AgoraLogFilterCritical | 8 |
AgoraLogLevel 5 个成员
| 成员 | 值 |
|---|---|
AgoraLogLevelNone | 0 |
AgoraLogLevelInfo | 1 |
AgoraLogLevelWarn | 2 |
AgoraLogLevelError | 4 |
AgoraLogLevelFatal | 8 |
AgoraLowlightEnhanceLevel 2 个成员
| 成员 | 值 |
|---|---|
AgoraLowlightEnhanceLevelQuality | 0 |
AgoraLowlightEnhanceLevelFast | 1 |
AgoraLowlightEnhanceMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraLowlightEnhanceModeAuto | 0 |
AgoraLowlightEnhanceModeManual | 1 |
AgoraMediaPlayerEvent 17 个成员
| 成员 | 值 |
|---|---|
AgoraMediaPlayerEventSeekBegin | 0 |
AgoraMediaPlayerEventSeekComplete | 1 |
AgoraMediaPlayerEventSeekError | 2 |
AgoraMediaPlayerEventAudioTrackChanged | 5 |
AgoraMediaPlayerEventBufferLow | 6 |
AgoraMediaPlayerEventBufferRecover | 7 |
AgoraMediaPlayerEventFreezeStart | 8 |
AgoraMediaPlayerEventFreezeStop | 9 |
AgoraMediaPlayerEventSwitchBegin | 10 |
AgoraMediaPlayerEventSwitchComplete | 11 |
AgoraMediaPlayerEventSwitchError | 12 |
AgoraMediaPlayerEventFirstDisplayed | 13 |
AgoraMediaPlayerEventReachCacheFileMaxCount | 14 |
AgoraMediaPlayerEventReachCacheFileMaxSize | 15 |
AgoraMediaPlayerEventTryOpenStart | 16 |
AgoraMediaPlayerEventTryOpenSucceed | 17 |
AgoraMediaPlayerEventTryOpenFailed | 18 |
AgoraMediaPlayerMetaDataType 2 个成员
| 成员 | 值 |
|---|---|
AgoraMediaPlayerMetaDataTypeUnknown | 0 |
AgoraMediaPlayerMetaDataTypeSEI | 1 |
AgoraMediaPlayerPreloadEvent 3 个成员
| 成员 | 值 |
|---|---|
AgoraMediaPlayerPreloadEventBegin | 0 |
AgoraMediaPlayerPreloadEventComplete | 1 |
AgoraMediaPlayerPreloadEventError | 2 |
AgoraMediaPlayerReason 18 个成员
| 成员 | 值 |
|---|---|
AgoraMediaPlayerReasonNone | 0 |
AgoraMediaPlayerReasonInvalidArguments | -1 |
AgoraMediaPlayerReasonInternal | -2 |
AgoraMediaPlayerReasonNoSource | -3 |
AgoraMediaPlayerReasonInvalidMediaSource | -4 |
AgoraMediaPlayerReasonUnknowStreamType | -5 |
AgoraMediaPlayerReasonObjNotInitialized | -6 |
AgoraMediaPlayerReasonCodecNotSupported | -7 |
AgoraMediaPlayerReasonVideoRenderFailed | -8 |
AgoraMediaPlayerReasonInvalidState | -9 |
AgoraMediaPlayerReasonUrlNotFound | -10 |
AgoraMediaPlayerReasonInvalidConnectState | -11 |
AgoraMediaPlayerReasonSrcBufferUnderflow | -12 |
AgoraMediaPlayerReasonInterrupted | -13 |
AgoraMediaPlayerReasonNotSupported | -14 |
AgoraMediaPlayerReasonTokenExpired | -15 |
AgoraMediaPlayerReasonIpExpired | -16 |
AgoraMediaPlayerReasonUnknown | -17 |
AgoraMediaPlayerRenderMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraMediaPlayerRenderModeHidden | 1 |
AgoraMediaPlayerRenderModeFit | 2 |
AgoraMediaPlayerState 9 个成员
| 成员 | 值 |
|---|---|
AgoraMediaPlayerStateIdle | 0 |
AgoraMediaPlayerStateOpening | 1 |
AgoraMediaPlayerStateOpenCompleted | 2 |
AgoraMediaPlayerStatePlaying | 3 |
AgoraMediaPlayerStatePaused | 4 |
AgoraMediaPlayerStatePlayBackCompleted | 5 |
AgoraMediaPlayerStatePlayBackAllLoopsCompleted | 6 |
AgoraMediaPlayerStateStopped | 7 |
AgoraMediaPlayerStateFailed | 100 |
AgoraMediaRecorderContainerFormat 1 个成员
| 成员 | 值 |
|---|---|
AgoraMediaRecorderContainerFormatMP4 | 1 |
AgoraMediaRecorderReasonCode 5 个成员
| 成员 | 值 |
|---|---|
AgoraMediaRecorderReasonCodeNoError | 0 |
AgoraMediaRecorderReasonCodeWriteFailed | 1 |
AgoraMediaRecorderReasonCodeNoStream | 2 |
AgoraMediaRecorderReasonCodeOverMaxDuration | 3 |
AgoraMediaRecorderReasonCodeConfigChange | 4 |
AgoraMediaRecorderState 3 个成员
| 成员 | 值 |
|---|---|
AgoraMediaRecorderStateError | -1 |
AgoraMediaRecorderStateStarted | 2 |
AgoraMediaRecorderStateStopped | 3 |
AgoraMediaRecorderStreamType 3 个成员
| 成员 | 值 |
|---|---|
AgoraMediaRecorderStreamTypeAudio | 1 |
AgoraMediaRecorderStreamTypeVideo | 2 |
AgoraMediaRecorderStreamTypeBoth | 3 |
AgoraMediaSourceType 15 个成员
| 成员 | 值 |
|---|---|
AgoraMediaSourceTypeAudioPlayout | 0 |
AgoraMediaSourceTypeRecording | 1 |
AgoraMediaSourceTypePrimaryCamera | 2 |
AgoraMediaSourceTypeSecondaryCamera | 3 |
AgoraMediaSourceTypePrimaryScreen | 4 |
AgoraMediaSourceTypeSecondaryScreen | 5 |
AgoraMediaSourceTypeCustomVideo | 6 |
AgoraMediaSourceTypeMediaPlayer | 7 |
AgoraMediaSourceTypeRtcImagePng | 8 |
AgoraMediaSourceTypeRtcImageJpeg | 9 |
AgoraMediaSourceTypeRtcImageGif | 10 |
AgoraMediaSourceTypeRemoteVideo | 11 |
AgoraMediaSourceTypeTranscodedVideo | 12 |
AgoraMediaSourceTypeSpeechDriven | 13 |
AgoraMediaSourceTypeUnknown | 100 |
AgoraMediaStreamType 4 个成员
| 成员 | 值 |
|---|---|
AgoraMediaStreamTypeUnknown | 0 |
AgoraMediaStreamTypeVideo | 1 |
AgoraMediaStreamTypeAudio | 2 |
AgoraMediaStreamTypeSubtitle | 3 |
AgoraMediaTraceEvent 2 个成员
| 成员 | 值 |
|---|---|
AgoraMediaTraceEventVideoRendered | 0 |
AgoraMediaTraceEventVideoDecoded | 1 |
AgoraMetadataType 2 个成员
| 成员 | 值 |
|---|---|
AgoraMetadataTypeUnknown | -1 |
AgoraMetadataTypeVideo | 0 |
AgoraMultipathMode 1 个成员
| 成员 | 值 |
|---|---|
AgoraMultipathModeDuplicate | 0 |
AgoraMultipathType 4 个成员
| 成员 | 值 |
|---|---|
AgoraMultipathTypeLAN | 0 |
AgoraMultipathTypeWIFI | 1 |
AgoraMultipathTypeMobile | 2 |
AgoraMultipathTypeUnknown | 99 |
AgoraMusicCacheStatusType 2 个成员
| 成员 | 值 |
|---|---|
AgoraMusicCacheStatusTypeCached | 0 |
AgoraMusicCacheStatusTypeCaching | 1 |
AgoraMusicContentCenterPreloadState 4 个成员
| 成员 | 值 |
|---|---|
AgoraMusicContentCenterPreloadStateOK | 0 |
AgoraMusicContentCenterPreloadStateError | 1 |
AgoraMusicContentCenterPreloadStatePreloading | 2 |
AgoraMusicContentCenterPreloadStateRemoveCache | 3 |
AgoraMusicContentCenterStateReason 8 个成员
| 成员 | 值 |
|---|---|
AgoraMusicContentCenterStateReasonOK | 0 |
AgoraMusicContentCenterStateReasonError | 1 |
AgoraMusicContentCenterStateReasonErrorGateway | 2 |
AgoraMusicContentCenterStateReasonErrorPermissionAndResource | 3 |
AgoraMusicContentCenterStateReasonErrorInternalDataParse | 4 |
AgoraMusicContentCenterStateReasonErrorMusicLoading | 5 |
AgoraMusicContentCenterStateReasonErrorMusicDecryption | 6 |
AgoraMusicContentCenterStateReasonErrorHttpInternalError | 7 |
AgoraMusicPlayMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraMusicPlayModeOriginal | 0 |
AgoraMusicPlayModeAccompany | 1 |
AgoraMusicPlayModeLeadsing | 2 |
AgoraNetworkQuality 9 个成员
| 成员 | 值 |
|---|---|
AgoraNetworkQualityUnknown | 0 |
AgoraNetworkQualityExcellent | 1 |
AgoraNetworkQualityGood | 2 |
AgoraNetworkQualityPoor | 3 |
AgoraNetworkQualityBad | 4 |
AgoraNetworkQualityVBad | 5 |
AgoraNetworkQualityDown | 6 |
AgoraNetworkQualityUnsupported | 7 |
AgoraNetworkQualityDetecting | 8 |
AgoraNetworkType 8 个成员
| 成员 | 值 |
|---|---|
AgoraNetworkTypeUnknown | -1 |
AgoraNetworkTypeDisconnected | 0 |
AgoraNetworkTypeLAN | 1 |
AgoraNetworkTypeWIFI | 2 |
AgoraNetworkType2G | 3 |
AgoraNetworkType3G | 4 |
AgoraNetworkType4G | 5 |
AgoraNetworkType5G | 6 |
AgoraPermissionType 2 个成员
| 成员 | 值 |
|---|---|
AgoraPermissionTypeRecordAudio | 0 |
AgoraPermissionTypeCamera | 1 |
AgoraProxyType 7 个成员
| 成员 | 值 |
|---|---|
AgoraNoneProxyType | 0 |
AgoraUdpProxyType | 1 |
AgoraTcpProxyType | 2 |
AgoraLocalProxyType | 3 |
AgoraTcpProxyAutoFallbackType | 4 |
AgoraHttpProxyType | 5 |
AgoraHttpsProxyType | 6 |
AgoraRecorderStreamType 2 个成员
| 成员 | 值 |
|---|---|
AgoraRecorderStreamTypeRtc | 0 |
AgoraRecorderStreamTypePreview | 1 |
AgoraRenewTokenErrorCode 7 个成员
| 成员 | 值 |
|---|---|
AgoraRenewTokenSuccess | 0 |
AgoraRenewTokenFailure | 1 |
AgoraRenewTokenExpiredToken | 2 |
AgoraRenewTokenInvalidToken | 3 |
AgoraRenewTokenInvalidChannelName | 4 |
AgoraRenewTokenInconsistentAppId | 5 |
AgoraRenewTokenCanceledByNewRequest | 6 |
AgoraRhythmPlayerReason 5 个成员
| 成员 | 值 |
|---|---|
AgoraRhythmPlayerReasonOK | 0 |
AgoraRhythmPlayerReasonFailed | 1 |
AgoraRhythmPlayerReasonCanNotOpen | 801 |
AgoraRhythmPlayerReasonCanNotPlay | 802 |
AgoraRhythmPlayerReasonFileOverDurationLimit | 803 |
AgoraRhythmPlayerState 5 个成员
| 成员 | 值 |
|---|---|
AgoraRhythmPlayerStateIdle | 810 |
AgoraRhythmPlayerStateOpening | 811 |
AgoraRhythmPlayerStateDecoding | 812 |
AgoraRhythmPlayerStatePlaying | 813 |
AgoraRhythmPlayerStateFailed | 814 |
AgoraRteAbrFallbackLayer 9 个成员
| 成员 | 值 |
|---|---|
AgoraRteAbrFallbackDisabled | 0 |
AgoraRteAbrFallbackLow | 1 |
AgoraRteAbrFallbackAudioOnly | 2 |
AgoraRteAbrFallbackLayer1 | 3 |
AgoraRteAbrFallbackLayer2 | 4 |
AgoraRteAbrFallbackLayer3 | 5 |
AgoraRteAbrFallbackLayer4 | 6 |
AgoraRteAbrFallbackLayer5 | 7 |
AgoraRteAbrFallbackLayer6 | 8 |
AgoraRteAbrSubscriptionLayer 8 个成员
| 成员 | 值 |
|---|---|
AgoraRteAbrSubscriptionHigh | 0 |
AgoraRteAbrSubscriptionLow | 1 |
AgoraRteAbrSubscriptionLayer1 | 2 |
AgoraRteAbrSubscriptionLayer2 | 3 |
AgoraRteAbrSubscriptionLayer3 | 4 |
AgoraRteAbrSubscriptionLayer4 | 5 |
AgoraRteAbrSubscriptionLayer5 | 6 |
AgoraRteAbrSubscriptionLayer6 | 7 |
AgoraRteErrorCode 7 个成员
| 成员 | 值 |
|---|---|
AgoraRteOk | 0 |
AgoraRteErrorDefault | 1 |
AgoraRteErrorInvalidArgument | 2 |
AgoraRteErrorInvalidOperation | 3 |
AgoraRteErrorNetworkError | 4 |
AgoraRteErrorAuthenticationFailed | 5 |
AgoraRteErrorStreamNotFound | 6 |
AgoraRtePlayerEvent 21 个成员
| 成员 | 值 |
|---|---|
AgoraRtePlayerEventSeekBegin | 0 |
AgoraRtePlayerEventSeekComplete | 1 |
AgoraRtePlayerEventSeekError | 2 |
AgoraRtePlayerEventBufferLow | 3 |
AgoraRtePlayerEventBufferRecover | 4 |
AgoraRtePlayerEventFreezeStart | 5 |
AgoraRtePlayerEventFreezeStop | 6 |
AgoraRtePlayerEventOneLoopPlaybackCompleted | 7 |
AgoraRtePlayerEventAuthenticationWillExpire | 8 |
AgoraRtePlayerEventAbrFallbackToAudioOnlyLayer | 9 |
AgoraRtePlayerEventAbrRecoverFromAudioOnlyLayer | 10 |
AgoraRtePlayerEventSwitchBegin | 11 |
AgoraRtePlayerEventSwitchComplete | 12 |
AgoraRtePlayerEventSwitchError | 13 |
AgoraRtePlayerEventFirstDisplayed | 14 |
AgoraRtePlayerEventReachCacheFileMaxCount | 15 |
AgoraRtePlayerEventReachCacheFileMaxSize | 16 |
AgoraRtePlayerEventTryOpenStart | 17 |
AgoraRtePlayerEventTryOpenSucceed | 18 |
AgoraRtePlayerEventTryOpenFailed | 19 |
AgoraRtePlayerEventAudioTrackChanged | 20 |
AgoraRtePlayerMetadataType 1 个成员
| 成员 | 值 |
|---|---|
AgoraRtePlayerMetadataTypeSei | 0 |
AgoraRtePlayerState 8 个成员
| 成员 | 值 |
|---|---|
AgoraRtePlayerStateIdle | 0 |
AgoraRtePlayerStateOpening | 1 |
AgoraRtePlayerStateOpenCompleted | 2 |
AgoraRtePlayerStatePlaying | 3 |
AgoraRtePlayerStatePaused | 4 |
AgoraRtePlayerStatePlaybackCompleted | 5 |
AgoraRtePlayerStateStopped | 6 |
AgoraRtePlayerStateFailed | 7 |
AgoraRteVideoMirrorMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraRteVideoMirrorModeAuto | 0 |
AgoraRteVideoMirrorModeEnabled | 1 |
AgoraRteVideoMirrorModeDisabled | 2 |
AgoraRteVideoRenderMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraRteVideoRenderModeHidden | 0 |
AgoraRteVideoRenderModeFit | 1 |
AgoraRtmpStreamingEvent 4 个成员
| 成员 | 值 |
|---|---|
AgoraRtmpStreamingEventFailedLoadImage | 1 |
AgoraRtmpStreamingEventUrlAlreadyInUse | 2 |
AgoraRtmpStreamingEventAdvancedFeatureNotSupport | 3 |
AgoraRtmpStreamingEventRequestTooOften | 4 |
AgoraRtmpStreamingReason 17 个成员
| 成员 | 值 |
|---|---|
AgoraRtmpStreamingReasonOK | 0 |
AgoraRtmpStreamingReasonInvalidParameters | 1 |
AgoraRtmpStreamingReasonEncryptedStreamNotAllowed | 2 |
AgoraRtmpStreamingReasonConnectionTimeout | 3 |
AgoraRtmpStreamingReasonInternalServerError | 4 |
AgoraRtmpStreamingReasonRtmpServerError | 5 |
AgoraRtmpStreamingReasonTooOften | 6 |
AgoraRtmpStreamingReasonReachLimit | 7 |
AgoraRtmpStreamingReasonNotAuthorized | 8 |
AgoraRtmpStreamingReasonStreamNotFound | 9 |
AgoraRtmpStreamingReasonFormatNotSupported | 10 |
AgoraRtmpStreamingReasonNotBroadcaster | 11 |
AgoraRtmpStreamingReasonTranscodingNoMixStream | 13 |
AgoraRtmpStreamingReasonNetDown | 14 |
AgoraRtmpStreamingReasonInvalidAppId | 15 |
AgoraRtmpStreamingReasonInvalidPrivilege | 16 |
AgoraRtmpStreamingReasonUnpublishOK | 100 |
AgoraRtmpStreamingState 6 个成员
| 成员 | 值 |
|---|---|
AgoraRtmpStreamingStateIdle | 0 |
AgoraRtmpStreamingStateConnecting | 1 |
AgoraRtmpStreamingStateRunning | 2 |
AgoraRtmpStreamingStateRecovering | 3 |
AgoraRtmpStreamingStateFailure | 4 |
AgoraRtmpStreamingStateDisconnecting | 5 |
AgoraRtmpStreamLifeCycle 2 个成员
| 成员 | 值 |
|---|---|
AgoraRtmpStreamLifeCycleBindToChannel | 1 |
AgoraRtmpStreamLifeCycleBindToOwner | 2 |
AgoraScreenCaptureFrameRateCapability 4 个成员
| 成员 | 值 |
|---|---|
AgoraScreenCaptureFrameRateUnKonw | -1 |
AgoraScreenCaptureFrameRate15FPS | 0 |
AgoraScreenCaptureFrameRate30FPS | 1 |
AgoraScreenCaptureFrameRate60FPS | 2 |
AgoraScreenScenarioType 4 个成员
| 成员 | 值 |
|---|---|
AgoraScreenScenarioDocument | 1 |
AgoraScreenScenarioGaming | 2 |
AgoraScreenScenarioVideo | 3 |
AgoraScreenScenarioRDC | 4 |
AgoraSimulcastStreamMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraAutoSimulcastStream | -1 |
AgoraDisableSimulcastStream | 0 |
AgoraEnableSimulcastStream | 1 |
AgoraStreamFallbackOptions 9 个成员
| 成员 | 值 |
|---|---|
AgoraStreamFallbackOptionDisabled | 0 |
AgoraStreamFallbackOptionVideoStreamLow | 1 |
AgoraStreamFallbackOptionAudioOnly | 2 |
AgoraStreamFallbackOptionVideoStreamLayer1 | 3 |
AgoraStreamFallbackOptionVideoStreamLayer2 | 4 |
AgoraStreamFallbackOptionVideoStreamLayer3 | 5 |
AgoraStreamFallbackOptionVideoStreamLayer4 | 6 |
AgoraStreamFallbackOptionVideoStreamLayer5 | 7 |
AgoraStreamFallbackOptionVideoStreamLayer6 | 8 |
AgoraStreamPublishState 4 个成员
| 成员 | 值 |
|---|---|
AgoraStreamPublishStateIdle | 0 |
AgoraStreamPublishStateNoPublished | 1 |
AgoraStreamPublishStatePublishing | 2 |
AgoraStreamPublishStatePublished | 3 |
AgoraStreamSubscribeState 4 个成员
| 成员 | 值 |
|---|---|
AgoraStreamSubscribeStateIdle | 0 |
AgoraStreamSubscribeStateNoSubscribed | 1 |
AgoraStreamSubscribeStateSubscribing | 2 |
AgoraStreamSubscribeStateSubscribed | 3 |
AgoraUserOfflineReason 3 个成员
| 成员 | 值 |
|---|---|
AgoraUserOfflineReasonQuit | 0 |
AgoraUserOfflineReasonDropped | 1 |
AgoraUserOfflineReasonBecomeAudience | 2 |
AgoraVideoCodecCapabilityLevel 5 个成员
| 成员 | 值 |
|---|---|
AgoraVideoCodecCapabilityLevelUnspecified | -1 |
AgoraVideoCodecCapabilityLevelBasicSupport | 5 |
AgoraVideoCodecCapabilityLevel1080p30fps | 10 |
AgoraVideoCodecCapabilityLevel1080p60fps | 20 |
AgoraVideoCodecCapabilityLevel4k60fps | 30 |
AgoraVideoCodecProfileType 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoCodecProfileTypeBaseLine | 66 |
AgoraVideoCodecProfileTypeMain | 77 |
AgoraVideoCodecProfileTypeHigh | 100 |
AgoraVideoCodecType 7 个成员
| 成员 | 值 |
|---|---|
AgoraVideoCodecTypeNone | 0 |
AgoraVideoCodecTypeVP8 | 1 |
AgoraVideoCodecTypeH264 | 2 |
AgoraVideoCodecTypeH265 | 3 |
AgoraVideoCodecTypeGeneric | 6 |
AgoraVideoCodecTypeVP9 | 13 |
AgoraVideoCodecTypeGenericJpeg | 20 |
AgoraVideoCodecTypeForStream 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoCodecTypeH264ForStream | 1 |
AgoraVideoCodecTypeH265ForStream | 2 |
AgoraVideoContentHint 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoContentHintNone | 0 |
AgoraVideoContentHintMotion | 1 |
AgoraVideoContentHintDetails | 2 |
AgoraVideoDenoiserLevel 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoDenoiserLevelHighQuality | 0 |
AgoraVideoDenoiserLevelFast | 1 |
AgoraVideoDenoiserMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoDenoiserModeAuto | null |
AgoraVideoDenoiserModeManual | 1 |
AgoraVideoEffectAction 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoEffectActionSave | 1 |
AgoraVideoEffectActionReset | 2 |
AgoraVideoEffectNodeId 4 个成员
| 成员 | 值 |
|---|---|
AgoraVideoEffectNodeBeauty | 1 |
AgoraVideoEffectNodeStyleMakeup | 2 |
AgoraVideoEffectNodeFilter | 4 |
AgoraVideoEffectNodeSticker | 8 |
AgoraVideoFormat 12 个成员
| 成员 | 值 |
|---|---|
AgoraVideoFormatI420 | 1 |
AgoraVideoFormatBGRA | 2 |
AgoraVideoFormatNV21 | 3 |
AgoraVideoFormatRGBA | 4 |
AgoraVideoFormatNV12 | 8 |
AgoraVideoFormatCVPixelNV12 | 12 |
AgoraVideoFormatCVPixelI420 | 13 |
AgoraVideoFormatCVPixelBGRA | 14 |
AgoraVideoFormatCVPixelP010 | 15 |
AgoraVideoFormatI422 | 16 |
AgoraVideoFormatI010 | 18 |
AgoraVideoFormatDefault | 0 |
AgoraVideoFrameOrientation 4 个成员
| 成员 | 值 |
|---|---|
AgoraVideoFrameOrientation0 | 0 |
AgoraVideoFrameOrientation90 | 90 |
AgoraVideoFrameOrientation180 | 180 |
AgoraVideoFrameOrientation270 | 270 |
AgoraVideoFramePosition 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoFramePositionPostCapture | 1 |
AgoraVideoFramePositionPreRenderer | 2 |
AgoraVideoFramePositionPreEncoder | 4 |
AgoraVideoFrameProcessMode 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoFrameProcessModeReadOnly | null |
AgoraVideoFrameProcessModeReadWrite | null |
AgoraVideoFrameRate 7 个成员
| 成员 | 值 |
|---|---|
AgoraVideoFrameRateFps1 | 1 |
AgoraVideoFrameRateFps7 | 7 |
AgoraVideoFrameRateFps10 | 10 |
AgoraVideoFrameRateFps15 | 15 |
AgoraVideoFrameRateFps24 | 24 |
AgoraVideoFrameRateFps30 | 30 |
AgoraVideoFrameRateFps60 | 60 |
AgoraVideoFrameType 6 个成员
| 成员 | 值 |
|---|---|
AgoraVideoFrameTypeBlankFrame | 0 |
AgoraVideoFrameTypeKeyFrame | 3 |
AgoraVideoFrameTypeDeltaFrame | 4 |
AgoraVideoFrameTypeBFrame | 5 |
AgoraVideoFrameTypeDroppableFrame | 6 |
AgoraVideoFrameTypeUnknow | null |
AgoraVideoHwEncoderAccelerating 2 个成员
| 成员 | 值 |
|---|---|
AgoraVideoHwEncoderSoftware | 0 |
AgoraVideoHwEncoderHardware | 1 |
AgoraVideoLocalState 4 个成员
| 成员 | 值 |
|---|---|
AgoraVideoLocalStateStopped | 0 |
AgoraVideoLocalStateCapturing | 1 |
AgoraVideoLocalStateEncoding | 2 |
AgoraVideoLocalStateFailed | 3 |
AgoraVideoMirrorMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoMirrorModeAuto | 0 |
AgoraVideoMirrorModeEnabled | 1 |
AgoraVideoMirrorModeDisabled | 2 |
AgoraVideoModulePosition 4 个成员
| 成员 | 值 |
|---|---|
AgoraVideoModulePositionPostCapture | 1 |
AgoraVideoModulePositionPreRenderer | 2 |
AgoraVideoModulePositionPreEncoder | 4 |
AgoraVideoModulePositionPostCaptureOrigin | 8 |
AgoraVideoOutputOrientationMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoOutputOrientationModeAdaptative | 0 |
AgoraVideoOutputOrientationModeFixedLandscape | 1 |
AgoraVideoOutputOrientationModeFixedPortrait | 2 |
AgoraVideoQualityAdaptIndication 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoQualityAdaptNone | 0 |
AgoraVideoQualityAdaptUpBandwidth | 1 |
AgoraVideoQualityAdaptDownBandwidth | 2 |
AgoraVideoRemoteReason 12 个成员
| 成员 | 值 |
|---|---|
AgoraVideoRemoteReasonInternal | 0 |
AgoraVideoRemoteReasonCongestion | 1 |
AgoraVideoRemoteReasonRecovery | 2 |
AgoraVideoRemoteReasonLocalMuted | 3 |
AgoraVideoRemoteReasonLocalUnmuted | 4 |
AgoraVideoRemoteReasonRemoteMuted | 5 |
AgoraVideoRemoteReasonRemoteUnmuted | 6 |
AgoraVideoRemoteReasonRemoteOffline | 7 |
AgoraVideoRemoteReasonAudioFallback | 8 |
AgoraVideoRemoteReasonAudioFallbackRecovery | 9 |
AgoraVideoRemoteReasonSDKInBackground | 12 |
AgoraVideoRemoteReasonCodecNotSupport | 13 |
AgoraVideoRemoteState 5 个成员
| 成员 | 值 |
|---|---|
AgoraVideoRemoteStateStopped | 0 |
AgoraVideoRemoteStateStarting | 1 |
AgoraVideoRemoteStateDecoding | 2 |
AgoraVideoRemoteStateFrozen | 3 |
AgoraVideoRemoteStateFailed | 4 |
AgoraVideoRenderMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoRenderModeHidden | 1 |
AgoraVideoRenderModeFit | 2 |
AgoraVideoRenderModeAdaptive | 3 |
AgoraVideoSourceType 17 个成员
| 成员 | 值 |
|---|---|
AgoraVideoSourceTypeCamera | 0 |
AgoraVideoSourceTypeCameraSecondary | 1 |
AgoraVideoSourceTypeScreen | 2 |
AgoraVideoSourceTypeScreenSecondary | 3 |
AgoraVideoSourceTypeCustom | 4 |
AgoraVideoSourceTypeMediaPlayer | 5 |
AgoraVideoSourceTypeImagePNG | 6 |
AgoraVideoSourceTypeImageJPEG | 7 |
AgoraVideoSourceTypeImageGIF | 8 |
AgoraVideoSourceTypeRemote | 9 |
AgoraVideoSourceTypeTransCoded | 10 |
AgoraVideoSourceTypeCameraThird | 11 |
AgoraVideoSourceTypeCameraFourth | 12 |
AgoraVideoSourceTypeScreenThird | 13 |
AgoraVideoSourceTypeScreenFourth | 14 |
AgoraVideoSourceTypeSpeechDriven | 15 |
AgoraVideoSourceTypeUnknown | 100 |
AgoraVideoStreamType 8 个成员
| 成员 | 值 |
|---|---|
AgoraVideoStreamTypeHigh | 0 |
AgoraVideoStreamTypeLow | 1 |
AgoraVideoStreamTypeLayer1 | 4 |
AgoraVideoStreamTypeLayer2 | 5 |
AgoraVideoStreamTypeLayer3 | 6 |
AgoraVideoStreamTypeLayer4 | 7 |
AgoraVideoStreamTypeLayer5 | 8 |
AgoraVideoStreamTypeLayer6 | 9 |
AgoraVideoTranscoderError 7 个成员
| 成员 | 值 |
|---|---|
AgoraVideoTranscoderErrorOK | 0 |
AgoraVideoTranscoderErrorVideoSourceNotReady | 1 |
AgoraVideoTranscoderErrorInvalidVideoSourceType | 2 |
AgoraVideoTranscoderErrorInvalidImagePath | 3 |
AgoraVideoTranscoderErrorUnsupportImageFormat | 4 |
AgoraVideoTranscoderErrorInvalidLayout | 5 |
AgoraVideoTranscoderErrorInternal | 20 |
AgoraVideoViewSetupMode 3 个成员
| 成员 | 值 |
|---|---|
AgoraVideoViewSetupReplace | 0 |
AgoraVideoViewSetupAdd | 1 |
AgoraVideoViewSetupRemove | 2 |
AgoraVirtualBackgroundSourceType 5 个成员
| 成员 | 值 |
|---|---|
AgoraVirtualBackgroundNone | 0 |
AgoraVirtualBackgroundColor | 1 |
AgoraVirtualBackgroundImg | 2 |
AgoraVirtualBackgroundBlur | 3 |
AgoraVirtualBackgroundVideo | 4 |
AgoraVoiceAITunerType 10 个成员
| 成员 | 值 |
|---|---|
AgoraVoiceAITunerMatureMale | 0 |
AgoraVoiceAITunerFreshMale | 1 |
AgoraVoiceAITunerElegantFemale | 2 |
AgoraVoiceAITunerSweetFemale | 3 |
AgoraVoiceAITunerWarmMaleSinging | 4 |
AgoraVoiceAITunerGentleFemaleSinging | 5 |
AgoraVoiceAITunerHuskyMaleSinging | 6 |
AgoraVoiceAITunerWarmElegantFemaleSinging | 7 |
AgoraVoiceAITunerPowerfulMaleSinging | 8 |
AgoraVoiceAITunerDreamyFemaleSinging | 9 |
AgoraVoiceBeautifierPreset 14 个成员
| 成员 | 值 |
|---|---|
AgoraVoiceBeautifierPresetOff | 0 |
AgoraVoiceBeautifierPresetChatBeautifierMagnetic | 16843008 |
AgoraVoiceBeautifierPresetChatBeautifierFresh | 16843264 |
AgoraVoiceBeautifierPresetChatBeautifierVitality | 16843520 |
AgoraVoiceBeautifierPresetSingingBeautifier | 16908544 |
AgoraVoiceBeautifierTimbreTransformationVigorous | 16974080 |
AgoraVoiceBeautifierTimbreTransformationDeep | 16974336 |
AgoraVoiceBeautifierTimbreTransformationMellow | 16974592 |
AgoraVoiceBeautifierTimbreTransformationFalsetto | 16974848 |
AgoraVoiceBeautifierTimbreTransformationFull | 16975104 |
AgoraVoiceBeautifierTimbreTransformationClear | 16975360 |
AgoraVoiceBeautifierTimbreTransformationResounding | 16975616 |
AgoraVoiceBeautifierTimbreTransformatRinging | 16975872 |
AgoraVoiceBeautifierUltraHighQuality | 17039616 |
AgoraVoiceConversionPreset 16 个成员
| 成员 | 值 |
|---|---|
AgoraVoiceConversionPresetOff | 0 |
AgoraVoiceConversionPresetNeutral | 50397440 |
AgoraVoiceConversionPresetSweet | 50397696 |
AgoraVoiceConversionPresetChangerSolid | 50397952 |
AgoraVoiceConversionPresetChangerBass | 50398208 |
AgoraVoiceConversionPresetChangerCartoon | 50398464 |
AgoraVoiceConversionPresetChangerChildlike | 50398720 |
AgoraVoiceConversionPresetChangerPhoneOperator | 50398976 |
AgoraVoiceConversionPresetChangerMonster | 50399232 |
AgoraVoiceConversionPresetChangerTransformers | 50399488 |
AgoraVoiceConversionPresetChangerGroot | 50399744 |
AgoraVoiceConversionPresetChangerDarthVader | 50400000 |
AgoraVoiceConversionPresetChangerIronLady | 50400256 |
AgoraVoiceConversionPresetChangerShinchan | 50400512 |
AgoraVoiceConversionPresetChangerGirlishMan | 50400768 |
AgoraVoiceConversionPresetChangerChipmunk | 50401024 |
AUDIO_AINS_MODE 3 个成员
| 成员 | 值 |
|---|---|
AINS_MODE_BALANCED | 0 |
AINS_MODE_AGGRESSIVE | 1 |
AINS_MODE_ULTRALOWLATENCY | 2 |
ScreenColorType 3 个成员
| 成员 | 值 |
|---|---|
ScreenColorAuto | 0 |
ScreenColorGreen | 1 |
ScreenColorBlue | 2 |
SegModelType 2 个成员
| 成员 | 值 |
|---|---|
SegModelAgoraAi | null |
SegModelAgoraGreen | 2 |
WatermarkBufferFormat 4 个成员
| 成员 | 值 |
|---|---|
WatermarkBufferFormatI420 | 1 |
WatermarkBufferFormatBGRA | 2 |
WatermarkBufferFormatNV21 | 3 |
WatermarkBufferFormatRGBA | 4 |
WatermarkType 2 个成员
| 成员 | 值 |
|---|---|
WatermarkTypeImage | 0 |
WatermarkTypeBuffer | 1 |
错误码常量
| 常量 | 值 |
|---|---|
AgoraErrorCodeAdmGeneralError | 1005 |
AgoraErrorCodeAdmInitLoopback | 1022 |
AgoraErrorCodeAdmInitPlayout | 1008 |
AgoraErrorCodeAdmInitRecording | 1011 |
AgoraErrorCodeAdmJavaResource | 1006 |
AgoraErrorCodeAdmNoPlayoutDevice | 1360 |
AgoraErrorCodeAdmNoRecordingDevice | 1359 |
AgoraErrorCodeAdmPlayAbnormalFrequency | 1020 |
AgoraErrorCodeAdmRecordAbnormalFrequency | 1021 |
AgoraErrorCodeAdmRecordAudioFailed | 1018 |
AgoraErrorCodeAdmRuntimePlayoutError | 1015 |
AgoraErrorCodeAdmRuntimeRecordingError | 1017 |
AgoraErrorCodeAdmSampleRate | 1007 |
AgoraErrorCodeAdmStartLoopback | 1023 |
AgoraErrorCodeAdmStartPlayout | 1009 |
AgoraErrorCodeAdmStartRecording | 1012 |
AgoraErrorCodeAdmStopPlayout | 1010 |
AgoraErrorCodeAdmStopRecording | 1013 |
AgoraErrorCodeAlreadyInUse | 19 |
AgoraErrorCodeBitrateLimit | 115 |
AgoraErrorCodeBufferTooSmall | 6 |
AgoraErrorCodeConnectionInterrupted | 111 |
AgoraErrorCodeConnectionLost | 112 |
AgoraErrorCodeDecryptionFailed | 120 |
AgoraErrorCodeEncryptedStreamNotAllowedPublish | 130 |
AgoraErrorCodeFailed | 1 |
AgoraErrorCodeInitNetEngine | 21 |
AgoraErrorCodeInvalidAppId | 101 |
AgoraErrorCodeInvalidArgument | 2 |
AgoraErrorCodeInvalidChannelId | 102 |
AgoraErrorCodeInvalidState | 8 |
AgoraErrorCodeInvalidToken | 110 |
AgoraErrorCodeInvalidUserAccount | 134 |
AgoraErrorCodeJoinChannelRejected | 17 |
AgoraErrorCodeLeaveChannelRejected | 18 |
AgoraErrorCodeLoadMediaEngine | 1001 |
AgoraErrorCodeNoError | 0 |
AgoraErrorCodeNoServerResources | 103 |
AgoraErrorCodeNotInChannel | 113 |
AgoraErrorCodeNotInitialized | 7 |
AgoraErrorCodeNotReady | 3 |
AgoraErrorCodeNotSupported | 4 |
AgoraErrorCodePcmSendBufferOverflow | 201 |
AgoraErrorCodePcmSendFormat | 200 |
AgoraErrorCodeResourceLimited | 22 |
AgoraErrorCodeSizeTooLarge | 114 |
AgoraErrorCodeStartCall | 1002 |
AgoraErrorCodeStartCamera | 1003 |
AgoraErrorCodeStartVideoRender | 1004 |
AgoraErrorCodeTimedOut | 10 |
AgoraErrorCodeTokenExpired | 109 |
AgoraErrorCodeTooManyDataStreams | 116 |
AgoraErrorCodeVcmEncoderEncodeError | 1602 |
AgoraErrorCodeVcmEncoderInitError | 1601 |
AgoraErrorCodeVcmEncoderSetError | 1603 |
AgoraErrorCodeVcmUnknownError | 1600 |
AgoraErrorCodeVdmCameraNotAuthorized | 1501 |
AgoraErrorCodeVideoEffectAssetInvalid | 1700 |
AgoraErrorCodeVideoEffectEngineInvalid | 1702 |
AgoraErrorCodeVideoEffectInvalidBundlePath | 1707 |
AgoraErrorCodeVideoEffectInvalidParam | 1705 |
AgoraErrorCodeVideoEffectNodeNotActive | 1704 |
AgoraErrorCodeVideoEffectNotSupported | 1706 |
AgoraErrorCodeVideoEffectSaveFailed | 1701 |
AgoraErrorCodeWatermarkAGRB | 128 |
AgoraErrorCodeWatermarkInfo | 127 |
AgoraErrorCodeWatermarkParam | 124 |
AgoraErrorCodeWatermarkPath | 125 |
AgoraErrorCodeWatermarkPng | 126 |
AgoraErrorCodeWatermarkRead | 129 |
已知限制
以下成员在当前版本暂不可用,调用时返回 -4(ERR_NOT_SUPPORTED)。接口定义中保留这些成员,便于跨端代码保持一致。
| 接口 | 成员 |
|---|---|
AgoraAudioEncodedFrameDelegate | onMixedEncodedAudioFrame |
AgoraAudioEncodedFrameDelegate | onPlaybackEncodedAudioFrame |
AgoraAudioEncodedFrameDelegate | onRecordEncodedAudioFrame |
AgoraAudioFrameDelegate | getEarMonitoringAudioParams |
AgoraAudioFrameDelegate | getMixedAudioParams |
AgoraAudioFrameDelegate | getObservedAudioFramePosition |
AgoraAudioFrameDelegate | getPlaybackAudioParams |
AgoraAudioFrameDelegate | getRecordAudioParams |
AgoraAudioFrameDelegate | onEarMonitoringAudioFrame |
AgoraAudioFrameDelegate | onMixedAudioFrame |
AgoraAudioFrameDelegate | onPlaybackAudioFrame |
AgoraAudioFrameDelegate | onPlaybackAudioFrameBeforeMixing |
AgoraAudioFrameDelegate | onRecordAudioFrame |
AgoraAudioSpectrumDelegate | onLocalAudioSpectrum |
AgoraAudioSpectrumDelegate | onRemoteAudioSpectrum |
AgoraChannelMediaRelayConfiguration | removeDestinationInfoForChannelName |
AgoraChannelMediaRelayConfiguration | setDestinationInfo |
AgoraEncodedVideoFrameDelegate | onEncodedVideoFrameReceived |
AgoraLiveTranscoding | addUser |
AgoraLiveTranscoding | defaultTranscoding |
AgoraLiveTranscoding | getAdvancedFeatures |
AgoraLiveTranscoding | removeUser |
AgoraLiveTranscoding | setAdvancedFeatures |
AgoraLocalSpatialAudioKit | destroy |
AgoraLocalSpatialAudioKit | removeRemotePosition |
AgoraLocalSpatialAudioKit | setRemoteAudioAttenuation |
AgoraLocalSpatialAudioKit | sharedLocalSpatialAudioWithConfig |
AgoraLocalSpatialAudioKit | updateRemotePosition |
AgoraMediaMetadataDataSource | metadataMaxSize |
AgoraMediaMetadataDataSource | readyToSendMetadataAtTimestamp |
AgoraMediaMetadataDelegate | didMetadataReceived |
AgoraMediaRecorder | enableMainQueueDispatch |
AgoraMediaRecorder | setMediaRecorderDelegate |
AgoraMediaRecorder | startRecording |
AgoraMediaRecorder | stopRecording |
AgoraMediaRecorderDelegate | mediaRecorder |
AgoraMusicContentCenter | createMusicPlayerWithDelegate |
AgoraMusicContentCenter | destroy |
AgoraMusicContentCenter | destroyMusicPlayer |
AgoraMusicContentCenter | enableMainQueueDispatch |
AgoraMusicContentCenter | getCaches |
AgoraMusicContentCenter | getInternalSongCode |
AgoraMusicContentCenter | getLyricWithSongCode |
AgoraMusicContentCenter | getMusicCharts |
AgoraMusicContentCenter | getMusicCollectionWithMusicChartId |
AgoraMusicContentCenter | getSongSimpleInfoWithSongCode |
AgoraMusicContentCenter | isPreloadedWithSongCode |
AgoraMusicContentCenter | preloadWithSongCode |
AgoraMusicContentCenter | registerEventDelegate |
AgoraMusicContentCenter | removeCacheWithSongCode |
AgoraMusicContentCenter | renewToken |
AgoraMusicContentCenter | searchMusicWithKeyWord |
AgoraMusicContentCenter | sharedContentCenterWithConfig |
AgoraMusicContentCenterEventDelegate | onLyricResult |
AgoraMusicContentCenterEventDelegate | onMusicChartsResult |
AgoraMusicContentCenterEventDelegate | onMusicCollectionResult |
AgoraMusicContentCenterEventDelegate | onPreLoadEvent |
AgoraMusicContentCenterEventDelegate | onSongSimpleInfoResult |
AgoraMusicPlayerProtocol | openMediaWithSongCode |
AgoraMusicPlayerProtocol | setPlayMode |
AgoraRtcEngineDelegate | audioQualityBlock |
AgoraRtcEngineDelegate | onEventWithContext |
AgoraRtcEngineDelegate | onExtensionErrorWithContext |
AgoraRtcEngineDelegate | onExtensionStartedWithContext |
AgoraRtcEngineDelegate | onExtensionStoppedWithContext |
AgoraRtcEngineDelegate | rtcEngine |
AgoraRtcEngineDelegate | rtcEngineCameraDidReady |
AgoraRtcEngineDelegate | rtcEngineConnectionDidBanned |
AgoraRtcEngineDelegate | rtcEngineConnectionDidInterrupted |
AgoraRtcEngineDelegate | rtcEngineConnectionDidLost |
AgoraRtcEngineDelegate | rtcEngineDidAudioEffectFinish |
AgoraRtcEngineDelegate | rtcEngineLocalAudioMixingDidFinish |
AgoraRtcEngineDelegate | rtcEngineRequestToken |
AgoraRtcEngineDelegate | rtcEngineTranscodingUpdated |
AgoraRtcEngineDelegate | rtcEngineVideoDidStop |
AgoraRtcEngineKit | adjustCustomAudioPlayoutVolume |
AgoraRtcEngineKit | adjustCustomAudioPublishVolume |
AgoraRtcEngineKit | createCustomAudioTrack |
AgoraRtcEngineKit | createCustomVideoTrack |
AgoraRtcEngineKit | createMediaPlayerWithDelegate |
AgoraRtcEngineKit | createMediaRecorder |
AgoraRtcEngineKit | createVideoEffectObjectWithBundlePath |
AgoraRtcEngineKit | delegate |
AgoraRtcEngineKit | destroyCustomAudioTrack |
AgoraRtcEngineKit | destroyCustomVideoTrack |
AgoraRtcEngineKit | destroyMediaPlayer |
AgoraRtcEngineKit | destroyMediaRecorder |
AgoraRtcEngineKit | destroyVideoEffectObject |
AgoraRtcEngineKit | enableContentInspect |
AgoraRtcEngineKit | enableCustomAudioLocalPlayback |
AgoraRtcEngineKit | enableExtensionWithVendor |
AgoraRtcEngineKit | getExtensionPropertyWithVendor |
AgoraRtcEngineKit | pauseAllChannelMediaRelay |
AgoraRtcEngineKit | pullPlaybackAudioFrameRawData |
AgoraRtcEngineKit | pullPlaybackAudioFrameSampleBufferByLengthInByte |
AgoraRtcEngineKit | pushExternalAudioFrameRawData |
AgoraRtcEngineKit | pushExternalAudioFrameSampleBuffer |
AgoraRtcEngineKit | pushExternalVideoFrame |
AgoraRtcEngineKit | registerAudioSpectrumDelegate |
AgoraRtcEngineKit | registerExtensionWithVendor |
AgoraRtcEngineKit | resumeAllChannelMediaRelay |
AgoraRtcEngineKit | setAVSyncSource |
AgoraRtcEngineKit | setAudioEncodedFrameDelegate |
AgoraRtcEngineKit | setAudioFrameDelegate |
AgoraRtcEngineKit | setCloudProxy |
AgoraRtcEngineKit | setEncodedVideoFrameDelegate |
AgoraRtcEngineKit | setExtensionPropertyWithVendor |
AgoraRtcEngineKit | setExtensionProviderPropertyWithVendor |
AgoraRtcEngineKit | setExternalVideoSource |
AgoraRtcEngineKit | setMediaMetadataDataSource |
AgoraRtcEngineKit | setMediaMetadataDelegate |
AgoraRtcEngineKit | setSubscribeAudioAllowlist |
AgoraRtcEngineKit | setSubscribeAudioBlocklist |
AgoraRtcEngineKit | setSubscribeVideoAllowlist |
AgoraRtcEngineKit | setSubscribeVideoBlocklist |
AgoraRtcEngineKit | setVideoFrameDelegate |
AgoraRtcEngineKit | startLocalVideoTranscoder |
AgoraRtcEngineKit | startOrUpdateChannelMediaRelay |
AgoraRtcEngineKit | startRtmpStreamWithTranscoding |
AgoraRtcEngineKit | startRtmpStreamWithoutTranscoding |
AgoraRtcEngineKit | stopChannelMediaRelay |
AgoraRtcEngineKit | stopLocalVideoTranscoder |
AgoraRtcEngineKit | stopRtmpStream |
AgoraRtcEngineKit | unregisterAudioSpectrumDelegate |
AgoraRtcEngineKit | updateLocalTranscoderConfiguration |
AgoraRtcEngineKit | updateRtmpTranscoding |
AgoraRtcMediaPlayerAudioFrameDelegate | AgoraRtcMediaPlayer |
AgoraRtcMediaPlayerCacheManagerProtocol | cacheDir |
AgoraRtcMediaPlayerCacheManagerProtocol | cacheFileCount |
AgoraRtcMediaPlayerCacheManagerProtocol | createMediaPlayerCacheManager |
AgoraRtcMediaPlayerCacheManagerProtocol | enableAutoRemoveCache |
AgoraRtcMediaPlayerCacheManagerProtocol | maxCacheFileCount |
AgoraRtcMediaPlayerCacheManagerProtocol | maxCacheFileSize |
AgoraRtcMediaPlayerCacheManagerProtocol | removeAllCaches |
AgoraRtcMediaPlayerCacheManagerProtocol | removeCacheByUri |
AgoraRtcMediaPlayerCacheManagerProtocol | removeOldCache |
AgoraRtcMediaPlayerCacheManagerProtocol | setCacheDir |
AgoraRtcMediaPlayerCacheManagerProtocol | setMaxCacheFileCount |
AgoraRtcMediaPlayerCacheManagerProtocol | setMaxCacheFileSize |
AgoraRtcMediaPlayerCacheManagerProtocol | sharedInstance |
AgoraRtcMediaPlayerProtocol | adjustPlayoutVolume |
AgoraRtcMediaPlayerProtocol | adjustPublishSignalVolume |
AgoraRtcMediaPlayerProtocol | getAudioBufferDelay |
AgoraRtcMediaPlayerProtocol | getDuration |
AgoraRtcMediaPlayerProtocol | getMediaPlayerId |
AgoraRtcMediaPlayerProtocol | getMute |
AgoraRtcMediaPlayerProtocol | getPlaySrc |
AgoraRtcMediaPlayerProtocol | getPlayerState |
AgoraRtcMediaPlayerProtocol | getPlayoutVolume |
AgoraRtcMediaPlayerProtocol | getPosition |
AgoraRtcMediaPlayerProtocol | getPublishSignalVolume |
AgoraRtcMediaPlayerProtocol | getStreamByIndex |
AgoraRtcMediaPlayerProtocol | getStreamCount |
AgoraRtcMediaPlayerProtocol | mute |
AgoraRtcMediaPlayerProtocol | open |
AgoraRtcMediaPlayerProtocol | openWithMediaSource |
AgoraRtcMediaPlayerProtocol | pause |
AgoraRtcMediaPlayerProtocol | play |
AgoraRtcMediaPlayerProtocol | playPreloadedSrc |
AgoraRtcMediaPlayerProtocol | preloadSrc |
AgoraRtcMediaPlayerProtocol | resume |
AgoraRtcMediaPlayerProtocol | seekToPosition |
AgoraRtcMediaPlayerProtocol | selectAudioTrack |
AgoraRtcMediaPlayerProtocol | selectMultiAudioTrack |
AgoraRtcMediaPlayerProtocol | setAudioDualMonoMode |
AgoraRtcMediaPlayerProtocol | setAudioPitch |
AgoraRtcMediaPlayerProtocol | setLoopCount |
AgoraRtcMediaPlayerProtocol | setPlaybackSpeed |
AgoraRtcMediaPlayerProtocol | setPlayerOption |
AgoraRtcMediaPlayerProtocol | setPlayerOptionString |
AgoraRtcMediaPlayerProtocol | setRenderMode |
AgoraRtcMediaPlayerProtocol | setSpatialAudioParams |
AgoraRtcMediaPlayerProtocol | setVideoFrameDelegate |
AgoraRtcMediaPlayerProtocol | setView |
AgoraRtcMediaPlayerProtocol | switchSrc |
AgoraRtcMediaPlayerProtocol | unloadSrc |
AgoraRtcMediaPlayerVideoFrameDelegate | AgoraRtcMediaPlayerGetVideoPixelFormat |
AgoraRte | destroy |
AgoraRte | getConfigs |
AgoraRte | getFromBridge |
AgoraRte | initMediaEngine |
AgoraRte | initWithInitialConfig |
AgoraRte | setConfigs |
AgoraRteCanvas | addView |
AgoraRteCanvas | getConfigs |
AgoraRteCanvas | initWithRte |
AgoraRteCanvas | removeView |
AgoraRteCanvas | setConfigs |
AgoraRteCanvasConfig | setVideoMirrorMode |
AgoraRteCanvasConfig | setVideoRenderMode |
AgoraRteCanvasConfig | videoMirrorMode |
AgoraRteCanvasConfig | videoRenderMode |
AgoraRteConfig | appId |
AgoraRteConfig | jsonParameter |
AgoraRteConfig | setAppId |
AgoraRteConfig | setJsonParameter |
AgoraRteError | code |
AgoraRteError | message |
AgoraRtePlayer | getConfigs |
AgoraRtePlayer | getInfo |
AgoraRtePlayer | getPosition |
AgoraRtePlayer | getStats |
AgoraRtePlayer | initWithRte |
AgoraRtePlayer | muteAudio |
AgoraRtePlayer | muteVideo |
AgoraRtePlayer | openWithUrl |
AgoraRtePlayer | pause |
AgoraRtePlayer | play |
AgoraRtePlayer | preloadWithUrl |
AgoraRtePlayer | registerObserver |
AgoraRtePlayer | seek |
AgoraRtePlayer | setCanvas |
AgoraRtePlayer | setConfigs |
AgoraRtePlayer | stop |
AgoraRtePlayer | switchWithUrl |
AgoraRtePlayer | unregisterObserver |
AgoraRtePlayerConfig | abrFallbackLayer |
AgoraRtePlayerConfig | abrSubscriptionLayer |
AgoraRtePlayerConfig | autoPlay |
AgoraRtePlayerConfig | loopCount |
AgoraRtePlayerConfig | playbackSpeed |
AgoraRtePlayerConfig | playoutVolume |
AgoraRtePlayerConfig | setAbrFallbackLayer |
AgoraRtePlayerConfig | setAbrSubscriptionLayer |
AgoraRtePlayerConfig | setAutoPlay |
AgoraRtePlayerConfig | setLoopCount |
AgoraRtePlayerConfig | setPlaybackSpeed |
AgoraRtePlayerConfig | setPlayoutVolume |
AgoraRtePlayerObserver | onAudioVolumeIndication |
AgoraRtePlayerObserver | onEvent |
AgoraRtePlayerObserver | onMetadata |
AgoraRtePlayerObserver | onPlayerInfoUpdated |
AgoraRtePlayerObserver | onPositionChanged |
AgoraRtePlayerObserver | onResolutionChanged |
AgoraRtePlayerObserver | onStateChanged |
AgoraSpatialAudioKitBase | muteAllRemoteAudioStreams |
AgoraSpatialAudioKitBase | muteLocalAudioStream |
AgoraSpatialAudioKitBase | muteRemoteAudioStream |
AgoraSpatialAudioKitBase | setAudioRecvRange |
AgoraSpatialAudioKitBase | setDistanceUnit |
AgoraSpatialAudioKitBase | setMaxAudioRecvCount |
AgoraSpatialAudioKitBase | setPlayerAttenuation |
AgoraSpatialAudioKitBase | setZones |
AgoraSpatialAudioKitBase | updatePlayerPositionInfo |
AgoraSpatialAudioKitBase | updateSelfPosition |
AgoraSpatialAudioKitBase | updateSelfTransform |
AgoraVideoEffectObject | addOrUpdateVideoEffectWithNodeId |
AgoraVideoEffectObject | getVideoEffectBoolParamWithOption |
AgoraVideoEffectObject | getVideoEffectFloatParamWithOption |
AgoraVideoEffectObject | getVideoEffectIntParamWithOption |
AgoraVideoEffectObject | performVideoEffectActionWithNodeId |
AgoraVideoEffectObject | removeVideoEffectWithNodeId |
AgoraVideoEffectObject | setVideoEffectBoolParamWithOption |
AgoraVideoEffectObject | setVideoEffectFloatParamWithOption |
AgoraVideoEffectObject | setVideoEffectIntParamWithOption |
AgoraVideoEffectObject | setVideoEffectStringParamWithOption |
AgoraVideoEncoderConfiguration | initWithSize |
AgoraVideoEncoderConfiguration | initWithWidth |
AgoraVideoFrameDelegate | getMirrorApplied |
AgoraVideoFrameDelegate | getObservedFramePosition |
AgoraVideoFrameDelegate | getRotationApplied |
AgoraVideoFrameDelegate | getVideoFormatPreference |
AgoraVideoFrameDelegate | getVideoFrameProcessMode |
AgoraVideoFrameDelegate | onCaptureVideoFrame |
AgoraVideoFrameDelegate | onPreEncodeVideoFrame |
AgoraVideoFrameDelegate | onRenderVideoFrame |
__unattributed__ | enableContentInspectEx |
__unattributed__ | joinChannelExByToken |
__unattributed__ | leaveChannelEx |
__unattributed__ | pauseAllChannelMediaRelayEx |
__unattributed__ | resumeAllChannelMediaRelayEx |
__unattributed__ | setSubscribeAudioAllowlistEx |
__unattributed__ | setSubscribeAudioBlocklistEx |
__unattributed__ | setSubscribeVideoAllowlistEx |
__unattributed__ | setSubscribeVideoBlocklistEx |
__unattributed__ | startOrUpdateChannelMediaRelayEx |
__unattributed__ | startRtmpStreamWithTranscodingEx |
__unattributed__ | startRtmpStreamWithoutTranscodingEx |
__unattributed__ | stopChannelMediaRelayEx |
__unattributed__ | stopRtmpStreamEx |
__unattributed__ | updateRtmpTranscodingEx |