docs: public void stopRecording() {
          if (mState != STATE.RECORDING)
              throw new IllegalArgumentException("StopRecording called in invalid state");
          mState = STATE.STOPPING;
          Log.i(TAG, "stopRecording");
          synchronized (mReadyForFrameFence) {
              mEosRequested = true;
          }
      }