twilio_programmable_video 0.3.1+1 copy "twilio_programmable_video: ^0.3.1+1" to clipboard
twilio_programmable_video: ^0.3.1+1 copied to clipboard

outdated

Flutter plugin for Twilio Programmable Video, which enables you to build real-time videocall applications (WebRTC)

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:provider/provider.dart';
import 'package:twilio_programmable_video_example/debug.dart';
import 'package:twilio_programmable_video_example/room/join_room_page.dart';
import 'package:twilio_programmable_video_example/shared/services/backend_service.dart';

void main() {
  Debug.enabled = true;
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations(<DeviceOrientation>[
    DeviceOrientation.landscapeRight,
    DeviceOrientation.landscapeLeft,
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
  ]);
  runApp(TwilioProgrammableVideoExample());
}

class TwilioProgrammableVideoExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Provider<BackendService>(
      create: (_) => FirebaseFunctions.instance,
      child: MaterialApp(
        title: 'Twilio Programmable Video',
        theme: ThemeData(
          primarySwatch: Colors.blue,
          appBarTheme: AppBarTheme(
            color: Colors.blue,
            textTheme: TextTheme(
              title: TextStyle(
                fontSize: 20,
                fontWeight: FontWeight.w500,
                color: Colors.white,
              ),
            ),
          ),
        ),
        home: JoinRoomPage(),
      ),
    );
  }
}
254
likes
0
pub points
91%
popularity

Publisher

verified publisherwolfenra.in

Flutter plugin for Twilio Programmable Video, which enables you to build real-time videocall applications (WebRTC)

Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

enum_to_string, flutter, permission_handler

More

Packages that depend on twilio_programmable_video