Use new audio device module in alpha and beta

This commit is contained in:
Evan Hahn 2021-09-29 13:30:42 -05:00 committed by GitHub
parent f3e07e5376
commit 64fc234490
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 372 additions and 52 deletions

View file

@ -6,6 +6,7 @@ import type {
CustomColorsItemType,
DefaultConversationColorType,
} from './Colors';
import type { AudioDeviceModule } from '../calling/audioDeviceModule';
import type { PhoneNumberDiscoverability } from '../util/phoneNumberDiscoverability';
import type { PhoneNumberSharingMode } from '../util/phoneNumberSharingMode';
import type { RetryItemType } from '../util/retryPlaceholders';
@ -113,6 +114,7 @@ export type StorageAccessType = {
'preferred-video-input-device': string;
'preferred-audio-input-device': AudioDevice;
'preferred-audio-output-device': AudioDevice;
previousAudioDeviceModule: AudioDeviceModule;
remoteConfig: RemoteConfigType;
unidentifiedDeliveryIndicators: boolean;
groupCredentials: Array<GroupCredentialType>;

View file

@ -26,6 +26,7 @@ export const STORAGE_UI_KEYS: ReadonlyArray<keyof StorageAccessType> = [
'preferred-audio-input-device',
'preferred-audio-output-device',
'preferredReactionEmoji',
'previousAudioDeviceModule',
'skinTone',
'zoomFactor',
];