subscribeScreen abstract method

Future<int?> subscribeScreen(
  1. {required String uid,
  2. required MediaStreamType type}
)

订阅房间内指定的远端屏幕共享音视频流,或更新对指定远端用户的订阅选项

uid 指定订阅的远端发布屏幕流的用户 ID。

type 传入媒体流类型,用于指定订阅音频/视频。

返回值参看 ReturnStatus。

注意:

Implementation

Future<int?> subscribeScreen({
  required String uid,
  required MediaStreamType type,
});