Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if not in the Configured state.
Requests a Surface to use as the input to an encoder, in place of input buffers. This may only be called after MediaCodec.Configure(MediaFormat, Android.Views.Surface, Android.Views.Surface, Android.Views.Surface) and before MediaCodec.Start.
The application is responsible for calling release() on the Surface when done.
The Surface must be rendered with a hardware-accelerated API, such as OpenGL ES. Android.Views.Surface.LockCanvas(Android.Graphics.Rect) may fail or produce unexpected results.