Open ugintl opened 4 years ago
You can use similar solution to the one provided in this example - you have a service, listening to the connection which is always running and triggering the different actions / screens.
To oversimplify the way it works - first you need to handshake the two clients. They exchange packages - they start to send "offers" on different ports until they can "meet and agree on something". After handshake they talk on those ports directly. The only need for server in my example is to establish those handshakes. If you know those devices IPs or have some way of talking to device-to-device you do not need server of any kind for the handshake. Another issue is if those two devices are not in the same network - then you might need external servers to establish the port mapping. For more info just check some online documentation - there are very nice articles.
If you contact me directly would be happy to help you with more info.
How can I integrate webrtc to an existing app?
Is there any technique which allows app to app audio video calls without a backend server?