onUserPublishScreen property
Callback about new screen sharing media streams from remote users in the room.
The local user will receive this callback after a remote user successfully publishes screen sharing streams in the room with RTCRoom.publishScreen. Then the local user can choose whether to call RTCRoom.subscribeScreen to subscribe to the streams or not.
Implementation
OnUserPublishStreamType? onUserPublishScreen;