annotationShare method

Future<void> annotationShare()

Implementation

Future<void> annotationShare() async {
  if (Platform.isAndroid) {
    if(isScreenShare) {
      _stopService();
    } else {
      _startService();
    }
  }
  Future.delayed(const Duration(milliseconds: 100), () {
    if (isScreenShare) {
      EnxRtc.stopAnnotation();
    } else {

      EnxRtc.startAnnotation(streamIdForAnnotation.toString());
    }

  });



}