AdaptivePlayback模式用于判断codec在seekTo后是否需要flush()
截止目前目前支持到 minSdkVersion 19 版本
MediaCodecInfo codecInfo = videoCodec.getCodecInfo(); //从videoCodec中获取codecInfo
for(String type: codecInfo.getSupportedTypes()) {
boolean ap = codecInfo.getCapabilitiesForType(type).isFeatureSupported(MediaCodecInfo.CodecCapabilities.FEATURE_AdaptivePlayback);
Log.i(TAG, "supports adaptive playback: " + ap);
}