Skip to content

blackshadowsoftwareltd/flutter-webrtc-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter-webrtc-server

Fixed Version of the original flutter-webrtc-server

A simple WebRTC Signaling server for flutter-webrtc and html5.

Online Demo: https://demo.cloudwebrtc.com:8086/

Features

Usage

Run from source

  • Clone the repository. and open the project.
cd flutter-webrtc-server
  • Use mkcert to create a self-signed 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
  • Run
brew install golang
go run cmd/server/main.go
  • Open https://0.0.0.0:8086 to use flutter web demo.
  • If you need to test mobile app, please check the webrtc-flutter-demo.

Note

Go to the configs/config.ini file to change the TURN server configuration. and you have to change the public_ip to your public IP or domain, and username and password to your own that will be used in the flutter app.

[turn]
public_ip=<YOUR PUBLIC IP/URL>
port=19302
realm=flutter-webrtc
username=<YOUR USER NAME>
password=<YOUR PASSWORD>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 72.9%
  • JavaScript 23.6%
  • Makefile 2.8%
  • HTML 0.7%