HyphenateSDK  3.7.1
构造函数 | 属性 | 所有成员列表
EMCallSession类 参考
类 EMCallSession 继承关系图:

构造函数

(EMError *) - pauseVoice
 
(EMError *) - resumeVoice
 
(EMError *) - pauseVideo
 
(EMError *) - resumeVideo
 
(void) - switchCameraPosition:
 

属性

NSString * callId
 
NSString * localName
 
EMCallType type
 
BOOL isCaller
 
NSString * remoteName
 
EMCallSessionStatus status
 
EMCallLocalVideoViewlocalVideoView
 
EMCallRemoteVideoViewremoteVideoView
 
EMCallConnectType connectType
 
int videoLatency
 
int localVideoFrameRate
 
int remoteVideoFrameRate
 
int localVideoBitrate
 
int remoteVideoBitrate
 
int localVideoLostRateInPercent
 
int remoteVideoLostRateInPercent
 
CGSize remoteVideoResolution
 
NSString * serverVideoId
 
BOOL willRecord
 
NSString * ext
 

函数文档

◆ pauseVideo

- (EMError *) pauseVideo

暂停视频图像数据传输

返回
错误

◆ pauseVoice

- (EMError *) pauseVoice

暂停语音数据传输

返回
错误

◆ resumeVideo

- (EMError *) resumeVideo

恢复视频图像数据传输

返回
错误

◆ resumeVoice

- (EMError *) resumeVoice

恢复语音数据传输

返回
错误

◆ switchCameraPosition:

- (void) switchCameraPosition: (BOOL)  aIsFrontCamera

设置使用前置摄像头还是后置摄像头,默认使用前置摄像头

参数
aIsFrontCamera是否使用前置摄像头, YES使用前置, NO使用后置

属性说明

◆ callId

- (NSString*) callId
readnonatomicstrong

会话标识符

◆ connectType

- (EMCallConnectType) connectType
readnonatomicassign

连接类型

◆ ext

- (NSString*) ext
readnonatomicassign

消息扩展

类型必须是NSString

◆ isCaller

- (BOOL) isCaller
readnonatomicassign

是否为主叫方

◆ localName

- (NSString*) localName
readnonatomicstrong

通话本地的username

◆ localVideoBitrate

- (int) localVideoBitrate
readnonatomicassign

本地视频通话对方的比特率kbps,实时变化 未获取到返回-1

◆ localVideoFrameRate

- (int) localVideoFrameRate
readnonatomicassign

本地视频的帧率,实时变化 未获取到返回-1

◆ localVideoLostRateInPercent

- (int) localVideoLostRateInPercent
readnonatomicassign

本地视频丢包率,实时变化 未获取到返回-1

◆ localVideoView

- (EMCallLocalVideoView*) localVideoView
readwritenonatomicstrong

视频通话时自己的图像显示区域

◆ remoteName

- (NSString*) remoteName
readnonatomicstrong

对方的username

◆ remoteVideoBitrate

- (int) remoteVideoBitrate
readnonatomicassign

对方视频通话对方的比特率kbps,实时变化 未获取到返回-1

◆ remoteVideoFrameRate

- (int) remoteVideoFrameRate
readnonatomicassign

对方视频的帧率,实时变化 未获取到返回-1

◆ remoteVideoLostRateInPercent

- (int) remoteVideoLostRateInPercent
readnonatomicassign

对方视频丢包率,实时变化 未获取到返回-1

◆ remoteVideoResolution

- (CGSize) remoteVideoResolution
readnonatomicassign

对方视频分辨率 未获取到返回 (-1,-1)

◆ remoteVideoView

- (EMCallRemoteVideoView*) remoteVideoView
readwritenonatomicstrong

视频通话时对方的图像显示区域

◆ serverVideoId

- (NSString*) serverVideoId
readnonatomicstrong

服务端录制文件的id

◆ status

- (EMCallSessionStatus) status
readnonatomicassign

通话的状态

◆ type

- (EMCallType) type
readnonatomicassign

通话的类型

◆ videoLatency

- (int) videoLatency
readnonatomicassign

视频的延迟时间,单位是毫秒,实时变化 未获取到返回-1

◆ willRecord

- (BOOL) willRecord
readnonatomicassign

是否启用服务器录制


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