HyphenateSDK  3.7.4
构造函数 | 属性 | 所有成员列表
EMCallOptions类 参考

#import <EMCallOptions.h>

类 EMCallOptions 继承关系图:

构造函数

(BOOL isFixedVideoResolution) - EM_DEPRECATED_IOS
 
(long videoKbps) - EM_DEPRECATED_IOS
 

属性

int pingInterval
 
BOOL isSendPushIfOffline
 
NSString * offlineMessageText
 
EMCallVideoResolution videoResolution
 
long maxVideoKbps
 
int minVideoKbps
 
int maxVideoFrameRate
 
long maxAudioKbps
 
BOOL enableCustomizeVideoData
 
BOOL enableReportQuality
 
BOOL enableCustomAudioData
 
int audioCustomSamples
 
int audioCustomChannels
 
BOOL isClarityFirst
 

详细描述

@header EMCallOptions.h @abstract EMCallManager配置类

作者
Hyphenate
版本
3.00

函数文档

◆ EM_DEPRECATED_IOS

- (BOOL isFixedVideoResolution) EM_DEPRECATED_IOS (3_2_2) 
(3_5_2) 
("Delete")   

是否固定视频分辨率,默认为NO

属性说明

◆ audioCustomChannels

- (int) audioCustomChannels
readwritenonatomicassign

自定义音频数据的通道数,当前只支持单通道,必须为1

◆ audioCustomSamples

- (int) audioCustomSamples
readwritenonatomicassign

自定义音频数据的采样率,默认48000

◆ enableCustomAudioData

- (BOOL) enableCustomAudioData
readwritenonatomicassign

是否自定义音频数据,默认NO

◆ enableCustomizeVideoData

- (BOOL) enableCustomizeVideoData
readwritenonatomicassign

是否自定义视频数据,默认NO

◆ enableReportQuality

- (BOOL) enableReportQuality
readwritenonatomicassign

是否监听通话质量

◆ isClarityFirst

- (BOOL) isClarityFirst
readwritenonatomicassign

视频传输场景,是否清晰度优先

◆ isSendPushIfOffline

- (BOOL) isSendPushIfOffline
readwritenonatomicassign

被叫方不在线时,是否推送来电通知 如果设置为NO,不推送通知,返回EMErrorCallRemoteOffline 默认NO

◆ maxAudioKbps

- (long) maxAudioKbps
readwritenonatomicassign

最大音频码率 范围 6 < AudioKbps < 510, 默认32 建议设置为32

◆ maxVideoFrameRate

- (int) maxVideoFrameRate
readwritenonatomicassign

最大视频帧率

◆ maxVideoKbps

- (long) maxVideoKbps
readwritenonatomicassign

最大视频码率 范围 50 < videoKbps < 5000, 默认0, 0为自适应 建议设置为0

◆ minVideoKbps

- (int) minVideoKbps
readwritenonatomicassign

最小视频码率

◆ offlineMessageText

- (NSString*) offlineMessageText
readwritenonatomicstrong

当isSendPushIfOffline=YES时起作用,离线推送显示的内容 默认 “You have incoming call...”

◆ pingInterval

- (int) pingInterval
readwritenonatomicassign

发送ping包的时间间隔,单位秒,默认30s,最小10s

◆ videoResolution

- (EMCallVideoResolution) videoResolution
readwritenonatomicassign

视频分辨率 默认自适应


该类的文档由以下文件生成: