public class WZCodecUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AAC_MIME_TYPE |
static String |
H264_MIME_TYPE |
Constructor and Description |
---|
WZCodecUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getCodecInfo()
Returns information about the H.264 and AAC codecs supported by the current device
|
static WZDataMap |
getCodecInfoDataMap()
Returns a
WZDataMap about the H.264 and AAC codecs supported by the current device |
static MediaCodecInfo[] |
getCodecsForType(String mimeType)
Interrogate the device for a list of media codecs for the specified media type
|
static MediaCodecInfo[] |
getDecodersForType(String mimeType)
Interrogate the device for a list of decoders for the specified media type
|
static MediaCodecInfo[] |
getEncodersForType(String mimeType)
Interrogate the device for a list of encoders for the specified media type
|
static WZProfileLevel[] |
getProfileLevels()
Returns an array of H.264 profile levels supported by the H.264 encoders installed
|
static int[] |
getProfiles()
Returns an array of H.264 profile levels supported by the H.264 encoders installed
|
static WZProfileLevel |
ProfileLevelToWZProfileLevel(MediaCodecInfo.CodecProfileLevel profileLevel) |
static MediaCodecInfo.CodecProfileLevel |
WZProfileLevelToProfileLevel(WZProfileLevel profileLevel) |
public static final String H264_MIME_TYPE
public static final String AAC_MIME_TYPE
public static MediaCodecInfo[] getCodecsForType(String mimeType)
mimeType
- The mime-type of the desired media type (e.g. "video/avc")public static MediaCodecInfo[] getEncodersForType(String mimeType)
mimeType
- The mime-type of the desired media type (e.g. "video/avc")public static MediaCodecInfo[] getDecodersForType(String mimeType)
mimeType
- The mime-type of the desired media type (e.g. "video/avc")public static int[] getProfiles()
public static WZProfileLevel[] getProfileLevels()
public static MediaCodecInfo.CodecProfileLevel WZProfileLevelToProfileLevel(WZProfileLevel profileLevel)
public static WZProfileLevel ProfileLevelToWZProfileLevel(MediaCodecInfo.CodecProfileLevel profileLevel)
public static String getCodecInfo()
© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal