Giter VIP home page Giter VIP logo

Comments (5)

adrenak avatar adrenak commented on May 22, 2024 1

I'm not renting a server for the sample app. In that, one user creates a server locally on the wifi and the other joins it. Since the server user is on WLAN, the client user also must be on WLAN. There's no signalling server in Telepathy. It just has a client-server with IP address "localhost"

If you host a Telepathy app on a server and get users to connect to it via its IP address, they would connect regardless of their them being on wifi or cellular and should be able to connect from anywhere globally. But that's Telepathy specific stuff, univoice doesn't have anything to do with it, it just needs an IP address to connect to. The telepathy docs have some tutorials you can refer to. You'd have to make a server build (windows or linux depending on your servers OS) that the clients can connect to.

from univoice.

miladxandi avatar miladxandi commented on May 22, 2024
  • is it working with IPv6 or not?
  • is it really hosted by one user? so what is the signaling server? how can we host our server?
  • can we connect it to google webrtc and firebase?

from univoice.

miladxandi avatar miladxandi commented on May 22, 2024

We need to host a call on the server but you wrote on Reddit:
There is no server, the server just establishes a direct connection between the peers and then gets out of the way.

Does that mean we cannot let users connect from everywhere?
Does that mean for any call it should be one traffic host? how can we resolve it?
we want the server handles the traffic

from univoice.

adrenak avatar adrenak commented on May 22, 2024

Hey @miladxandi the reddit post is pretty old and from UniVoice v1. It used airpeer, a webrtc library where I was hosting the signalling server

Now univoice is network agnostic, whereas the airpeer based webrtc network implementation is no longer recommended due to the following reasons:

  • native libs used in airpeer were not IL2CPP compatible
  • there were several issues with NAT punching, probably what is causing the cellular-wifi issue you describe. Such issues are common with webrtc and need fallbacks

Unity has its com.unity.webrtc package that might be a better fit for peer to peer.

Univoice works with any underlying network as long as you make a IChatroomNetwork implementation of it. Currently the ones that work best are mirror and telepathy based ones that you can look into. Note that this would require you to host your own server that can create chatrooms.

Next gen of univoice (v4) is on the way with several improvements, which you can wait for. Otherwise DM be on Discord adrenak#1934 where I can help you out more.

from univoice.

miladxandi avatar miladxandi commented on May 22, 2024

I mean I couldn`t connect two devices from different networks! what is the reason for it? your sample project is based on Telepathy only?
Are that sample project and its signaling server supported by an open network connection? even outside of the local network?

from univoice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.