类 | |
struct | AliRtcRecordAudioConfig |
struct | AliRtcRecordVideoConfig |
class | AliRtcBeautyConfig |
struct | AliRtcStats |
class | AliRtcLocalVideoStats |
class | AliRtcRemoteVideoStats |
class | AliRtcLocalAudioStats |
class | AliRtcRemoteAudioStats |
class | AliRtcUserVolumeInfo |
class | AliRtcAuthInfo |
class | AliVideoCanvas |
class | AliRtcWatermarkConfig |
class | AliRtcAudioDataSample |
class | AliRtcVideoDataSample |
class | AliRtcChannelRelayConfiguration |
class | AliRtcCameraCapturerConfiguration |
class | AliRtcLiveTranscodingImage |
class | AliRtcLiveTranscodingText |
class | AliRtcLiveTranscodingPane |
class | AliRtcLiveTranscodingClockWidget |
class | AliRtcLiveTranscodingEncodeParam |
class | AliRtcLiveTranscodingSingleParam |
class | AliRtcLiveTranscodingMixParam |
class | AliRtcLiveTranscodingParam |
class | AliRtcVideoEncoderConfiguration |
class | AliRtcScreenShareEncoderConfiguration |
class | AliRtcVideoExternalEncoderParameter |
AliRTC功能的插件扩展
struct AliRtcRecordAudioConfig |
Public 属性 | |
AliRtcAudioSampleRate | sampleRate |
AliRtcAudioQuality | quality |
bool | enableRecordExternalRenderPCM |
bool | enableRecordExternalCapturePCM |
AliRtcAudioSampleRate AliRtcRecordAudioConfig::sampleRate |
音频采样率类型
音频采样率类型
AliRtcAudioQuality AliRtcRecordAudioConfig::quality |
音频录制质量
音频录制质量
bool AliRtcRecordAudioConfig::enableRecordExternalRenderPCM |
是否允许录制外部pcm输入渲染数据
是否允许录制外部pcm输入渲染数据
struct AliRtcRecordVideoConfig |
Public 属性 | |
AliRtcVideoQuality | quality |
AliRtcRecordType | sourceType |
AliRtcRecordVideoCanvasConfig | canvas |
int | fps |
int | bitrate |
AliRtcVideoQuality AliRtcRecordVideoConfig::quality |
视频质量
视频质量
class AliRtcBeautyConfig |
继承自 NSObject , 以及 NSObject .
属性 | |
float | whiteningLevel |
float | smoothnessLevel |
|
readwritenonatomicassign |
美白等级,建议取值范围[0-1.0]
美白等级,建议取值范围[0-1.0]
|
readwritenonatomicassign |
磨皮等级,建议取值范围[0-1.0]
磨皮等级,建议取值范围[0-1.0]
struct AliRtcStats |
Public 属性 | |
long long | available_sent_kbitrate |
long long | sent_kbitrate |
long long | rcvd_kbitrate |
long long | sent_bytes |
long long | rcvd_bytes |
long long | video_rcvd_kbitrate |
long long | video_sent_kbitrate |
long long | call_duration |
float | cpu_usage |
float | systemCpuUsage |
long long | sent_loss_rate |
long long | sent_loss_pkts |
long long | sent_expected_pkts |
long long | rcvd_loss_rate |
long long | rcvd_loss_pkts |
long long | rcvd_expected_pkts |
long long | lastmile_delay |
long long AliRtcStats::available_sent_kbitrate |
可用带宽(kb)
可用带宽(kb)
long long AliRtcStats::sent_kbitrate |
总发送码率(kb)
总发送码率(kb)
long long AliRtcStats::rcvd_kbitrate |
总接收码率(kb)
总接收码率(kb)
long long AliRtcStats::sent_bytes |
总发送数据量(bytes)
总发送数据量(bytes)
long long AliRtcStats::rcvd_bytes |
总接收数据量(bytes)
总接收数据量(bytes)
long long AliRtcStats::video_rcvd_kbitrate |
视频接受码率(kb)
视频接受码率(kb)
long long AliRtcStats::video_sent_kbitrate |
视频发送码率(kb)
视频发送码率(kb)
long long AliRtcStats::call_duration |
通话时长(s)
通话时长(s)
float AliRtcStats::cpu_usage |
进程CPU使用量(%)
进程CPU使用量(%)
float AliRtcStats::systemCpuUsage |
系统CPU使用量(%)
系统CPU使用量(%)
long long AliRtcStats::sent_loss_rate |
客户端到服务器的丢包率(%)
客户端到服务器的丢包率(%)
long long AliRtcStats::sent_loss_pkts |
客户端到服务器的丢包数
客户端到服务器的丢包数
long long AliRtcStats::sent_expected_pkts |
客户端到服务器的总包数
客户端到服务器的总包数
long long AliRtcStats::rcvd_loss_rate |
服务器到客户端的下行丢包率()
服务器到客户端的下行丢包率()
long long AliRtcStats::rcvd_loss_pkts |
服务器到客户端的下行丢包数
服务器到客户端的下行丢包数
long long AliRtcStats::rcvd_expected_pkts |
服务器到客户端的下行总包数
服务器到客户端的下行总包数
long long AliRtcStats::lastmile_delay |
客户端到服务器的延迟(ms)
客户端到服务器的延迟(ms)
class AliRtcLocalVideoStats |
继承自 NSObject , 以及 NSObject .
属性 | |
AliRtcVideoTrack | track |
unsigned int | target_encode_bitrate |
unsigned int | actual_encode_bitrate |
unsigned int | sent_bitrate |
unsigned int | capture_fps |
unsigned int | sent_fps |
unsigned int | encode_fps |
unsigned int | avg_qp |
|
readwritenonatomicassign |
视频流track类型
|
readwritenonatomicassign |
目标编码码率
|
readwritenonatomicassign |
实际编码码率
|
readwritenonatomicassign |
发送码率
|
readwritenonatomicassign |
采集帧率
|
readwritenonatomicassign |
发送帧率
|
readwritenonatomicassign |
编码帧率
|
readwritenonatomicassign |
每秒平均QP
class AliRtcRemoteVideoStats |
继承自 NSObject , 以及 NSObject .
属性 | |
NSString *_Nonnull | userId |
AliRtcVideoTrack | track |
unsigned int | width |
unsigned int | height |
unsigned int | decode_fps |
unsigned int | render_fps |
unsigned int | frozen_times |
|
readwritenonatomiccopy |
远端用户userID
|
readwritenonatomicassign |
视频流track类型
|
readwritenonatomicassign |
宽度
|
readwritenonatomicassign |
height
|
readwritenonatomicassign |
解码帧率
|
readwritenonatomicassign |
渲染帧率
|
readwritenonatomicassign |
卡顿次数
class AliRtcLocalAudioStats |
继承自 NSObject , 以及 NSObject .
属性 | |
AliRtcAudioTrack | track |
unsigned int | num_channel |
unsigned int | sent_samplerate |
unsigned int | sent_bitrate |
|
readwritenonatomicassign |
音频流track类型
|
readwritenonatomicassign |
声道数
|
readwritenonatomicassign |
采样率
|
readwritenonatomicassign |
发送端音频的瞬时码率(Kbps)
class AliRtcRemoteAudioStats |
音频统计信息
继承自 NSObject , 以及 NSObject .
属性 | |
NSString *_Nonnull | userId |
AliRtcAudioTrack | track |
unsigned int | quality |
unsigned int | audio_loss_rate |
unsigned int | rcvd_bitrate |
unsigned int | total_frozen_times |
unsigned int | network_transport_delay |
unsigned int | jitter_buffer_delay |
|
readwritenonatomiccopy |
远端用户ID
|
readwritenonatomicassign |
音频流track类型
|
readwritenonatomicassign |
远端用户发送的音频流质量, 具体类型参看 AliRtcTranportAudioQuality
|
readwritenonatomicassign |
回调周期内的音频丢帧率
|
readwritenonatomicassign |
接收流的瞬时码率(Kbps)
|
readwritenonatomicassign |
远端用户加入频道后音频卡顿的累计时长 (ms)
|
readwritenonatomicassign |
发送端到接收端的网络延时(ms)
|
readwritenonatomicassign |
接受端到网络抖动缓存的网络延时(ms)
class AliRtcUserVolumeInfo |
继承自 NSObject , 以及 NSObject .
属性 | |
NSString *_Nonnull | uid |
BOOL | speech_state |
int | volume |
|
readwritenonatomiccopy |
发言人的用户ID
发言人的用户ID
|
readwritenonatomicassign |
发言状态,YES:正在说话,NO:没有说话
发言状态,YES:正在说话,NO:没有说话
|
readwritenonatomicassign |
音量值,取值范围[0,255]
音量值,取值范围[0,255]
class AliRtcAuthInfo |
入会鉴权参数
继承自 NSObject , 以及 NSObject .
class AliVideoCanvas |
继承自 NSObject , 以及 NSObject .
属性 | |
UIView *_Nonnull | view |
AliRtcRenderMode | renderMode |
AliRtcRenderMirrorMode | mirrorMode |
int | backgroundColor |
AliRtcRotationMode | rotationMode |
NSView *_Nonnull | view |
AliRtcRotationMode | rotation |
|
readwritenonatomicstrong |
显示视图
|
readwritenonatomicassign |
渲染模式,默认值为 AliRtcRenderModeAuto
渲染模式,默认值为 AliRtcRenderModeAuto
|
readwritenonatomicassign |
镜像模式,默认值为 AliRtcRenderMirrorModeAllDisabled
镜像模式,默认值为 AliRtcRenderMirrorModeAllDisabled
|
readwritenonatomicassign |
背景颜色,格式为RGB的Hex
背景颜色,格式为RGB的Hex
|
readwritenonatomicassign |
旋转角度,默认值为 AliRtcRotationMode_0
class AliRtcWatermarkConfig |
继承自 NSObject , 以及 NSObject .
属性 | |
BOOL | visibleInPreview |
CGRect | positionInPortraitMode |
CGRect | positionInLandscapeMode |
float | alpha |
BOOL | normalized |
NSRect | positionInPortraitMode |
NSRect | positionInLandscapeMode |
|
readwritenonatomicassign |
预览水印是否可见
预览水印是否可见
|
readwritenonatomicassign |
竖屏水印坐标信息
|
readwritenonatomicassign |
横屏水印坐标信息
|
readwritenonatomicassign |
水印透明度
水印透明度
|
readwritenonatomicassign |
归一化
归一化
class AliRtcAudioDataSample |
class AliRtcVideoDataSample |
继承自 NSObject , 以及 NSObject .
属性 | |
AliRtcVideoFormat | format |
AliRtcBufferType | type |
CVPixelBufferRef _Nullable | pixelBuffer |
long | dataPtr |
long | dataYPtr |
long | dataUPtr |
long | dataVPtr |
long | dataLength |
int | strideY |
int | strideU |
int | strideV |
int | stride |
int | height |
int | width |
int | rotation |
long long | timeStamp |
class AliRtcChannelRelayConfiguration |
继承自 NSObject , 以及 NSObject .
构造函数 | |
(void) | - addDestChannelInfoWithChannelId:authInfo: |
(void) | - removeDestChannelInfo: |
(void) | - removeAllDestChannelInfo |
(void) | - addDestChannelInfoWithChannelId:authInfo: |
(void) | - removeDestChannelInfo: |
(void) | - removeAllDestChannelInfo |
属性 | |
NSDictionary< NSString *, AliRtcAuthInfo * > *_Nullable | destChannelInfos |
NSDictionary< NSString *, AliRtcAuthInfo * > * | destChannelInfos |
class AliRtcMessage |
class AliRtcMessageResponse |
class AliRtcCameraCapturerConfiguration |
继承自 NSObject , 以及 NSObject .
属性 | |
AliRtcCaptureOutputPreference | preference |
AliRtcCameraDirection | cameraDirection |
class AliRtcLiveTranscodingImage |
class AliRtcLiveTranscodingText |
class AliRtcLiveTranscodingPane |
继承自 NSObject , 以及 NSObject .
属性 | |
int | x |
int | y |
int | width |
int | height |
int | zOrder |
NSString *_Nonnull | userId |
AliRtcLiveTranscodingSourceType | sourceType |
AliRtcLiveTranscodingSegmentType | segmentType |
NSArray< AliRtcLiveTranscodingImage * > *_Nullable | images |
NSArray< AliRtcLiveTranscodingText * > *_Nullable | texts |
class AliRtcLiveTranscodingClockWidget |
class AliRtcLiveTranscodingEncodeParam |
继承自 NSObject , 以及 NSObject .
属性 | |
int | videoWidth |
int | videoHeight |
int | videoFramerate |
int | videoBitrate |
int | videoGop |
AliRtcLiveTranscodingAudioSampleRate | audioSamplerate |
int | audioBitrate |
int | audioChannels |
class AliRtcLiveTranscodingSingleParam |
继承自 NSObject , 以及 NSObject .
属性 | |
NSString *_Nullable | userId |
AliRtcLiveTranscodingStreamType | streamType |
AliRtcLiveTranscodingSourceType | sourceType |
|
readwritenonatomiccopy |
用户id
用户id
|
readwritenonatomicassign |
推流模式
推流模式
|
readwritenonatomicassign |
旁路直播输入类型
旁路直播输入类型
class AliRtcLiveTranscodingMixParam |
继承自 NSObject , 以及 NSObject .
属性 | |
AliRtcLiveTranscodingTaskProfile | taskProfile |
AliRtcLiveTranscodingEncodeParam *_Nullable | encodeParam |
NSArray< AliRtcLiveTranscodingPane * > *_Nullable | users |
int | backgroundColor |
NSArray< AliRtcLiveTranscodingImage * > *_Nullable | backgrounds |
NSArray< AliRtcLiveTranscodingImage * > *_Nullable | watermarks |
NSArray< AliRtcLiveTranscodingClockWidget * > *_Nullable | clockWidgets |
AliRtcLiveTranscodingCropMode | cropMode |
AliRtcLiveTranscodingMediaProcessMode | mediaProcessMode |
|
readwritenonatomicassign |
旁路直播计费规格
旁路直播计费规格
|
readwritenonatomicstrong |
旁路直播自定义编码参数
旁路直播自定义编码参数
|
readwritenonatomicstrong |
旁路直播用户列表
旁路直播用户列表
|
readwritenonatomicassign |
背景色
背景色
|
readwritenonatomicstrong |
背景图片列表
背景图片列表
|
readwritenonatomicstrong |
水印列表
水印列表
|
readwritenonatomicstrong |
时钟组件列表
时钟组件列表
|
readwritenonatomicassign |
剪裁模式
剪裁模式
|
readwritenonatomicassign |
媒体处理模式
媒体处理模式
class AliRtcLiveTranscodingParam |
继承自 NSObject , 以及 NSObject .
属性 | |
AliRtcLiveTranscodingMixMode | mixMode |
AliRtcLiveTranscodingSingleParam *_Nullable | singleParam |
AliRtcLiveTranscodingMixParam *_Nullable | mixParam |
|
readwritenonatomicassign |
旁路模式
旁路模式
|
readwritenonatomicstrong |
路模式单路参数
路模式单路参数
|
readwritenonatomicstrong |
旁路模式混流参数
旁路模式混流参数
class AliRtcVideoEncoderConfiguration |
继承自 NSObject , 以及 NSObject .
属性 | |
CGSize | dimensions |
NSInteger | frameRate |
NSInteger | bitrate |
AliRtcVideoEncoderMirrorMode | mirrorMode |
AliRtcVideoEncoderOrientationMode | orientationMode |
AliRtcRotationMode | rotationMode |
AliRtcRotationMode | rotation |
|
readwritenonatomicassign |
视频分辨率,默认值640x480,最大值1920x1080
视频分辨率,默认值640x480,最大值1920x1080
|
readwritenonatomicassign |
视频帧率,默认值15, 最大值30
视频帧率,默认值15, 最大值30
|
readwritenonatomicassign |
视频编码码率(Kbps)
视频编码码率(Kbps)
分辨率 | 帧率(fps) | 最小码率 (Kbps) | 推荐码率(Kbps) | 最大码率(Kbps) |
---|---|---|---|---|
120 * 120 | 5 | 10 | 25 | 75 |
120 * 120 | 10 | 17 | 50 | 150 |
120 * 120 | 15 | 25 | 70 | 210 |
120 * 120 | 20 | 34 | 90 | 270 |
120 * 120 | 30 | 50 | 115 | 345 |
160 * 120 | 5 | 10 | 30 | 90 |
160 * 120 | 10 | 20 | 55 | 165 |
160 * 120 | 15 | 30 | 80 | 240 |
160 * 120 | 20 | 40 | 100 | 300 |
160 * 120 | 30 | 60 | 130 | 390 |
180 * 180 | 5 | 10 | 50 | 150 |
180 * 180 | 10 | 17 | 70 | 210 |
180 * 180 | 15 | 26 | 100 | 300 |
180 * 180 | 20 | 34 | 130 | 390 |
180 * 180 | 30 | 51 | 180 | 540 |
240 * 180 | 5 | 15 | 60 | 180 |
240 * 180 | 10 | 30 | 90 | 270 |
240 * 180 | 15 | 45 | 130 | 390 |
240 * 180 | 20 | 60 | 165 | 495 |
240 * 180 | 30 | 90 | 230 | 690 |
320 * 180 | 5 | 15 | 65 | 195 |
320 * 180 | 10 | 30 | 110 | 330 |
320 * 180 | 15 | 45 | 170 | 510 |
320 * 180 | 20 | 60 | 220 | 660 |
320 * 180 | 30 | 90 | 300 | 900 |
240 * 240 | 5 | 15 | 70 | 140 |
240 * 240 | 10 | 30 | 100 | 200 |
240 * 240 | 15 | 45 | 150 | 300 |
240 * 240 | 20 | 60 | 200 | 400 |
240 * 240 | 30 | 90 | 256 | 512 |
320 * 240 | 5 | 20 | 100 | 200 |
320 * 240 | 10 | 40 | 170 | 340 |
320 * 240 | 15 | 60 | 256 | 512 |
320 * 240 | 20 | 80 | 320 | 640 |
320 * 240 | 30 | 120 | 400 | 800 |
424 * 240 | 5 | 26 | 100 | 200 |
424 * 240 | 10 | 53 | 170 | 340 |
424 * 240 | 15 | 79 | 260 | 520 |
424 * 240 | 20 | 105 | 340 | 680 |
424 * 240 | 30 | 158 | 430 | 860 |
360 * 360 | 5 | 30 | 120 | 240 |
360 * 360 | 10 | 60 | 180 | 360 |
360 * 360 | 15 | 90 | 260 | 520 |
360 * 360 | 20 | 120 | 330 | 660 |
360 * 360 | 30 | 180 | 400 | 800 |
480 * 360 | 5 | 40 | 150 | 300 |
480 * 360 | 10 | 80 | 240 | 480 |
480 * 360 | 15 | 120 | 350 | 700 |
480 * 360 | 20 | 160 | 430 | 860 |
480 * 360 | 30 | 240 | 512 | 1024 |
640 * 360 | 5 | 83 | 200 | 400 |
640 * 360 | 10 | 165 | 340 | 680 |
640 * 360 | 15 | 248 | 512 | 1024 |
640 * 360 | 20 | 330 | 600 | 1200 |
640 * 360 | 30 | 495 | 700 | 1400 |
480 * 480 | 5 | 83 | 170 | 340 |
480 * 480 | 10 | 165 | 260 | 520 |
480 * 480 | 15 | 248 | 400 | 800 |
480 * 480 | 20 | 330 | 470 | 940 |
480 * 480 | 30 | 495 | 600 | 1200 |
640 * 480 | 5 | 110 | 200 | 400 |
640 * 480 | 10 | 220 | 350 | 700 |
640 * 480 | 15 | 330 | 512 | 1024 |
640 * 480 | 20 | 440 | 600 | 1200 |
640 * 480 | 30 | 660 | 700 | 1400 |
840 * 480 | 5 | 180 | 256 | 512 |
840 * 480 | 10 | 360 | 512 | 1024 |
840 * 480 | 15 | 540 | 610 | 1220 |
840 * 480 | 20 | 720 | 800 | 1600 |
840 * 480 | 30 | 1080 | 930 | 1860 |
960 * 720 | 5 | 250 | 250 | 600 |
960 * 720 | 10 | 500 | 500 | 750 |
960 * 720 | 15 | 750 | 750 | 1125 |
960 * 720 | 20 | 1000 | 1000 | 1500 |
960 * 720 | 30 | 1500 | 1500 | 2250 |
1280 * 720 | 5 | 400 | 400 | 600 |
1280 * 720 | 10 | 800 | 800 | 1200 |
1280 * 720 | 15 | 1200 | 1200 | 1800 |
1280 * 720 | 20 | 1600 | 1600 | 2400 |
1280 * 720 | 30 | 2400 | 2400 | 3600 |
1920 * 1080 | 5 | 500 | 500 | 750 |
1920 * 1080 | 10 | 1000 | 1000 | 1500 |
1920 * 1080 | 15 | 1500 | 1500 | 2250 |
1920 * 1080 | 20 | 2000 | 2000 | 3000 |
1920 * 1080 | 30 | 3000 | 3000 | 4500 |
2560 * 1440 | 5 | 800 | 800 | 1200 |
2560 * 1440 | 10 | 1600 | 1600 | 2400 |
2560 * 1440 | 15 | 2400 | 2400 | 3600 |
2560 * 1440 | 20 | 3200 | 3200 | 4800 |
2560 * 1440 | 30 | 4800 | 4800 | 7200 |
3840 * 2160 | 5 | 1000 | 1000 | 1500 |
3840 * 2160 | 10 | 2000 | 2000 | 3000 |
3840 * 2160 | 15 | 3000 | 3000 | 4500 |
3840 * 2160 | 20 | 4000 | 4000 | 6000 |
3840 * 2160 | 30 | 6000 | 6000 | 9000 |
分辨率 | 帧率(fps) | 最小码率 (Kbps) | 推荐码率(Kbps) | 最大码率(Kbps) |
---|---|---|---|---|
120 * 120 | 5 | 10 | 25 | 75 |
120 * 120 | 10 | 17 | 50 | 150 |
120 * 120 | 15 | 25 | 70 | 210 |
120 * 120 | 20 | 34 | 90 | 270 |
120 * 120 | 30 | 50 | 115 | 345 |
160 * 120 | 5 | 10 | 30 | 90 |
160 * 120 | 10 | 20 | 55 | 165 |
160 * 120 | 15 | 30 | 80 | 240 |
160 * 120 | 20 | 40 | 100 | 300 |
160 * 120 | 30 | 60 | 130 | 390 |
180 * 180 | 5 | 10 | 50 | 150 |
180 * 180 | 10 | 17 | 70 | 210 |
180 * 180 | 15 | 26 | 100 | 300 |
180 * 180 | 20 | 34 | 130 | 390 |
180 * 180 | 30 | 51 | 180 | 540 |
240 * 180 | 5 | 15 | 60 | 180 |
240 * 180 | 10 | 30 | 90 | 270 |
240 * 180 | 15 | 45 | 130 | 390 |
240 * 180 | 20 | 60 | 165 | 495 |
240 * 180 | 30 | 90 | 230 | 690 |
320 * 180 | 5 | 15 | 65 | 195 |
320 * 180 | 10 | 30 | 110 | 330 |
320 * 180 | 15 | 45 | 170 | 510 |
320 * 180 | 20 | 60 | 220 | 660 |
320 * 180 | 30 | 90 | 300 | 900 |
240 * 240 | 5 | 15 | 70 | 140 |
240 * 240 | 10 | 30 | 100 | 200 |
240 * 240 | 15 | 45 | 150 | 300 |
240 * 240 | 20 | 60 | 200 | 400 |
240 * 240 | 30 | 90 | 256 | 512 |
320 * 240 | 5 | 20 | 100 | 200 |
320 * 240 | 10 | 40 | 170 | 340 |
320 * 240 | 15 | 60 | 256 | 512 |
320 * 240 | 20 | 80 | 320 | 640 |
320 * 240 | 30 | 120 | 400 | 800 |
424 * 240 | 5 | 26 | 100 | 200 |
424 * 240 | 10 | 53 | 170 | 340 |
424 * 240 | 15 | 79 | 260 | 520 |
424 * 240 | 20 | 105 | 340 | 680 |
424 * 240 | 30 | 158 | 430 | 860 |
360 * 360 | 5 | 30 | 120 | 240 |
360 * 360 | 10 | 60 | 180 | 360 |
360 * 360 | 15 | 90 | 260 | 520 |
360 * 360 | 20 | 120 | 330 | 660 |
360 * 360 | 30 | 180 | 400 | 800 |
480 * 360 | 5 | 40 | 150 | 300 |
480 * 360 | 10 | 80 | 240 | 480 |
480 * 360 | 15 | 120 | 350 | 700 |
480 * 360 | 20 | 160 | 430 | 860 |
480 * 360 | 30 | 240 | 512 | 1024 |
640 * 360 | 5 | 83 | 200 | 400 |
640 * 360 | 10 | 165 | 340 | 680 |
640 * 360 | 15 | 248 | 512 | 1024 |
640 * 360 | 20 | 330 | 600 | 1200 |
640 * 360 | 30 | 495 | 700 | 1400 |
480 * 480 | 5 | 83 | 170 | 340 |
480 * 480 | 10 | 165 | 260 | 520 |
480 * 480 | 15 | 248 | 400 | 800 |
480 * 480 | 20 | 330 | 470 | 940 |
480 * 480 | 30 | 495 | 600 | 1200 |
640 * 480 | 5 | 110 | 200 | 400 |
640 * 480 | 10 | 220 | 350 | 700 |
640 * 480 | 15 | 330 | 512 | 1024 |
640 * 480 | 20 | 440 | 600 | 1200 |
640 * 480 | 30 | 660 | 700 | 1400 |
840 * 480 | 5 | 180 | 256 | 512 |
840 * 480 | 10 | 360 | 512 | 1024 |
840 * 480 | 15 | 540 | 610 | 1220 |
840 * 480 | 20 | 720 | 800 | 1600 |
840 * 480 | 30 | 1080 | 930 | 1860 |
960 * 720 | 5 | 250 | 250 | 600 |
960 * 720 | 10 | 500 | 500 | 750 |
960 * 720 | 15 | 750 | 750 | 1125 |
960 * 720 | 20 | 1000 | 1000 | 1500 |
960 * 720 | 30 | 1500 | 1500 | 2250 |
1280 * 720 | 5 | 400 | 400 | 600 |
1280 * 720 | 10 | 800 | 800 | 1200 |
1280 * 720 | 15 | 1200 | 1200 | 1800 |
1280 * 720 | 20 | 1600 | 1600 | 2400 |
1280 * 720 | 30 | 2400 | 2400 | 3600 |
1920 * 1080 | 5 | 500 | 500 | 750 |
1920 * 1080 | 10 | 1000 | 1000 | 1500 |
1920 * 1080 | 15 | 1500 | 1500 | 2250 |
1920 * 1080 | 20 | 2000 | 2000 | 3000 |
1920 * 1080 | 30 | 3000 | 3000 | 4500 |
2560 * 1440 | 5 | 800 | 800 | 1200 |
2560 * 1440 | 10 | 1600 | 1600 | 2400 |
2560 * 1440 | 15 | 2400 | 2400 | 3600 |
2560 * 1440 | 20 | 3200 | 3200 | 4800 |
2560 * 1440 | 30 | 4800 | 4800 | 7200 |
3840 * 2160 | 5 | 1000 | 1000 | 1500 |
3840 * 2160 | 10 | 2000 | 2000 | 3000 |
3840 * 2160 | 15 | 3000 | 3000 | 4500 |
3840 * 2160 | 20 | 4000 | 4000 | 6000 |
3840 * 2160 | 30 | 6000 | 6000 | 9000 |
|
readwritenonatomicassign |
推流镜像,默认AliRtcVideoEncoderMirrorModeDisabled,详见 AliRtcVideoEncoderMirrorMode
推流镜像,默认AliRtcVideoEncoderMirrorModeDisabled,详见 AliRtcVideoEncoderMirrorMode
|
readwritenonatomicassign |
视频输出方向,默认AliRtcVideoEncoderOrientationModeAdaptive,详见 AliRtcVideoEncoderOrientationMode
视频输出方向,默认AliRtcVideoEncoderOrientationModeAdaptive,详见 AliRtcVideoEncoderOrientationMode
|
readwritenonatomicassign |
推流旋转,默认AliRtcRotationMode_0,详见 AliRtcRotationMode
class AliRtcScreenShareEncoderConfiguration |
继承自 NSObject , 以及 NSObject .
属性 | |
CGSize | dimensions |
NSInteger | frameRate |
NSInteger | bitrate |
AliRtcRotationMode | rotationMode |
AliRtcRotationMode | rotation |
|
readwritenonatomicassign |
视频分辨率,默认值0x0,最大值3840x2160
视频分辨率,默认值0x0,最大值3840x2160
|
readwritenonatomicassign |
视频帧率,默认值5, 最大值30
视频帧率,默认值5, 最大值30
|
readwritenonatomicassign |
视频编码码率(Kbps)
视频编码码率(Kbps)
分辨率 | 帧率(fps) | 最小码率 (Kbps) | 推荐码率(Kbps) | 最大码率(Kbps) |
---|---|---|---|---|
120 * 120 | 5 | 10 | 25 | 75 |
120 * 120 | 10 | 17 | 50 | 150 |
120 * 120 | 15 | 25 | 70 | 210 |
120 * 120 | 20 | 34 | 90 | 270 |
120 * 120 | 30 | 50 | 115 | 345 |
160 * 120 | 5 | 10 | 30 | 90 |
160 * 120 | 10 | 20 | 55 | 165 |
160 * 120 | 15 | 30 | 80 | 240 |
160 * 120 | 20 | 40 | 100 | 300 |
160 * 120 | 30 | 60 | 130 | 390 |
180 * 180 | 5 | 10 | 50 | 150 |
180 * 180 | 10 | 17 | 70 | 210 |
180 * 180 | 15 | 26 | 100 | 300 |
180 * 180 | 20 | 34 | 130 | 390 |
180 * 180 | 30 | 51 | 180 | 540 |
240 * 180 | 5 | 15 | 60 | 180 |
240 * 180 | 10 | 30 | 90 | 270 |
240 * 180 | 15 | 45 | 130 | 390 |
240 * 180 | 20 | 60 | 165 | 495 |
240 * 180 | 30 | 90 | 230 | 690 |
320 * 180 | 5 | 15 | 65 | 195 |
320 * 180 | 10 | 30 | 110 | 330 |
320 * 180 | 15 | 45 | 170 | 510 |
320 * 180 | 20 | 60 | 220 | 660 |
320 * 180 | 30 | 90 | 300 | 900 |
240 * 240 | 5 | 15 | 70 | 140 |
240 * 240 | 10 | 30 | 100 | 200 |
240 * 240 | 15 | 45 | 150 | 300 |
240 * 240 | 20 | 60 | 200 | 400 |
240 * 240 | 30 | 90 | 256 | 512 |
320 * 240 | 5 | 20 | 100 | 200 |
320 * 240 | 10 | 40 | 170 | 340 |
320 * 240 | 15 | 60 | 256 | 512 |
320 * 240 | 20 | 80 | 320 | 640 |
320 * 240 | 30 | 120 | 400 | 800 |
424 * 240 | 5 | 26 | 100 | 200 |
424 * 240 | 10 | 53 | 170 | 340 |
424 * 240 | 15 | 79 | 260 | 520 |
424 * 240 | 20 | 105 | 340 | 680 |
424 * 240 | 30 | 158 | 430 | 860 |
360 * 360 | 5 | 30 | 120 | 240 |
360 * 360 | 10 | 60 | 180 | 360 |
360 * 360 | 15 | 90 | 260 | 520 |
360 * 360 | 20 | 120 | 330 | 660 |
360 * 360 | 30 | 180 | 400 | 800 |
480 * 360 | 5 | 40 | 150 | 300 |
480 * 360 | 10 | 80 | 240 | 480 |
480 * 360 | 15 | 120 | 350 | 700 |
480 * 360 | 20 | 160 | 430 | 860 |
480 * 360 | 30 | 240 | 512 | 1024 |
640 * 360 | 5 | 83 | 200 | 400 |
640 * 360 | 10 | 165 | 340 | 680 |
640 * 360 | 15 | 248 | 512 | 1024 |
640 * 360 | 20 | 330 | 600 | 1200 |
640 * 360 | 30 | 495 | 700 | 1400 |
480 * 480 | 5 | 83 | 170 | 340 |
480 * 480 | 10 | 165 | 260 | 520 |
480 * 480 | 15 | 248 | 400 | 800 |
480 * 480 | 20 | 330 | 470 | 940 |
480 * 480 | 30 | 495 | 600 | 1200 |
640 * 480 | 5 | 110 | 200 | 400 |
640 * 480 | 10 | 220 | 350 | 700 |
640 * 480 | 15 | 330 | 512 | 1024 |
640 * 480 | 20 | 440 | 600 | 1200 |
640 * 480 | 30 | 660 | 700 | 1400 |
840 * 480 | 5 | 180 | 256 | 512 |
840 * 480 | 10 | 360 | 512 | 1024 |
840 * 480 | 15 | 540 | 610 | 1220 |
840 * 480 | 20 | 720 | 800 | 1600 |
840 * 480 | 30 | 1080 | 930 | 1860 |
960 * 720 | 5 | 250 | 250 | 600 |
960 * 720 | 10 | 500 | 500 | 750 |
960 * 720 | 15 | 750 | 750 | 1125 |
960 * 720 | 20 | 1000 | 1000 | 1500 |
960 * 720 | 30 | 1500 | 1500 | 2250 |
1280 * 720 | 5 | 400 | 400 | 600 |
1280 * 720 | 10 | 800 | 800 | 1200 |
1280 * 720 | 15 | 1200 | 1200 | 1800 |
1280 * 720 | 20 | 1600 | 1600 | 2400 |
1280 * 720 | 30 | 2400 | 2400 | 3600 |
1920 * 1080 | 5 | 500 | 500 | 750 |
1920 * 1080 | 10 | 1000 | 1000 | 1500 |
1920 * 1080 | 15 | 1500 | 1500 | 2250 |
1920 * 1080 | 20 | 2000 | 2000 | 3000 |
1920 * 1080 | 30 | 3000 | 3000 | 4500 |
2560 * 1440 | 5 | 800 | 800 | 1200 |
2560 * 1440 | 10 | 1600 | 1600 | 2400 |
2560 * 1440 | 15 | 2400 | 2400 | 3600 |
2560 * 1440 | 20 | 3200 | 3200 | 4800 |
2560 * 1440 | 30 | 4800 | 4800 | 7200 |
3840 * 2160 | 5 | 1000 | 1000 | 1500 |
3840 * 2160 | 10 | 2000 | 2000 | 3000 |
3840 * 2160 | 15 | 3000 | 3000 | 4500 |
3840 * 2160 | 20 | 4000 | 4000 | 6000 |
3840 * 2160 | 30 | 6000 | 6000 | 9000 |
分辨率 | 帧率(fps) | 最小码率 (Kbps) | 推荐码率(Kbps) | 最大码率(Kbps) |
---|---|---|---|---|
120 * 120 | 5 | 10 | 25 | 75 |
120 * 120 | 10 | 17 | 50 | 150 |
120 * 120 | 15 | 25 | 70 | 210 |
120 * 120 | 20 | 34 | 90 | 270 |
120 * 120 | 30 | 50 | 115 | 345 |
160 * 120 | 5 | 10 | 30 | 90 |
160 * 120 | 10 | 20 | 55 | 165 |
160 * 120 | 15 | 30 | 80 | 240 |
160 * 120 | 20 | 40 | 100 | 300 |
160 * 120 | 30 | 60 | 130 | 390 |
180 * 180 | 5 | 10 | 50 | 150 |
180 * 180 | 10 | 17 | 70 | 210 |
180 * 180 | 15 | 26 | 100 | 300 |
180 * 180 | 20 | 34 | 130 | 390 |
180 * 180 | 30 | 51 | 180 | 540 |
240 * 180 | 5 | 15 | 60 | 180 |
240 * 180 | 10 | 30 | 90 | 270 |
240 * 180 | 15 | 45 | 130 | 390 |
240 * 180 | 20 | 60 | 165 | 495 |
240 * 180 | 30 | 90 | 230 | 690 |
320 * 180 | 5 | 15 | 65 | 195 |
320 * 180 | 10 | 30 | 110 | 330 |
320 * 180 | 15 | 45 | 170 | 510 |
320 * 180 | 20 | 60 | 220 | 660 |
320 * 180 | 30 | 90 | 300 | 900 |
240 * 240 | 5 | 15 | 70 | 140 |
240 * 240 | 10 | 30 | 100 | 200 |
240 * 240 | 15 | 45 | 150 | 300 |
240 * 240 | 20 | 60 | 200 | 400 |
240 * 240 | 30 | 90 | 256 | 512 |
320 * 240 | 5 | 20 | 100 | 200 |
320 * 240 | 10 | 40 | 170 | 340 |
320 * 240 | 15 | 60 | 256 | 512 |
320 * 240 | 20 | 80 | 320 | 640 |
320 * 240 | 30 | 120 | 400 | 800 |
424 * 240 | 5 | 26 | 100 | 200 |
424 * 240 | 10 | 53 | 170 | 340 |
424 * 240 | 15 | 79 | 260 | 520 |
424 * 240 | 20 | 105 | 340 | 680 |
424 * 240 | 30 | 158 | 430 | 860 |
360 * 360 | 5 | 30 | 120 | 240 |
360 * 360 | 10 | 60 | 180 | 360 |
360 * 360 | 15 | 90 | 260 | 520 |
360 * 360 | 20 | 120 | 330 | 660 |
360 * 360 | 30 | 180 | 400 | 800 |
480 * 360 | 5 | 40 | 150 | 300 |
480 * 360 | 10 | 80 | 240 | 480 |
480 * 360 | 15 | 120 | 350 | 700 |
480 * 360 | 20 | 160 | 430 | 860 |
480 * 360 | 30 | 240 | 512 | 1024 |
640 * 360 | 5 | 83 | 200 | 400 |
640 * 360 | 10 | 165 | 340 | 680 |
640 * 360 | 15 | 248 | 512 | 1024 |
640 * 360 | 20 | 330 | 600 | 1200 |
640 * 360 | 30 | 495 | 700 | 1400 |
480 * 480 | 5 | 83 | 170 | 340 |
480 * 480 | 10 | 165 | 260 | 520 |
480 * 480 | 15 | 248 | 400 | 800 |
480 * 480 | 20 | 330 | 470 | 940 |
480 * 480 | 30 | 495 | 600 | 1200 |
640 * 480 | 5 | 110 | 200 | 400 |
640 * 480 | 10 | 220 | 350 | 700 |
640 * 480 | 15 | 330 | 512 | 1024 |
640 * 480 | 20 | 440 | 600 | 1200 |
640 * 480 | 30 | 660 | 700 | 1400 |
840 * 480 | 5 | 180 | 256 | 512 |
840 * 480 | 10 | 360 | 512 | 1024 |
840 * 480 | 15 | 540 | 610 | 1220 |
840 * 480 | 20 | 720 | 800 | 1600 |
840 * 480 | 30 | 1080 | 930 | 1860 |
960 * 720 | 5 | 250 | 250 | 600 |
960 * 720 | 10 | 500 | 500 | 750 |
960 * 720 | 15 | 750 | 750 | 1125 |
960 * 720 | 20 | 1000 | 1000 | 1500 |
960 * 720 | 30 | 1500 | 1500 | 2250 |
1280 * 720 | 5 | 400 | 400 | 600 |
1280 * 720 | 10 | 800 | 800 | 1200 |
1280 * 720 | 15 | 1200 | 1200 | 1800 |
1280 * 720 | 20 | 1600 | 1600 | 2400 |
1280 * 720 | 30 | 2400 | 2400 | 3600 |
1920 * 1080 | 5 | 500 | 500 | 750 |
1920 * 1080 | 10 | 1000 | 1000 | 1500 |
1920 * 1080 | 15 | 1500 | 1500 | 2250 |
1920 * 1080 | 20 | 2000 | 2000 | 3000 |
1920 * 1080 | 30 | 3000 | 3000 | 4500 |
2560 * 1440 | 5 | 800 | 800 | 1200 |
2560 * 1440 | 10 | 1600 | 1600 | 2400 |
2560 * 1440 | 15 | 2400 | 2400 | 3600 |
2560 * 1440 | 20 | 3200 | 3200 | 4800 |
2560 * 1440 | 30 | 4800 | 4800 | 7200 |
3840 * 2160 | 5 | 1000 | 1000 | 1500 |
3840 * 2160 | 10 | 2000 | 2000 | 3000 |
3840 * 2160 | 15 | 3000 | 3000 | 4500 |
3840 * 2160 | 20 | 4000 | 4000 | 6000 |
3840 * 2160 | 30 | 6000 | 6000 | 9000 |
|
readwritenonatomicassign |
推流旋转,默认AliRtcRotationMode_0,详见 AliRtcRotationMode
class AliRtcVideoExternalEncoderParameter |
插件错误码
enum AliRtcPluginDataType |
插件类型
插件操作类型
enum AliRtcVideoTrack : NSUInteger |
enum AliRtcAudioTrack : NSUInteger |
enum AliRtcNetworkQuality : NSUInteger |
网络质量
enum AliRtcTranportAudioQuality : NSInteger |
音频质量
enum AliRtcAudioProfile : NSInteger |
音频编码模式
enum AliRtcAudioScenario : NSInteger |
音频场景模式
enum AliRtcRenderMode : NSUInteger |
视图显示模式
enum AliRtcLogLevel : NSUInteger |
Log级别
enum AliRtcVideoEncoderFrameRate : NSInteger |
视频编码帧率
enum AliRtcVideoEncoderBitrate : NSInteger |
enum AliRtcVideoEncoderMirrorMode : NSInteger |
enum AliRtcRotationMode : NSInteger |
enum AliRtcVideoEncoderOrientationMode : NSInteger |
编码视频旋转模式
enum AliRtcOrientationMode : NSInteger |
enum AliRtcAudioSessionOperationRestriction : NSInteger |
SDK对Audio Session的控制权限
enum AliRtcVideoStreamType : NSInteger |
相机流类型
enum AliRtcDeviceVolumeType : NSInteger |
enum AliRtcVideoSource : NSInteger |
enum AliRtcAudioSource : NSInteger |
enum AliRtcBufferType : NSInteger |
enum AliRtcAudioNumChannel : NSInteger |
enum AliRtcRecordingQuality : NSInteger |
enum AliRtcAudioEffectVoiceChangerMode : NSInteger |
变声音效模式
enum AliRtcAudioEffectReverbMode : NSInteger |
音效混响模式
enum AliRtcAudioEffectReverbParamType : NSInteger |
音效混响参数
enum AliRtcConnectionStatus : NSInteger |
网络连接状态
enum AliRtcConnectionStatusChangeReason : NSInteger |
引起网络状态变更原因
enum AliRtcChannelProfile : NSInteger |
enum AliRtcClientRole : NSInteger |
enum AliRtcMuteLocalAudioMode : NSInteger |
本地静音模式
enum AliRtcRenderMirrorMode : NSInteger |
enum AliRtcAudioPlayingStateCode : NSInteger |
音乐伴奏播放状态
enum AliRtcAudioPlayingErrorCode : NSInteger |
enum AliRtcRecordType : NSUInteger |
enum AliRtcRecordFormat : NSUInteger |
enum AliRtcAudioQuality : NSUInteger |
enum AliRtcVideoQuality : NSUInteger |
enum AliRtcAudioSampleRate : NSInteger |
录制音频采样率
enum AliRtcAudioRouteType : NSInteger |
enum AliRtcVideoObserPosition : NSInteger |
视频数据输出位置
enum AliRtcShowDebugViewType : NSInteger |
enum AliRtcScreenShareMode : NSInteger |
enum AliRtcErrorCode : NSInteger |
错误码
枚举值 | |
---|---|
AliRtcErrNone | 状态正常,无错误 |
AliRtcErrJoinBadAppId | AppId不存在,请在控制台创建应用 |
AliRtcErrJoinInvalidAppId | AppId已失效,请在控制台重新启用应用 |
AliRtcErrJoinBadChannel | 频道不存在,请尝试重新加入频道 如会议发起者入会后又很快离会,第二个人随后入会,发现会议已经不存在了。 |
AliRtcErrJoinInvalidChannel | 频道已经失效(目前频道有效期为48小时),请重新生成频道鉴权令牌(Token) |
AliRtcErrJoinBadToken | Token无效。 请重新生成频道鉴权令牌(Token) |
AliRtcErrJoinTimeout | 加入频道超时,请检查网络连接是否正常 |
AliRtcErrJoinBadParam | 参数错误, |
AliRtcErrJoinChannelFailed | 加入频道失败 |
AliRtcErrLogAlreadyInit | 日志模块已经初始化 |
AliRtcErrLogRootPathError | 日志模块根路径错误,请检查路径是否存在或路径是否具有写入权限 |
AliRtcErrMicOpenFail | 采集设备初始化失败、采集设备媒体服务异常、音频设备被占用。
|
AliRtcErrSpeakerOpenFail | 播放设备初始化失败、播放设备媒体服务异常、音频设备被占用。
|
AliRtcErrMicInterrupt | 系统性能不足、采集设备媒体服务异常、音频设备被占用。建议重启应用或重启设备 |
AliRtcErrSpeakerInterrupt | 系统性能不足,播放设备媒体服务异常,音频设备被占用。建议重启应用或重启设备 |
AliRtcErrMicAuthFail | 麦克风设备未授权,建议去系统设置中,打开麦克风授权,并且重新加入频道 |
AliRtcErrMicNotAvailable | 无可用的音频采集设备,检查是否接入了可用的麦克风,并检查系统设置中,该设备是否被禁用 |
AliRtcErrSpeakerNotAvailable | 无可用的音频播放设备,检查是否接入了可用的扬声器或耳机,并检查系统设置中,该设备是否被禁用 |
AliRtcErrCameraOpenFail | 采集设备初始化失败,检查系统相机是否可用,移动端App是否占用了相机 |
AliRtcErrCameraInterrupt | 采集过程中出现异常,Mac、Winodows电脑相机采集灯熄灭,设备被强制中断。建议重新加入频道或者重启App |
AliRtcErrDisplayOpenFail | 渲染设备初始化失败,检查Windows端显卡驱动是否需要升级,移动端手机型号或者Android平板盒子等外设是否支持OpenGL |
AliRtcErrDisplayInterrupt | 渲染过程中出现异常,系统异常错误导致渲染引擎报错,重新加入频道或者重启App |
AliRtcErrIceConnectionConnectFail | 媒体通道建立失败,检查网络连接是否正常 |
AliRtcErrIceConnectionReconnectFail | 媒体通道重连失败,检查网络连接是否正常 |
AliRtcErrIceConnectionHeartbeatTimeout | 信令心跳超时,检查网络连接是否正常 |
AliRtcErrCdnLiveCommunicationFailed | 低延时互动直播信令失败 |
AliRtcErrCdnLiveMeidaSettingFailed | 低延时互动直播媒体设置错误 |
AliRtcErrCdnLiveNoneBroadcaster | 低延时互动直播当前房间没有主播推流 |
AliRtcErrCdnLiveNeedRestart | 低延时互动直播错误,应用层需要重新创建新的SDK实例 |
AliRtcErrCdnLiveNeedRestartAgainLater | 低延时互动直播错误,应用层需要稍等一定时间(自定义间隔)重新创建新的SDK实例 |
AliRtcErrCdnLiveServiceUnavailable | 低延迟互动直播服务不可用或者服务降级,客户端应该选择其它方式拉超大方会流,即不从cdn sfu拉流 |
AliRtcErrCdnLiveMediaConnectionInterruption | 低延迟互动直播网络中断错误,销毁当前sdk实例重新创建sdk后重新走订阅流程 |
AliRtcErrPublishInvaild | 推流无效 |
AliRtcErrPublishNotJoinChannel | 未进入频道推流失败 |
AliRtcErrPublishAudioStreamFailed | 推送音频流失败 |
AliRtcErrPublishVideoStreamFailed | 推送视频流失败 |
AliRtcErrPublishDualStreamFailed | 推送小流失败 |
AliRtcErrPublishScreenShareFailed | 推送屏幕共享失败 |
AliRtcErrPublishScreenShareConfigError | 屏幕共享配置错误 |
AliRtcErrSubscribeInvaild | 订阅无效 |
AliRtcErrSubscribeNotJoinChannel | 未进入频道订阅错误 |
AliRtcErrSubscribeAudioStreamFailed | 订阅音频流失败 |
AliRtcErrSubscribeVideoStreamFailed | 订阅视频流失败 |
AliRtcErrSubscribeDualStreamFailed | 订阅小流失败 |
AliRtcErrSubscribeScreenShareFailed | 订阅屏幕共享失败 |
AliRtcErrSdkInvalidState | SDK状态错误,建议销毁SDK重新创建实例。 |
AliRtcErrInvalidArguments | 参数不匹配 |
AliRtcErrSessionRemoved | Session已经被移除,建议销毁实例之后重新创建实例并加入频道。 |
AliRtcErrAudioBufferFull | buffer队列饱和,用于外部输送裸数据功能,建议降低外部输入频次,设置等待20ms,并且单次不超过40ms数据。 |
AliRtcErrVideoBufferFull | buffer队列饱和,用于外部输送裸数据功能,建议降低外部输入频次,设置等待视频帧间隔后再输入。 |
AliRtcErrUpdateRoleChannel | 互动模式下设置角色错误 |
AliRtcErrInner | SDK内部错误 |
AliRtcErrNone | 状态正常,无错误 |
AliRtcErrJoinBadAppId | AppId不存在,请在控制台创建应用 |
AliRtcErrJoinInvalidAppId | AppId已失效,请在控制台重新启用应用 |
AliRtcErrJoinBadChannel | 频道不存在,请尝试重新加入频道 如会议发起者入会后又很快离会,第二个人随后入会,发现会议已经不存在了。 |
AliRtcErrJoinInvalidChannel | 频道已经失效(目前频道有效期为48小时),请重新生成频道鉴权令牌(Token) |
AliRtcErrJoinBadToken | Token无效。 请重新生成频道鉴权令牌(Token) |
AliRtcErrJoinTimeout | 加入频道超时,请检查网络连接是否正常 |
AliRtcErrJoinBadParam | 参数错误, |
AliRtcErrJoinChannelFailed | 加入频道失败 |
AliRtcErrLogAlreadyInit | 日志模块已经初始化 |
AliRtcErrLogRootPathError | 日志模块根路径错误,请检查路径是否存在或路径是否具有写入权限 |
AliRtcErrMicOpenFail | 采集设备初始化失败、采集设备媒体服务异常、音频设备被占用。
|
AliRtcErrSpeakerOpenFail | 播放设备初始化失败、播放设备媒体服务异常、音频设备被占用。
|
AliRtcErrMicInterrupt | 系统性能不足、采集设备媒体服务异常、音频设备被占用。建议重启应用或重启设备 |
AliRtcErrSpeakerInterrupt | 系统性能不足,播放设备媒体服务异常,音频设备被占用。建议重启应用或重启设备 |
AliRtcErrMicAuthFail | 麦克风设备未授权,建议去系统设置中,打开麦克风授权,并且重新加入频道 |
AliRtcErrMicNotAvailable | 无可用的音频采集设备,检查是否接入了可用的麦克风,并检查系统设置中,该设备是否被禁用 |
AliRtcErrSpeakerNotAvailable | 无可用的音频播放设备,检查是否接入了可用的扬声器或耳机,并检查系统设置中,该设备是否被禁用 |
AliRtcErrCameraOpenFail | 采集设备初始化失败,检查系统相机是否可用,移动端App是否占用了相机 |
AliRtcErrCameraInterrupt | 采集过程中出现异常,Mac、Winodows电脑相机采集灯熄灭,设备被强制中断。建议重新加入频道或者重启App |
AliRtcErrDisplayOpenFail | 渲染设备初始化失败,检查Windows端显卡驱动是否需要升级,移动端手机型号或者Android平板盒子等外设是否支持OpenGL |
AliRtcErrDisplayInterrupt | 渲染过程中出现异常,系统异常错误导致渲染引擎报错,重新加入频道或者重启App |
AliRtcErrIceConnectionConnectFail | 媒体通道建立失败,检查网络连接是否正常 |
AliRtcErrIceConnectionReconnectFail | 媒体通道重连失败,检查网络连接是否正常 |
AliRtcErrIceConnectionHeartbeatTimeout | 信令心跳超时,检查网络连接是否正常 |
AliRtcErrCdnLiveCommunicationFailed | 低延时互动直播信令失败 |
AliRtcErrCdnLiveMeidaSettingFailed | 低延时互动直播媒体设置错误 |
AliRtcErrCdnLiveNoneBroadcaster | 低延时互动直播当前房间没有主播推流 |
AliRtcErrCdnLiveNeedRestart | 低延时互动直播错误,应用层需要重新创建新的SDK实例 |
AliRtcErrCdnLiveNeedRestartAgainLater | 低延时互动直播错误,应用层需要稍等一定时间(自定义间隔)重新创建新的SDK实例 |
AliRtcErrCdnLiveServiceUnavailable | 低延迟互动直播服务不可用或者服务降级,客户端应该选择其它方式拉超大方会流,即不从cdn sfu拉流 |
AliRtcErrCdnLiveMediaConnectionInterruption | 低延迟互动直播网络中断错误,销毁当前sdk实例重新创建sdk后重新走订阅流程 |
AliRtcErrPublishInvaild | 推流无效 |
AliRtcErrPublishNotJoinChannel | 未进入频道推流失败 |
AliRtcErrPublishAudioStreamFailed | 推送音频流失败 |
AliRtcErrPublishVideoStreamFailed | 推送视频流失败 |
AliRtcErrPublishDualStreamFailed | 推送小流失败 |
AliRtcErrPublishScreenShareFailed | 推送屏幕共享失败 |
AliRtcErrPublishScreenShareConfigError | 屏幕共享配置错误 |
AliRtcErrSubscribeInvaild | 订阅无效 |
AliRtcErrSubscribeNotJoinChannel | 未进入频道订阅错误 |
AliRtcErrSubscribeAudioStreamFailed | 订阅音频流失败 |
AliRtcErrSubscribeVideoStreamFailed | 订阅视频流失败 |
AliRtcErrSubscribeDualStreamFailed | 订阅小流失败 |
AliRtcErrSubscribeScreenShareFailed | 订阅屏幕共享失败 |
AliRtcErrSdkInvalidState | SDK状态错误,建议销毁SDK重新创建实例。 |
AliRtcErrInvalidArguments | 参数不匹配 |
AliRtcErrSessionRemoved | Session已经被移除,建议销毁实例之后重新创建实例并加入频道。 |
AliRtcErrAudioBufferFull | buffer队列饱和,用于外部输送裸数据功能,建议降低外部输入频次,设置等待20ms,并且单次不超过40ms数据。 |
AliRtcErrVideoBufferFull | buffer队列饱和,用于外部输送裸数据功能,建议降低外部输入频次,设置等待视频帧间隔后再输入。 |
AliRtcErrUpdateRoleChannel | 互动模式下设置角色错误 |
AliRtcErrInner | SDK内部错误 |
enum AliRtcOnByeType : NSInteger |
enum AliRtcFeedbackType : NSInteger |
SDK问题反馈类型
enum AliRtcTrascodingLiveTaskStatus : NSInteger |
enum AliRtcChannelRelayEvent : NSInteger |
enum AliRtcChannelRelayState : NSInteger |
跨频道转推事件
enum AliRtcCaptureOutputPreference : NSInteger |
采集偏好
enum AliRtcCameraDirection : NSInteger |
enum AliRtcPublishState : NSInteger |
enum AliRtcSubscribeState : NSInteger |
enum AliRtcUserOfflineReason : NSInteger |
enum AliRtcBokehScaleModel : NSUInteger |
背景替换背景图缩放模式
enum AliRtcLiveTranscodingSegmentType : NSUInteger |
enum AliRtcLiveTranscodingSourceType : NSUInteger |
enum AliRtcLiveTranscodingMixMode : NSUInteger |
enum AliRtcLiveTranscodingStreamType : NSUInteger |
enum AliRtcLiveTranscodingMediaProcessMode : NSUInteger |
enum AliRtcLiveTranscodingCropMode : NSUInteger |
enum AliRtcVideoState : NSInteger |
enum AliRtcVideoReason : NSInteger |
enum AliRtcVideoEncodedFrameType : NSInteger |