hyphenate_SDK3.0  3.6.1
hyphenatejavaIMSDK
| Public 成员函数 | 所有成员列表
com.hyphenate.chat.EMVideoCallHelper类 参考

enum  CallType
 

Public 成员函数

void setPreferMovFormatEnable (boolean enabled)
 
int getVideoLatency ()
 
int getVideoFrameRate ()
 
int getVideoLostRate ()
 
int getVideoWidth ()
 
int getVideoHeight ()
 
int getRemoteBitrate ()
 
int getLocalBitrate ()
 
int getLocalAudioBitrate ()
 
int getRemoteAudioBitrate ()
 

详细描述

Created by linan on 17/6/29.

成员函数说明

◆ getLocalAudioBitrate()

int com.hyphenate.chat.EMVideoCallHelper.getLocalAudioBitrate ( )

发送音频比特率,单位为 kbps

返回
获取失败,返回0

◆ getLocalBitrate()

int com.hyphenate.chat.EMVideoCallHelper.getLocalBitrate ( )

发送视频比特率,单位为kbps

返回
获取失败,返回0

◆ getRemoteAudioBitrate()

int com.hyphenate.chat.EMVideoCallHelper.getRemoteAudioBitrate ( )

接受音频比特率,单位为 kbps

返回
获取失败,返回0

◆ getRemoteBitrate()

int com.hyphenate.chat.EMVideoCallHelper.getRemoteBitrate ( )

接收视频比特率,单位为kbps

返回
获取失败,返回0

◆ getVideoFrameRate()

int com.hyphenate.chat.EMVideoCallHelper.getVideoFrameRate ( )

帧率

返回

◆ getVideoHeight()

int com.hyphenate.chat.EMVideoCallHelper.getVideoHeight ( )

对方图像高度

返回
获取失败,返回0

◆ getVideoLatency()

int com.hyphenate.chat.EMVideoCallHelper.getVideoLatency ( )

时延,单位是ms

返回

◆ getVideoLostRate()

int com.hyphenate.chat.EMVideoCallHelper.getVideoLostRate ( )

每一百个包中丢包个数

返回

◆ getVideoWidth()

int com.hyphenate.chat.EMVideoCallHelper.getVideoWidth ( )

对方图像宽度

返回
获取失败,返回0

◆ setPreferMovFormatEnable()

void com.hyphenate.chat.EMVideoCallHelper.setPreferMovFormatEnable ( boolean  enabled)

Capture video image to local storage

参数
filename
返回
true for success 开始视频录制
参数
dirPath录制的文件存储目录,用户可以自己实时检测该文件大小,如果占用太多空间提醒用户 停止视频录制
返回
返回录制的视频文件的路径,录制失败则返回null 开始音频录制
参数
dirPath录制的文件存储目录,用户可以自己实时检测该文件大小,如果占用太多空间提醒用户 停止音频录制
返回
返回录制的音频文件的路径,录制失败则返回null 如果需要录像,需要调用次函数,参数为true。 此方法调用需要在视频通话开始之前调用,比如放在Activity的onCreate中。 如果没有设置enabled为true, 录像文件无法播放。

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