Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
EncoderUtils

Class EncoderUtils

Hierarchy

java.lang.Object

Package
com.smartdevicelink.encoder

Methods

getCodecSpecificData( MediaFormat format )

Extracts codec-specific data from MediaFormat instance

Currently, only AVC is supported.

public static byte getCodecSpecificData(MediaFormat format)

Method Parameters

format
MediaFormat instance retrieved from MediaCodec

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section