Android.Media.MediaCodec.OutputFormat Property
Call this after dequeueOutputBuffer signals a format change by returning MediaCodec.InfoOutputFormatChanged.

Syntax

[get: Android.Runtime.Register("getOutputFormat", "()Landroid/media/MediaFormat;", "GetGetOutputFormatHandler")]
public MediaFormat OutputFormat { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif not in the Executing or Configured state.
!:NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.htmlupon codec error.

Remarks

Call this after dequeueOutputBuffer signals a format change by returning MediaCodec.InfoOutputFormatChanged. You can also call this after MediaCodec.Configure(MediaFormat, Android.Views.Surface, Android.Views.Surface, Android.Views.Surface) returns successfully to get the output format initially configured for the codec. Do this to determine what optional configuration parameters were supported by the codec.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16