Try Live Demo

Video conferencing apps are a type of virtual online meeting where two or more people use video and audio to make a call in real time. During the pandemic, the culture of remote work has become widespread. As a result of that, meeting online is very popular nowadays. Did you know that you can easily develop your own conference application?

Here is a quick tutorial to create a conference solution easily on Flutter.

Before we start on how to make a video conferencing flutter app, l wanted to give some information about Ant Media Server’s Flutter SDK and Conference Solution.

Ant Media’s Flutter WebRTC SDK lets you build your own Flutter applications that can publish and play WebRTC broadcasts with just a few lines of code.

Besides, you can also benefit from Flutter’s multi-platform features, and build video conferencing apps not just for mobile but Mac OS and Windows apps as well.

You can get complete documentation of Flutter SDK from here

When we check Ant Media’s Conference solution, it supports both MCU and SFU topology. Besides that, it’s really easy to create or manage conference rooms through their Rest API.

You can get more information about Conference Solution from here

How to Build a Video Conferencing App with Flutter?

Prerequisites to build video conferencing app with Flutter

Let’s make sure you have the following in your development environment:

For iOS

For Android

Let’s get started building a video conferencing app

Create a Flutter project

On Terminal:

On Android Studio:

1. Open the IDE and select New Flutter Project.
2. Select Flutter, and verify the Flutter SDK path with the SDK’s location. Then click Next.
3. Enter a project name (for example, my_app).
4. Select Application as the project type. Then click Next.
5. Click Finish.
6. Wait for Android Studio to create the project.

Add Dependencies:

Open pubspec.yml and add  ant_media_flutter: ^0.0.8 as dependency.

Go to the lib folder

Add following code inside main.dart

Create a file named route_item.dart and put the code lines below.

Create a file named conference.dart and put the lines below.

Your video conferencing app is ready to run

Run flutter packages get to install dependencies.
Run the project with flutter run

WhatsApp Image 2022 10 24 at 11.45.43

You can also get more information about Ant Media Server’s video conferencing Solution from Create a Conference Solution.

Try Ant Media Server for Free

Explore Ant Media Server now to provide viewers with a unique experience.

Try Ant Media Server for free with its full features including Flutter and other WebRTC SDKs.

You can get started now.

Categories: Tutorial

Mustafa Boleken

Mustafa is a Software Developer at Ant Media. His passion is developing apps that make life easier. Mustafa is proficient in Java, Angular, AWS and Linux. His technical stack includes WebRTC, Typescript, Python, Kubernetes, Docker, SQL, NoSQL, MongoDB, MapDB, Grafana, Swagger, Open API, AWS S3, AWS Autoscaling, AWS Load Balancing, FFmpeg, HLS, RTMP, Node.js, JSON, Git/Github, Tomcat, Nginx, HAProxy, Firebase Cloud Functions, Test Automation, STUN/TURN Server, Bash scripts, and Active Campaign/Freshdesk integrations, HTML, CSS, JavaScript, JWT.

chatsimple