add Samsung S4 to hardware aec blacklist

fixes #4267
This commit is contained in:
Daniel Gultsch 2022-01-18 11:30:17 +01:00
parent eed5c5e743
commit b6442c0bd4

View file

@ -64,8 +64,7 @@ public class WebRTCWrapper {
private static final String EXTENDED_LOGGING_TAG = WebRTCWrapper.class.getSimpleName(); private static final String EXTENDED_LOGGING_TAG = WebRTCWrapper.class.getSimpleName();
private final ExecutorService executorService = Executors.newSingleThreadExecutor(); private final ExecutorService executorService = Executors.newSingleThreadExecutor();
//we should probably keep this in sync with: https://github.com/signalapp/Signal-Android/blob/master/app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java#L296
private static final Set<String> HARDWARE_AEC_BLACKLIST = new ImmutableSet.Builder<String>() private static final Set<String> HARDWARE_AEC_BLACKLIST = new ImmutableSet.Builder<String>()
.add("Pixel") .add("Pixel")
.add("Pixel XL") .add("Pixel XL")
@ -79,6 +78,9 @@ public class WebRTCWrapper {
.add("Redmi Note 5") .add("Redmi Note 5")
.add("FP2") // Fairphone FP2 .add("FP2") // Fairphone FP2
.add("MI 5") .add("MI 5")
.add("GT-I9515") // Samsung Galaxy S4 Value Edition (jfvelte)
.add("GT-I9515L") // Samsung Galaxy S4 Value Edition (jfvelte)
.add("GT-I9505") // Samsung Galaxy S4 (jfltexx)
.build(); .build();
private static final int CAPTURING_RESOLUTION = 1920; private static final int CAPTURING_RESOLUTION = 1920;