flutter-webrtc-server
A simple WebRTC Signaling server for flutter-webrtc and html5.
Online Demo: https://demo.cloudwebrtc.com:8086/
Features
- Support Windows/Linux/macOS
- Built-in web, signaling, turn server
- Support REST API For Access To TURN Services
- Use flutter-webrtc-demo for all platforms.
Usage
Setup from Binary
- Download
wget https://github.com/cloudwebrtc/flutter-webrtc-server/releases/download/1.0/flutter-webrtc-server-bin-1.0.zip
mkdir flutter-webrtc-server
unzip flutter-webrtc-server-bin-1.0.zip -d flutter-webrtc-server
- Run
cd flutter-webrtc-server
# for macOS
./bin/server-darwin-amd64
# for Linux
./bin/server-linux-amd64
# for Windows
./bin/server-windows-i386.exe
Open https://0.0.0.0:8086.
Compile from Source
- Clone the repository, run
make
. - Run
./bin/server-{platform}-{arch}
and open https://0.0.0.0:8086 to use html5 demo. - If you need to test mobile app, please check the webrtc-flutter-demo.
Note
This example can only be used for LAN testing. If you need to use it in a production environment, you need more testing and and deploy an available turn server.