Commit df49b31c authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add the isHDVideoCapable() method.

parent fc727716
......@@ -96,6 +96,10 @@ public class Version {
public static boolean isVideoCapable() {
return !Version.sdkStrictlyBelow(5) && isArmv7() && Hacks.hasCamera();
}
public static boolean isHDVideoCapable() {
int availableCores = Runtime.getRuntime().availableProcessors();
return isVideoCapable() && (availableCores > 1);
}
private static Boolean sCacheHasZrtp;
public static boolean hasZrtp(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment