adrenak / univoice-sample

A sample voice chat app using univoice
MIT License
11 stars 3 forks source link

sample univoice : not able to join a chat #1

Open shahiltp opened 2 years ago

shahiltp commented 2 years ago

should i create a server in Airsignal or some other make this work ? below mentioned how we proceed : download and run "GroupVoicecallsample" scene on 2 machines (on same network) u ser able to create room because it shows your peer ID is 0 and while trying to join with same name it fails . with an exception. "System.Exception: Could not join chatroom"

adrenak commented 2 years ago

Hi,

The samples and documentation isn't complete yet so I understand the confusion.

Here you can see that the network implementation being used is the telepathy based one.

Network implementation can be changed with a one line configuration. Below that you can see lines that use the AirPeer network but are commented out.

What you have to do is on the same network first start hosting the chatroom, it gets the peer ID 0.

If you're running the Unity editor, you'll see the IPv4 address printed in the console when you run. The printing happens here

Then another machine on the same network needs to connect via its local ipv4 address. To do that, enter the address in the input field and click join.

Summary:

Let me know if you need more clarification. If you wait a couple days, the sample scene and documentation will be made a lot clearer.