From 51328c4fc3e72c0c45585f10a92a62964bc71ef3 Mon Sep 17 00:00:00 2001 From: cloudwebrtc Date: Mon, 9 Dec 2024 09:31:11 +0800 Subject: [PATCH] update. --- example/lib/main.dart | 2 +- lib/src/context/room_context.dart | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index effb54c..7b677df 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -38,7 +38,7 @@ class MyApp extends StatelessWidget { class MyHomePage extends StatelessWidget { const MyHomePage({super.key}); - final url = 'ws://localhost:7880'; + final url = 'wss://livekit.example.com'; final token = 'your_token_here'; /// handle join button pressed, fetch connection details and connect to room. diff --git a/lib/src/context/room_context.dart b/lib/src/context/room_context.dart index 21f0a16..47cb730 100644 --- a/lib/src/context/room_context.dart +++ b/lib/src/context/room_context.dart @@ -199,7 +199,10 @@ class RoomContext extends ChangeNotifier with ChatContextMixin { /// Get the [Room] instance. Room get room => _room; - /// enable audio visualizer + /// enable audio visualizer, default is false + /// if true, the audio visualizer will be enabled in the room. + /// you can use the [AudioVisualizerWidget] widget to show the + /// audio visualizer. final bool enableAudioVisulizer; String? _roomName;