trendcas_live 1.4.4 copy "trendcas_live: ^1.4.4" to clipboard
trendcas_live: ^1.4.4 copied to clipboard

Flutter Client SDK for LiveKit. Build real-time video and audio into your apps. Supports iOS, Android, and Web.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:trendcas_live_example/theme.dart';
import 'package:logging/logging.dart';
import 'package:intl/intl.dart';
import 'pages/connect.dart';

void main() async {
  final format = DateFormat('HH:mm:ss');
  // configure logs for debugging
  Logger.root.level = Level.FINE;
  Logger.root.onRecord.listen((record) {
    print('${format.format(record.time)}: ${record.message}');
  });

  WidgetsFlutterBinding.ensureInitialized();

  runApp(const LiveKitExampleApp());
}

class LiveKitExampleApp extends StatelessWidget {
  //
  const LiveKitExampleApp({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Trendcas Live',
        theme: LiveKitTheme().buildThemeData(context),
        home: const ConnectPage(),
      );
}
0
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Flutter Client SDK for LiveKit. Build real-time video and audio into your apps. Supports iOS, Android, and Web.

Homepage

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

async, collection, connectivity_plus, cryptography, dart_webrtc, device_info_plus, fixnum, flutter, flutter_web_plugins, flutter_webrtc, flutter_window_close, http, js, logging, meta, platform_detect, protobuf, synchronized, uuid

More

Packages that depend on trendcas_live