You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When joining a meeting, only enable WebAudio when Voice Focus is both supported and desired by the user. Enabling WebAudio may cause browsers to disable their built-in noise cancellation features. If Voice Focus is not supported in this scenario, users will experience degraded audio quality due to the loss of both browser-level and SDK-level noise suppression. To prevent this, implement a conditional check: `enableWebAudio: userWantsVoiceFocus && (isVoiceFocusSupported === true)`
32
+
33
+
- userWantsVoiceFocus: Your application's user preference (e.g., checkbox state)
34
+
- isVoiceFocusSupported: SDK-provided capability check from useVoiceFocus hook
35
+
36
+
This ensures WebAudio is only activated when Voice Focus can provide effective noise cancellation, maintaining optimal audio quality across all browser environments and device capabilities.
Copy file name to clipboardExpand all lines: src/providers/MeetingProvider/docs/MeetingManager.mdx
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,24 @@ options?: {
55
55
eventController?:EventController;
56
56
57
57
// If you want to enable Amazon Voice Focus feature, you should enable Web Audio for the meeting and pass the `enableWebAudio` prop with value set to `true`.
58
-
// By default, `enableWebAudio` is `false`.
58
+
// Recommended: Only enable WebAudio when Voice Focus is both supported and desired by the user.
59
+
//
60
+
// Why this matters:
61
+
// - Enabling WebAudio may cause browsers to disable built-in noise cancellation
62
+
// - If Voice Focus is unsupported, users lose both browser-level AND SDK-level noise suppression
63
+
// - This results in significantly degraded audio quality
Copy file name to clipboardExpand all lines: src/providers/VoiceFocusProvider/docs/VoiceFocusProvider.mdx
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,23 @@ the provider is unmounted.
15
15
This provider is independent from `MeetingProvider`. You can put `VoiceFocusProvider` wherever you want in the component tree to control the workflow of Voice Focus, so long
16
16
as any component which relies on `VoiceFocusProvider` is nested within `VoiceFocusProvider`.
17
17
18
+
## Prerequisites
19
+
20
+
Amazon Voice Focus and Echo Reduction features require Web Audio to be enabled in your meeting session. Configure this when joining a meeting:
When joining a meeting, only enable WebAudio when Voice Focus is both supported and desired by the user. Enabling WebAudio may cause browsers to disable their built-in noise cancellation features. If Voice Focus is not supported in this scenario, users will experience degraded audio quality due to the loss of both browser-level and SDK-level noise suppression. To prevent this, implement a conditional check: `enableWebAudio: userWantsVoiceFocus && (isVoiceFocusSupported === true)`
29
+
30
+
- userWantsVoiceFocus: Your application's user preference (e.g., checkbox state)
31
+
- isVoiceFocusSupported: SDK-provided capability check from useVoiceFocus hook
32
+
33
+
This ensures WebAudio is only activated when Voice Focus can provide effective noise cancellation, maintaining optimal audio quality across all browser environments and device capabilities.
0 commit comments