startSharingScreen method

Future<void> startSharingScreen()

start share screen

Implementation

Future<void> startSharingScreen() async {
  await ZegoUIKitCore.shared.coreData.startSharingScreen();
  await ZegoUIKitCore.shared.syncDeviceStatusByStreamExtraInfo(
    streamType: ZegoStreamType.screenSharing,
    hardcodeCamera: true,
    hardcodeMicrophone: true,
  );
}