mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Enable opus low bitrate redundancy for internal testing.
This commit is contained in:
committed by
Greyson Parrelli
parent
70e64003f9
commit
d20b6f355c
@@ -25,6 +25,7 @@ public final class InternalValues extends SignalStoreValues {
|
||||
public static final String CALLING_AUDIO_PROCESSING_METHOD = "internal.calling_audio_processing_method";
|
||||
public static final String CALLING_DATA_MODE = "internal.calling_bandwidth_mode";
|
||||
public static final String CALLING_DISABLE_TELECOM = "internal.calling_disable_telecom";
|
||||
public static final String CALLING_DISABLE_LBRED = "internal.calling_disable_lbred";
|
||||
public static final String SHAKE_TO_REPORT = "internal.shake_to_report";
|
||||
public static final String DISABLE_STORAGE_SERVICE = "internal.disable_storage_service";
|
||||
public static final String FORCE_WEBSOCKET_MODE = "internal.force_websocket_mode";
|
||||
@@ -172,6 +173,17 @@ public final class InternalValues extends SignalStoreValues {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not LBRed for Opus is manually disabled.
|
||||
*/
|
||||
public synchronized boolean callingDisableLBRed() {
|
||||
if (FeatureFlags.internalUser()) {
|
||||
return getBoolean(CALLING_DISABLE_LBRED, false);
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the system is forced to be in 'websocket mode', where FCM is ignored and we use a foreground service to keep the app alive.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user