Lingua

EncoderProfiles.VideoProfile.Codec Property

Definition

The video encoder being used for the video track

public int Codec { [Android.Runtime.Register("getCodec", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getCodec", "()I", "", ApiSince=31)>]
member this.Codec : int

Property Value

Value is one of the following: MediaRecorder.VideoEncoder.DEFAULT MediaRecorder.VideoEncoder.H263 MediaRecorder.VideoEncoder.H264 MediaRecorder.VideoEncoder.MPEG_4_SP MediaRecorder.VideoEncoder.VP8 MediaRecorder.VideoEncoder.HEVC MediaRecorder.VideoEncoder.VP9 MediaRecorder.VideoEncoder.DOLBY_VISION MediaRecorder.VideoEncoder.AV1 MediaRecorder.VideoEncoder.APV

Attributes

Remarks

The video encoder being used for the video track

Java documentation for android.media.EncoderProfiles.VideoProfile.getCodec().

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