📱 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.
If you're interested in knowing more about building a Flutter WebRTC app, check out the following blog post: WebRTC Video Calling with Flutter
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.