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