docs: private void init(SessionConfig config) {
          mEncodedFirstFrame = false;
          mReadyForFrames = false;
          mRecording = false;
          mEosRequested = false;
  
          mCurrentCamera = -1;
          mDesiredCamera = Camera.CameraInfo.CAMERA_FACING_BACK;
  
          mCurrentFlash = Parameters.FLASH_MODE_OFF;
          mDesiredFlash = null;
  
          mCurrentFilter = -1;
          mNewFilter = Filters.FILTER_NONE;
  
          mThumbnailRequested = false;
          mThumbnailRequestedOnFrame = -1;
  
          mSessionConfig = checkNotNull(config);
      }