Compartilhar via


MediaCodec.Start Method

Definition

After successfully configuring the component, call start.

[Android.Runtime.Register("start", "()V", "")]
public void Start ();
[<Android.Runtime.Register("start", "()V", "")>]
member this.Start : unit -> unit
Attributes

Exceptions

if not in the Configured state or just after Flush() for a codec that is configured in asynchronous mode.

upon codec error. Note that some codec errors for start may be attributed to future method calls.

Remarks

After successfully configuring the component, call start.

Call start also if the codec is configured in asynchronous mode, and it has just been flushed, to resume requesting input buffers.

Java documentation for android.media.MediaCodec.start().

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.

Applies to