onUserPublishScreen property

OnUserPublishStreamType? onUserPublishScreen
getter/setter pair

房间内新增远端屏幕共享音视频流的回调。

当房间内的远端用户调用 RTCRoom.publishScreen 成功发布来自屏幕共享的音视频流时,本地用户会收到该回调,此时本地用户可以自行选择是否调用 RTCRoom.subscribeScreen 订阅此流。

Implementation

OnUserPublishStreamType? onUserPublishScreen;