univoice icon indicating copy to clipboard operation
univoice copied to clipboard

peers on different networks are often unable to connect.,is this problem solved?

Open Arsterlowar opened this issue 2 years ago • 3 comments

Arsterlowar avatar May 26 '22 01:05 Arsterlowar

No that unfortunately is an issue that's not been addressed. The problem seems to be at NAT punching level. You might want to check out com.unity.webrtc (or OpenNAT) and make your own networking implementation based on them, leaving univoice to only do the audio stuff.

adrenak avatar May 26 '22 12:05 adrenak

@adrenak So using an alternative backend for establishing the connection, like going with some relay server could solve this 100% connectivity issue, or have I misunderstood?

julian-innerchild avatar Jun 07 '22 16:06 julian-innerchild

@julian-innerchild yes iiuc. Do keep in mind that univoice uses airpeer, which uses airsignal (JS running on cloud) all these are repos on my profile if you need to have a look.

You can directly replace airpeer with unity's webrtc, for example. You'd need to make an IChatroomNetwork implementation that uses unity's webrtc. Then use that instead of AirPeerUniVoiceNetwork, which is the default implementation in the repository.

adrenak avatar Jun 07 '22 22:06 adrenak

I have connection issue when peers are not in the same network. Anybody has IChatroomNetwork implementation that uses unity's webrtc?

saeed30 avatar Nov 17 '23 11:11 saeed30

Closing as this is airpeer related and discussions point towards a need for a new webrtc implementation.

adrenak avatar Jan 11 '24 15:01 adrenak