requestScreenVideo abstract method

Future<bool> requestScreenVideo(
  1. String screenUri,
  2. int pictureSize
)

请求屏幕共享的视频流

@note 该接口需要在自己加入会议成功后才能调用

当 pictureSize 为 @ref PICTURESIZE_NONE 表示关闭请求

screenUri 屏幕分享uri pictureSize 视频请求尺寸类型,参见:

  • @ref PICTURESIZE_NONE : 不渲染
  • @ref PICTURESIZE_MIN : 最小尺寸
  • @ref PICTURESIZE_SMALL : 小尺寸
  • @ref PICTURESIZE_LARGE : 大尺寸
  • @ref PICTURESIZE_MAX : 最大尺寸 @return 调用是否正常
  • true:正常执行调用流程
  • false:调用失败

Implementation

Future<bool> requestScreenVideo(String screenUri, int pictureSize);