类 | |
class | ChangeParam |
Public 成员函数 | |
boolean | isSelf () |
JCMediaDeviceVideoCanvas | startVideo (@JCMediaDevice.RenderType int mode, @JCMediaChannel.PictureSize int pictureSize) |
void | stopVideo () |
String | getUserId () |
String | getRenderId () |
String | getDisplayName () |
.VolumeStatus int | getVolumeStatus () |
boolean | isAudio () |
boolean | isVideo () |
boolean | isSipTalking () |
.ParticipantType int | getType () |
.PictureSize int | getPictureSize () |
.NetStatus int | getNetStatus () |
boolean | isCreator () |
int | getCustomRole () |
int | getCustomState () |
boolean | isAudioSubscribe () |
String | toString () |
Protected 成员函数 | |
JCMediaChannelParticipant (boolean self, JCMediaDevice mediaDevice, JCMediaChannel mediaChannel) | |
详细描述
多方通话成员
成员函数说明
◆ isSelf()
|
inline |
是不是自己
- 返回
- 是不是自己
- true: 是自己
- false: 不是自己
◆ startVideo()
|
inline |
开始渲染视频对象
建议使用该方法来代替以下三个方法:
- 参数
-
mode 渲染模式: - RENDER_FULL_SCREEN : 铺满窗口
- RENDER_FULL_CONTENT : 全图像显示,会有黑边
- RENDER_FULL_AUTO : 自适应
pictureSize 视频请求级别: - PICTURESIZE_NONE : 不渲染
- PICTURESIZE_MIN : 最小尺寸
- PICTURESIZE_SMALL : 小尺寸
- PICTURESIZE_LARGE : 大尺寸
- PICTURESIZE_MAX : 最大尺寸
- 返回
- JCMediaDeviceVideoCanvas 视频对象
◆ stopVideo()
|
inline |
◆ getUserId()
|
inline |
获得用户标识
- 返回
- 用户标识
◆ getRenderId()
|
inline |
◆ getDisplayName()
|
inline |
获得昵称
- 返回
- 昵称
◆ getVolumeStatus()
|
inline |
获取音量状态
- 返回
- 音量状态:
- VOLUME_STATUS_NONE : 静音
- VOLUME_STATUS_ZERO : 无声音
- VOLUME_STATUS_LOW : 低
- VOLUME_STATUS_MID : 中
- VOLUME_STATUS_HIGH : 高
◆ isAudio()
|
inline |
获得是否开启了语音
- 返回
- 是否开启了语音
- true: 已开启
- false: 未开启
◆ isVideo()
|
inline |
获得是否开启了视频
- 返回
- 是否开启了视频
- true: 已开启
- false: 未开启
◆ isSipTalking()
|
inline |
成员对象是否是sip用户
- 返回
- 是否是sip用户
- true: 是sip用户
- false: 不是sip用户
◆ getType()
|
inline |
获得成员类型
- 返回
- 成员类型,参见
- PARTICIPANT_TYPE_NORMAL : 普通成员
- PARTICIPANT_TYPE_PSTN : PSTN成员
- PARTICIPANT_TYPE_WEBRTC : Webrtc成员
- PARTICIPANT_TYPE_IRC : 录制器成员
◆ getPictureSize()
|
inline |
获得图像尺寸
- 返回
- 图像尺寸:
- PICTURESIZE_NONE : 不渲染
- PICTURESIZE_MIN : 最小尺寸
- PICTURESIZE_SMALL : 小尺寸
- PICTURESIZE_LARGE : 大尺寸
- PICTURESIZE_MAX : 最大尺寸
◆ getNetStatus()
|
inline |
获取网络状态
- 返回
- 网络状态:
- NET_STATUS_DISCONNECTED : 无
- NET_STATUS_VERY_BAD : 非常差
- NET_STATUS_BAD : 差
- NET_STATUS_NORMAL : 一般
- NET_STATUS_GOOD : 好
- NET_STATUS_VERY_GOOD : 非常好
◆ isCreator()
|
inline |
是否是创建者
- 返回
- 是否是创建者
- true: 是创建者
- false: 不是创建者
◆ getCustomRole()
|
inline |
获得自定义角色值
- 返回
- 自定义角色值
◆ getCustomState()
|
inline |
获得自定义状态
- 返回
- 自定义状态
◆ isAudioSubscribe()
|
inline |
是否订阅了该成员的音频
- 返回
- 是否订阅了该成员的音频
- true:订阅
- false:未订阅
该类的文档由以下文件生成:
- cloud/src/main/mediachannel/com/juphoon/cloud/JCMediaChannelParticipant.java