Future<void> setScreenSharing(bool isSharing) async { isSharingScreen = isSharing; if (!isSharing) { screenSource?.dispose(); screenSource = null; } }