diff --git a/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java b/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java index 3ccc135eb..b2a50c8a8 100644 --- a/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java +++ b/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java @@ -307,7 +307,7 @@ public static List getAllEncoders(String mime, boolean hardwareP public static List getAllEncodersCbrPriority(String mime) { List mediaCodecInfoList = new ArrayList<>(); List hardwareEncoders = getAllHardwareEncoders(mime); - List softwareEncoders = getAllHardwareEncoders(mime); + List softwareEncoders = getAllSoftwareEncoders(mime); List hardwareEncodersCbr = new ArrayList<>(); List hardwareEncodersNoCbr = new ArrayList<>();