public void stopRecording(){
  mHandler.sendMessage(mHandler.obtainMessage(MSG_STOP_RECORDING));
  mHandler.sendMessage(mHandler.obtainMessage(MSG_QUIT));
}

public void stopRecording ( ) { mHandler . sendMessage ( mHandler . obtainMessage ( MSG_STOP_RECORDING ) ) ; mHandler . sendMessage ( mHandler . obtainMessage ( MSG_QUIT ) ) ; }
tells the video recorder to stop recording . ( call from non - encoder thread . ) < p > returns immediately ; the encoder / muxer may not yet be finished creating the movie . < p > todo : have the encoder thread invoke a callback on the ui thread just before it shuts down so we can provide reasonable status ui ( and let the caller know that movie encoding has completed ) .
