code: public void reset(SessionConfig config) {
          if (mState != STATE.UNINITIALIZED)
              throw new IllegalArgumentException("reset called in invalid state");
          mState = STATE.INITIALIZING;
          mHandler.sendMessage(mHandler.obtainMessage(MSG_RESET, config));
      }
docs: Prepare for a new recording with the given parameters.
  This must be called after {@link #stopRecording()} and before {@link #release()}
  
  @param config the desired parameters for the next recording. Make sure you're
  providing a new {@link io.kickflip.sdk.av.SessionConfig} to avoid
  overwriting a previous recording.