Skip to content

Commit e24e6be

Browse files
committed
updated tutorial according to new format
1 parent d0170c0 commit e24e6be

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

livestreaming_tutorial/lib/main.dart

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ Future<void> main() async {
1919
userToken: 'REPLACE_WITH_TOKEN',
2020
);
2121

22+
// For connecting anonymous users
23+
// StreamVideo(
24+
// 'REPLACE_WITH_API_KEY',
25+
// user: User.anonymous(),
26+
// userToken: 'REPLACE_WITH_TOKEN',
27+
// );
28+
2229
runApp(
2330
const MaterialApp(
2431
home: HomeScreen(),

livestreaming_tutorial/lib/view_livestream_screen.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ViewLivestreamScreen extends StatefulWidget {
99
}
1010

1111
class _ViewLivestreamScreenState extends State<ViewLivestreamScreen> {
12-
final callId = "REPLACE_WITH_LIVESTREAM_ID";
12+
final callId = "REPLACE_WITH_CALL_ID";
1313

1414
late Call? _livestreamCall;
1515

0 commit comments

Comments
 (0)