janus_client 0.0.3 copy "janus_client: ^0.0.3" to clipboard
janus_client: ^0.0.3 copied to clipboard

outdated

janus gateway client for dart

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:janus_client_example/Home.dart';
import 'package:janus_client_example/VideoRoom.dart';
import 'package:janus_client_example/videoCall.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      routes: {
        "/video_call": (c) => VideoCallExample(),
        "/video_room": (c) => VideoRoom(),
        "/": (c) => Home()
      },
    );
  }
}