mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-29 03:37:17 +00:00
c02d54b6ff
Apply the `VOICE_AUDIO_CONSTRAINTS` to the audio track used during the active meeting to reduce bandwidth usage. * Originally proposed by trummerschlunk to reduce bandwidth, but previously restricted to the join screen preview. * Backport the standard voice constraints (48 kHz sample rate, mono channel, 16-bit sample size) to the active call session, as requested by the BBBA team.
10 lines
212 B
TypeScript
10 lines
212 B
TypeScript
export const VOICE_AUDIO_CONSTRAINTS = {
|
|
noiseSuppression: true,
|
|
echoCancellation: true,
|
|
autoGainControl: true,
|
|
voiceIsolation: false,
|
|
sampleRate: 48000,
|
|
channelCount: 1,
|
|
sampleSize: 16,
|
|
} as const
|