-
public class HBRecorderCodecInfoCreated by HBiSoft on 13 Aug 2019 Copyright (c) 2019 . All rights reserved.
-
-
Field Summary
Fields Modifier and Type Field Description private ContextcontextArrayList<String>supportedVideoFormatsArrayList<String>supportedAudioFormats
-
Method Summary
Modifier and Type Method Description voidsetContext(Context c)ArrayList<String>getSupportedVideoFormats()ArrayList<String>getSupportedAudioFormats()final MediaCodecInfoselectVideoCodec(String mimeType)StringgetDefaultVideoEncoderName(String mimeType)StringgetDefaultVideoFormat()booleanisSizeAndFramerateSupported(int width, int height, int fps, String mimeType, int orientation)booleanisMimeTypeSupported(String mimeType)booleanisSizeSupported(int width, int height, String mimeType)doublegetMaxSupportedFrameRate(int width, int height, String mimeType)intgetMaxSupportedBitrate(String mimeType)HashMap<String, String>getSupportedVideoMimeTypes()HashMap<String, String>getSupportedAudioMimeTypes()-
-
Method Detail
-
setContext
void setContext(Context c)
-
getSupportedVideoFormats
ArrayList<String> getSupportedVideoFormats()
-
getSupportedAudioFormats
ArrayList<String> getSupportedAudioFormats()
-
selectVideoCodec
final MediaCodecInfo selectVideoCodec(String mimeType)
-
getDefaultVideoEncoderName
String getDefaultVideoEncoderName(String mimeType)
-
getDefaultVideoFormat
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) String getDefaultVideoFormat()
-
isSizeAndFramerateSupported
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) boolean isSizeAndFramerateSupported(int width, int height, int fps, String mimeType, int orientation)
-
isMimeTypeSupported
boolean isMimeTypeSupported(String mimeType)
-
isSizeSupported
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) boolean isSizeSupported(int width, int height, String mimeType)
-
getMaxSupportedFrameRate
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) double getMaxSupportedFrameRate(int width, int height, String mimeType)
-
getMaxSupportedBitrate
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) int getMaxSupportedBitrate(String mimeType)
-
getSupportedVideoMimeTypes
HashMap<String, String> getSupportedVideoMimeTypes()
-
getSupportedAudioMimeTypes
HashMap<String, String> getSupportedAudioMimeTypes()
-
-
-
-