switchCamera method

Future<void> switchCamera()

Implementation

Future<void> switchCamera() async {
  if (videoTrack != null) {
    isFrontCameraActive = await Helper.switchCamera(videoTrack!);
  }
}