Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if it is called before MediaRecorder.Prepare, after MediaRecorder.Stop, or is called when VideoSource is not set to SURFACE.
Gets the surface to record from when using SURFACE video source.
May only be called after MediaRecorder.Prepare. Frames rendered to the Surface before MediaRecorder.Start will be discarded.