flutter-webrtc / flutter-webrtc-demo

Demo for flutter-webrtc
MIT License
1.14k stars 413 forks source link

the demo doesn't work with flutter webrtc server #212

Open JosephKalash opened 1 year ago

JosephKalash commented 1 year ago

I downloaded this demo project and installed on my mobile device. Then i downloaded the flutter-webrtc-server and run it on terminal and show log "listening on 0.0.0.0:8086"

but when i added this ip for P2P call sample it doesn't show anything and I tried the web demo and the result was the same.

Does i do something wrong what the server address should i add on the dialog???

glennmichaelmejias commented 10 months ago

whats wrong with this plugin?

yulian948 commented 8 months ago

@JosephKalash The server works as expected. You need to enter its address and not the loopback address (0.0.0.0) in your P2P call sample. You can use ifconfig terminal command to retrieve the address of your computer.

LukeDickerson19 commented 8 months ago

It's not working with demo.cloudwebrtc.com

android client

connect to https://demo.cloudwebrtc.com:8086/ws
Closed by server [500 => SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = demo.cloudwebrtc.com, port = 40610]!

it did work when i ran the server on Digital Ocean though :)