videosdk 5.0.0-beta.2
videosdk: ^5.0.0-beta.2 copied to clipboard
Video SDK Flutter to simply integrate Audio & Video Calling API or Live Video Streaming API to your app with just a few lines of code.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'rust/join_screen.dart';
import 'rust/theme.dart';
/// Entry point for the VideoSDK sample app.
///
/// The app is written against the public API — `package:videosdk/videosdk.dart`
/// — which is the same surface 3.12.x shipped. The meeting engine underneath it
/// is the native Android/iOS SDK, but nothing here has to know that.
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await dotenv.load(fileName: ".env");
runApp(const VideoSDKExampleApp());
}
class VideoSDKExampleApp extends StatelessWidget {
const VideoSDKExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'VideoSDK Example',
debugShowCheckedModeBanner: false,
theme: T.theme,
home: const JoinScreen(),
);
}
}