Voice Focus model, 1:1 room
app/components/VideoRoom.tsx, line 2816
Repository rr7
const echoReductionAvailable =
(credentials.meeting as { MeetingFeatures?: { Audio?: { EchoReduction?: string } } })
?.MeetingFeatures?.Audio?.EchoReduction === 'AVAILABLE';
const specs: VoiceFocusSpec[] = echoReductionAvailable
? [{ name: 'ns_es' }, {}]
: [{}];
// Only where Web Audio is on (chime-device-controller.ts): the probe can pass "inline"
// on a page that is not isolated, and the toggle would then throw at startAudioInput.
if (
chimeWebAudioAvailable()
&& await VoiceFocusDeviceTransformer.isSupported({}, { logger: vfLogger })
) {
for (const spec of specs) {
try {
const candidate = await VoiceFocusDeviceTransformer.create(