HyphenateSDK
3.3.0
|
构造函数 | |
(EMError *) | - pauseVoice |
(EMError *) | - resumeVoice |
(EMError *) | - pauseVideo |
(EMError *) | - resumeVideo |
(void) | - switchCameraPosition: |
(NSString *sessionId) | - EM_DEPRECATED_IOS |
(NSString *username) | - EM_DEPRECATED_IOS |
(NSString *remoteUsername) | - EM_DEPRECATED_IOS |
(int videoBitrate) | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Delete") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.videoLatency") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.remoteVideoFrameRate") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.remoteVideoLostRateInPercent") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.remoteVideoResolution") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.remoteVideoResolution") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.remoteVideoBitrate") | - EM_DEPRECATED_IOS |
(3_1_0, 3_1_5,"Use -EMCallSession.localVideoBitrate") | - EM_DEPRECATED_IOS |
(void) | - screenCaptureToFilePath:error: |
(void) | - startVideoRecordingToFilePath:error: |
(NSString *) | - stopVideoRecording: |
("Use -getVideoLatency") | - __deprecated_msg |
("Use -getVideoFrameRate") | - __deprecated_msg |
("Use -getVideoLostRateInPercent") | - __deprecated_msg |
(void) | - takeRemotePicture: |
(BOOL) | - startVideoRecord: |
("Use -stopVideoRecording:") | - __deprecated_msg |
(void) | - setCameraBackOrFront: |
属性 | |
NSString * | callId |
NSString * | localName |
EMCallType | type |
BOOL | isCaller |
NSString * | remoteName |
EMCallSessionStatus | status |
EMCallLocalView * | localVideoView |
EMCallRemoteView * | remoteVideoView |
EMCallConnectType | connectType |
int | videoLatency |
int | localVideoFrameRate |
int | remoteVideoFrameRate |
int | localVideoBitrate |
int | remoteVideoBitrate |
int | localVideoLostRateInPercent |
int | remoteVideoLostRateInPercent |
CGSize | remoteVideoResolution |
NSString * | ext |
- ("Use -getVideoLatency") __deprecated_msg |
获取视频的延迟时间,单位是毫秒,实时变化
- ("Use -getVideoFrameRate") __deprecated_msg |
获取视频的帧率,实时变化
- ("Use -getVideoLostRateInPercent") __deprecated_msg |
获取视频丢包率
- ("Use -)stopVideoRecording: |
停止录制视频
- (NSString* sessionId) EM_DEPRECATED_IOS | (3_1_0) | ||
(3_1_5) | |||
("Use EMCallSession.callId") | |||
会话标识符
- (NSString* username) EM_DEPRECATED_IOS | (3_1_0) | ||
(3_1_5) | |||
("Use EMCallSession.localName") | |||
通话本地的username
- (NSString* remoteUsername) EM_DEPRECATED_IOS | (3_1_0) | ||
(3_1_5) | |||
("Use EMCallSession.remoteName") | |||
对方的username
- (3_1_0, 3_1_5, "Use -EMCallSession.videoLatency") EM_DEPRECATED_IOS |
获取视频的延迟时间,单位是毫秒,实时变化
- (int videoBitrate) EM_DEPRECATED_IOS | (3_1_0) | ||
(3_1_5) | |||
("Use EMCallOptions.videoKbps") | |||
设置视频码率,必须在通话开始前设置
码率范围为150-1000, 默认为600
- (3_1_0, 3_1_5, "Use -EMCallSession.remoteVideoBitrate") EM_DEPRECATED_IOS |
获取视频通话对方的比特率kbps,实时变化
- (3_1_0, 3_1_5, "Use -EMCallSession.localVideoBitrate") EM_DEPRECATED_IOS |
获取视频的比特率kbps,实时变化
- (3_1_0, 3_1_5, "Delete") EM_DEPRECATED_IOS |
获取音频音量,实时变化
- (3_1_0, 3_1_5, "Use -EMCallSession.remoteVideoLostRateInPercent") EM_DEPRECATED_IOS |
获取视频丢包率
- (3_1_0, 3_1_5, "Use -EMCallSession.remoteVideoResolution") EM_DEPRECATED_IOS |
获取视频的高度,固定值,不会实时变化
- (3_1_0, 3_1_5, "Use -EMCallSession.remoteVideoFrameRate") EM_DEPRECATED_IOS |
获取视频的帧率,实时变化
- (3_1_0, 3_1_5, "Use -EMCallSession.remoteVideoResolution") EM_DEPRECATED_IOS |
获取视频的宽度,固定值,不会实时变化
- (EMError *) pauseVideo |
暂停视频图像数据传输
- (EMError *) pauseVoice |
暂停语音数据传输
- (EMError *) resumeVideo |
恢复视频图像数据传输
- (EMError *) resumeVoice |
恢复语音数据传输
- (void) screenCaptureToFilePath: | (NSString *) | aPath | |
error: | (3_1_0) | ||
(3_1_5) | |||
("Use -") | EM_DEPRECATED_IOS[EMPluginVideoRecorder screenCaptureToFilePath:error:] | ||
获取视频快照,只支持JPEG格式
aPath | 图片存储路径 |
- (void) setCameraBackOrFront: | ("Use -switchCameraPosition:") | __deprecated_msg |
设置使用前置摄像头还是后置摄像头,默认使用前置摄像头
isFont | 是否使用前置摄像头,YES使用前置,NO使用后置 |
- (BOOL) startVideoRecord: | ("Use startVideoRecordingToFilePath:error:") | __deprecated_msg |
开始录制视频
aPath | 文件保存路径 |
- (void) startVideoRecordingToFilePath: | (NSString *) | aPath | |
error: | (3_1_0) | ||
(3_1_5) | |||
("Use -") | EM_DEPRECATED_IOS[EMPluginVideoRecorder startVideoRecordingToFilePath:error] | ||
开始录制视频
aPath | 文件保存路径 |
aError | 错误 |
- (NSString *) stopVideoRecording: | (3_1_0) | ||
(3_1_5) | |||
("Use -") | EM_DEPRECATED_IOS[EMPluginVideoRecorder stopVideoRecording:] | ||
停止录制视频
aError | 错误 |
- (void) switchCameraPosition: | (BOOL) | aIsFrontCamera |
设置使用前置摄像头还是后置摄像头,默认使用前置摄像头
aIsFrontCamera | 是否使用前置摄像头, YES使用前置, NO使用后置 |
- (void) takeRemotePicture: | ("Use -screenCaptureToFilePath:") | __deprecated_msg |
获取视频快照
aFullPath | 图片存储路径 |
|
readnonatomicstrong |
会话标识符
|
readnonatomicassign |
连接类型
|
readnonatomicassign |
消息扩展
类型必须是NSString
|
readnonatomicassign |
主叫还是被叫
|
readnonatomicstrong |
通话本地的username
|
readnonatomicassign |
本地视频通话对方的比特率kbps,实时变化 未获取到返回-1
|
readnonatomicassign |
本地视频的帧率,实时变化 未获取到返回-1
|
readnonatomicassign |
本地视频丢包率,实时变化 未获取到返回-1
|
readwritenonatomicstrong |
视频通话时自己的图像显示区域
|
readnonatomicstrong |
对方的username
|
readnonatomicassign |
对方视频通话对方的比特率kbps,实时变化 未获取到返回-1
|
readnonatomicassign |
对方视频的帧率,实时变化 未获取到返回-1
|
readnonatomicassign |
对方视频丢包率,实时变化 未获取到返回-1
|
readnonatomicassign |
对方视频分辨率 未获取到返回 (-1,-1)
|
readwritenonatomicstrong |
视频通话时对方的图像显示区域
|
readnonatomicassign |
通话的状态
|
readnonatomicassign |
通话的类型
|
readnonatomicassign |
视频的延迟时间,单位是毫秒,实时变化 未获取到返回-1