GioviQ / video-chat-experiment

Video chat experiment app developed with Flutter and based on WebRTC
22 stars 3 forks source link

Turn Server #2

Closed hanimiii closed 5 years ago

hanimiii commented 5 years ago

Hello, i am thinking on making my application online for testing purpose. How do you make it so that every other network can access the app? Do you use Turn server? if so, does it still need signaling server or no?

GioviQ commented 5 years ago

Turn server and signaling server have different goals. I use only STUN server, for explanation see https://anyconnect.com/stun-turn-ice/ In https://github.com/GioviQ/video-chat-experiment/blob/master/lib/src/signaling.dart you can see the use of public and free stun server stun.l.google.com:19302. The signaling server is on my own server and manages the online client list and each other calling.

hanimiii commented 5 years ago

Okay i see. I am thinking to create my own stun server but i still need to consider it. So if i use google stun server, i only need to add the coding like signaling.dart to connect to the stun server?

GioviQ commented 5 years ago

Yes

hanimiii commented 5 years ago

Okayy, thank you man. you helped me a lot