MediaCodec.SetInputSurface(Surface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the codec (e.
[Android.Runtime.Register("setInputSurface", "(Landroid/view/Surface;)V", "", ApiSince=23)]
public void SetInputSurface (Android.Views.Surface surface);
[<Android.Runtime.Register("setInputSurface", "(Landroid/view/Surface;)V", "", ApiSince=23)>]
member this.SetInputSurface : Android.Views.Surface -> unit
Parameters
- surface
- Surface
a persistent input surface created by #createPersistentInputSurface
- Attributes
Remarks
Configures the codec (e.g. encoder) to use a persistent input surface in place of input buffers. This may only be called after #configure
and before #start
, in lieu of #createInputSurface
.
Java documentation for android.media.MediaCodec.setInputSurface(android.view.Surface)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.