Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Dec 9, 2024
1 parent b87a3e4 commit 51328c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 4 additions & 1 deletion lib/src/context/room_context.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51328c4

Please sign in to comment.