code: def stop(self):
          
          if not self._started:
              raise Exception("Cannot stop a video recorder before starting it!")
          self._started = False
          if self._actual_camera.is_running:
              self._actual_camera.stop()
          if self._camera is not None:
              try:
                  self._camera.terminate()
              except:
                  pass
docs: Stop the camera process.