protected static class Session.ConfigurableSessionOptions extends Session.DefaultSessionOptions
Modifier and Type | Method and Description |
---|---|
boolean |
isHwDecodingSupported()
Return
true for devices that should use the Android
MediaCodec class to decode video. |
isCamera2Capable
public boolean isHwDecodingSupported()
Session.SessionOptions
true
for devices that should use the Android
MediaCodec class to decode video. Return false
for other devices.
This can provide hardware decoding and improved performance on supported devices.
However, we recommend testing on devices that return true
for this method.