File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ class _PreJoinPageState extends State<PreJoinPage> {
212212 screenShareEncoding: screenEncoding,
213213 ),
214214 e2eeOptions: e2eeOptions,
215+ enableVisualizer: true ,
215216 ),
216217 );
217218 // Create a Listener before connecting
Original file line number Diff line number Diff line change @@ -115,7 +115,12 @@ class RoomOptions {
115115 /// Options for end-to-end encryption.
116116 final E2EEOptions ? e2eeOptions;
117117
118- /// Enable visualizer for audio tracks. Defaults to true.
118+ /// audio visualizer is disabled by default
119+ /// When enabled, the native layer will register an FFI audio analyzer
120+ /// and will emit AudioVisualizerEvent events from AudioTrack.
121+ /// You can use SoundWaveformWidget (example/lib/widgets/sound_waveform.dart)
122+ /// to display the audio wave. Or write a custom widget to visualize the audio
123+ /// wave.
119124 final bool enableVisualizer;
120125
121126 const RoomOptions ({
@@ -129,7 +134,7 @@ class RoomOptions {
129134 this .dynacast = false ,
130135 this .stopLocalTrackOnUnpublish = true ,
131136 this .e2eeOptions,
132- this .enableVisualizer = true ,
137+ this .enableVisualizer = false ,
133138 });
134139
135140 RoomOptions copyWith ({
You can’t perform that action at this time.
0 commit comments