Add some documentation, still don't know why there will be exception after stopping recording.