Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample univoice : not able to join a chat #1

Open
shahiltp opened this issue Sep 27, 2022 · 1 comment
Open

sample univoice : not able to join a chat #1

shahiltp opened this issue Sep 27, 2022 · 1 comment
Labels
question Further information is requested

Comments

@shahiltp
Copy link

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
Copy link
Owner

adrenak commented Sep 27, 2022

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:

  • Have two machines running on the same network
  • One will be made the host. Take a note of the IP address that it prints in the console. If the host is an Android device, you could edit the scene to show its IPv4 address on the UI by using this function
  • The other will join by entering that address in its UI input field

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.

@adrenak adrenak added help wanted Extra attention is needed question Further information is requested and removed help wanted Extra attention is needed labels Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants