setParticipantScreenSharing method
Future<void>
setParticipantScreenSharing({
- required ParticipantScreenSharingConfig config,
override
Implementation
@override
Future<void> setParticipantScreenSharing({
required ParticipantScreenSharingConfig config,
}) async {
final state =
await _remoteSubscribers[config.participantId]?.setScreenSharing(
config.isSharing,
screenTrackId: config.screenTrackId,
);
if (state != null) {
_remoteSubscribers[config.participantId] = state;
_notify(CallbackEvents.shouldBeUpdateState);
}
}