requestVideo abstract method
请求频道中其他用户的视频流
@note 该接口需要在自己加入会议成功后才能调用
当 pictureSize 为 @ref PICTURESIZE_NONE 时表示关闭请求
建议使用 @ref JCMediaChannelParticipant.startVideo "startVideo" 方法代替
participant JCMediaChannelParticipant 频道中其他成员对象
pictureSize 视频请求的尺寸类型:
- @ref PICTURESIZE_NONE : 不渲染
- @ref PICTURESIZE_MIN : 最小尺寸
- @ref PICTURESIZE_SMALL : 小尺寸
- @ref PICTURESIZE_LARGE : 大尺寸
- @ref PICTURESIZE_MAX : 最大尺寸 @return 调用是否正常
- true:正常执行调用流程,会收到 @ref JCMediaChannelCallback#onParticipantUpdate "onParticipantUpdate" 通知
- false:调用失败,不会收到回调通知
Implementation
Future<bool> requestVideo(
JCMediaChannelParticipant participant, int pictureSize);