changeCameraStatus method

dynamic changeCameraStatus(
  1. bool newValue
)

Implementation

changeCameraStatus(bool newValue) {
  mediaStream?.getVideoTracks().forEach((element) {
    element.enabled = newValue;
  });

  isVideoActive = newValue;
}