ikbencasdoei / godot-voip

godot-voip is a Godot Engine addon which makes it very easy to setup a real-time voice-chat system in your Godot game. This addon also includes a demo project.
https://godotengine.org/asset-library/asset/425
MIT License
196 stars 13 forks source link

Error In Demo #13

Closed ComputerASCII closed 3 years ago

ComputerASCII commented 3 years ago
Screen Shot 2021-05-16 at 1 52 02 PM

I downloaded it straight from your latest release on GitHub. I wouldn't be surprised if I'm just doing it wrong, but I would certainly appreciate your help troubleshooting this. I'm using Godot version 3.3 stable. I read and attempted to follow the readme.

ikbencasdoei commented 3 years ago

Can you tell when the errors start appearing exactly? Also are there things that still work? I assume you didn't make any changes.

ikbencasdoei commented 3 years ago

Also, what platform are you on?

ComputerASCII commented 3 years ago

Can you tell when the errors start appearing exactly? Also are there things that still work? I assume you didn't make any changes.

The error occurs when I click start server and then listen. The errors continue to stack up until the program is closed. When I click start client before pressing start server, it says "Status: Failed to connect to server!". I did not mess with the default settings.

Also, what platform are you on?

I'm on Macintosh, but I also have a PC (which I have not tried this on yet)

ikbencasdoei commented 3 years ago

Do the errors also occur when starting a server and then speaking but with listening disabled?

ComputerASCII commented 3 years ago
Screen Shot 2021-05-17 at 12 48 26 PM

Yes.

Screen Shot 2021-05-17 at 12 51 32 PM

This only pops up the first time you install it so I didn't get a screenshot at first, but it's definitely part of the problem.

Unable to load addon script from path: 'res://addons/godot-voip/plugin.gd' There seems to be an error in the code, please check the syntax.

ikbencasdoei commented 3 years ago

Thank you for showing me the popup. I fixed it but it is not related.

I just found this issue with the same problem: https://github.com/godotengine/godot/issues/35445. Someone fixed it by setting the mix_rate in the project-settings to match the mix_rate setting in macOS.

ComputerASCII commented 3 years ago

Thank you for showing me the popup. I fixed it but it is not related.

Alright lol, shows how much I need to learn. Glad I could help.

I just found this issue with the same problem: godotengine/godot#35445. Someone fixed it by setting the mix_rate in the project-settings to match the mix_rate setting in macOS.

Screen Shot 2021-05-17 at 3 22 07 PM

That worked like a charm, all I had to do was change the format to 44,100 Hz in Audio MIDI setup. Closing this issue, thanks for helping and for making this add-on.