/webrtc-in-flutter

📱 This project demonstrates WebRTC protocol to facilitate real-time video communications with Flutter.

Primary LanguageDart

webrtc_in_flutter

WebRTC for Flutter Header image

📱 This project demonstrates WebRTC protocol to facilitate real-time video communications with Flutter.

This guide is a simplified version of the tutorial for the flutter_webrtc plugin found here.

✍️ Technical Content

If you're interested in knowing more about building a Flutter WebRTC app, check out the following blog post: WebRTC Video Calling with Flutter

Stream Chat

Stream Video

💻 How to build the project?

This project contains the app that can be used for P2P calls on Flutter. However, there is also a signaling server needed for the same.

The signaling server used by the app is the flutter_webrtc_server which also needs to be used.

To run the signaling server, clone the project and change the directory to the project.

Then run these commands to generate a certificate:

brew update
brew install mkcert
mkcert -key-file configs/certs/key.pem -cert-file configs/certs/cert.pem  localhost 127.0.0.1 ::1 0.0.0.0

And then these commands to run the server:

brew install golang
go run cmd/server/main.go

You can then use https://0.0.0.0:8086 to use the web demo provided by the project.