Java Code Examples for android.media.MediaCodecInfo.CodecCapabilities#isFeatureSupported()

The following examples show how to use android.media.MediaCodecInfo.CodecCapabilities#isFeatureSupported() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MediaCodecInfo.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isSecureV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 2
Source File: MediaCodecUtil.java    From Telegram-FOSS with GNU General Public License v2.0 4 votes vote down vote up
@Override
public boolean isFeatureSupported(
    String feature, String mimeType, CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(feature);
}
 
Example 3
Source File: MediaCodecInfo.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isSecureV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 4
Source File: MediaCodecInfo.java    From Telegram-FOSS with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isTunnelingV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_TunneledPlayback);
}
 
Example 5
Source File: MediaCodecUtil.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
@Override
public boolean isFeatureSupported(
    String feature, String mimeType, CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(feature);
}
 
Example 6
Source File: MediaCodecUtil.java    From Exoplayer_VLC with Apache License 2.0 4 votes vote down vote up
@TargetApi(19)
private static boolean isAdaptiveV19(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
}
 
Example 7
Source File: MediaCodecUtil.java    From K-Sonic with MIT License 4 votes vote down vote up
@Override
public boolean isSecurePlaybackSupported(String mimeType, CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 8
Source File: MediaCodecInfo.java    From K-Sonic with MIT License 4 votes vote down vote up
@TargetApi(21)
private static boolean isTunnelingV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_TunneledPlayback);
}
 
Example 9
Source File: MediaCodecInfo.java    From K-Sonic with MIT License 4 votes vote down vote up
@TargetApi(19)
private static boolean isAdaptiveV19(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
}
 
Example 10
Source File: MediaCodecUtil.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public boolean isSecurePlaybackSupported(String mimeType, CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 11
Source File: MediaCodecInfo.java    From MediaSDK with Apache License 2.0 4 votes vote down vote up
@TargetApi(19)
private static boolean isAdaptiveV19(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
}
 
Example 12
Source File: MediaCodecInfo.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isTunnelingV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_TunneledPlayback);
}
 
Example 13
Source File: MediaCodecInfo.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(19)
private static boolean isAdaptiveV19(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
}
 
Example 14
Source File: MediaCodecUtil.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
public boolean isSecurePlaybackSupported(String mimeType, CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 15
Source File: MediaCodecInfo.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isSecureV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 16
Source File: MediaCodecInfo.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isTunnelingV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_TunneledPlayback);
}
 
Example 17
Source File: MediaCodecInfo.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(19)
private static boolean isAdaptiveV19(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
}
 
Example 18
Source File: MediaCodecInfo.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isTunnelingV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_TunneledPlayback);
}
 
Example 19
Source File: MediaCodecInfo.java    From MediaSDK with Apache License 2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isSecureV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback);
}
 
Example 20
Source File: MediaCodecInfo.java    From MediaSDK with Apache License 2.0 4 votes vote down vote up
@TargetApi(21)
private static boolean isTunnelingV21(CodecCapabilities capabilities) {
  return capabilities.isFeatureSupported(CodecCapabilities.FEATURE_TunneledPlayback);
}