JCSDK Java API Reference for Android  2.5.1
| Public 成员函数 | Protected 成员函数 | 所有成员列表
com.juphoon.cloud.JCMediaChannelParticipant类 参考

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 ()
 
String toString ()
 

Protected 成员函数

 JCMediaChannelParticipant (boolean self, JCMediaDevice mediaDevice, JCMediaChannel mediaChannel)
 

详细描述

多方通话成员

成员函数说明

◆ isSelf()

boolean com.juphoon.cloud.JCMediaChannelParticipant.isSelf ( )
inline

是不是自己

返回
是不是自己
  • true: 是自己
  • false: 不是自己

◆ startVideo()

JCMediaDeviceVideoCanvas com.juphoon.cloud.JCMediaChannelParticipant.startVideo ( @JCMediaDevice.RenderType int  mode,
@JCMediaChannel.PictureSize int  pictureSize 
)
inline

开始渲染视频对象

建议使用该方法来代替以下三个方法:

参数
mode渲染模式:
pictureSize视频请求级别:
返回
JCMediaDeviceVideoCanvas 视频对象

◆ stopVideo()

void com.juphoon.cloud.JCMediaChannelParticipant.stopVideo ( )
inline

停止渲染视频对象

建议使用该方法来代替以下两个方法:

◆ getUserId()

String com.juphoon.cloud.JCMediaChannelParticipant.getUserId ( )
inline

获得用户标识

返回
用户标识

◆ getRenderId()

String com.juphoon.cloud.JCMediaChannelParticipant.getRenderId ( )
inline

获得渲染标识

用于 startVideo 渲染视频使用

返回
渲染标识

◆ getDisplayName()

String com.juphoon.cloud.JCMediaChannelParticipant.getDisplayName ( )
inline

获得昵称

返回
昵称

◆ getVolumeStatus()

.VolumeStatus int com.juphoon.cloud.JCMediaChannelParticipant.getVolumeStatus ( )
inline

获取音量状态

返回
音量状态:

◆ isAudio()

boolean com.juphoon.cloud.JCMediaChannelParticipant.isAudio ( )
inline

获得是否开启了语音

返回
是否开启了语音
  • true: 已开启
  • false: 未开启

◆ isVideo()

boolean com.juphoon.cloud.JCMediaChannelParticipant.isVideo ( )
inline

获得是否开启了视频

返回
是否开启了视频
  • true: 已开启
  • false: 未开启

◆ isSipTalking()

boolean com.juphoon.cloud.JCMediaChannelParticipant.isSipTalking ( )
inline

成员对象是否是sip用户

返回
是否是sip用户
  • true: 是sip用户
  • false: 不是sip用户

◆ getType()

.ParticipantType int com.juphoon.cloud.JCMediaChannelParticipant.getType ( )
inline

获得成员类型

返回
成员类型,参见

◆ getPictureSize()

.PictureSize int com.juphoon.cloud.JCMediaChannelParticipant.getPictureSize ( )
inline

获得图像尺寸

返回
图像尺寸:

◆ getNetStatus()

.NetStatus int com.juphoon.cloud.JCMediaChannelParticipant.getNetStatus ( )
inline

获取网络状态

返回
网络状态:

◆ isCreator()

boolean com.juphoon.cloud.JCMediaChannelParticipant.isCreator ( )
inline

是否是创建者

返回
是否是创建者
  • true: 是创建者
  • false: 不是创建者

◆ getCustomRole()

int com.juphoon.cloud.JCMediaChannelParticipant.getCustomRole ( )
inline

获得自定义角色值

返回
自定义角色值

◆ getCustomState()

int com.juphoon.cloud.JCMediaChannelParticipant.getCustomState ( )
inline

获得自定义状态

返回
自定义状态

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