In case anyone else has got the same problem: My set-up now covers all of the above settings/checks as posted, EXCEPT there must have been something wrong with how I used the ‘ToggleSpeaking’ command.
Once I passed ‘ToggleSpeaking 1’ for each player, voice chat was working. Only that command did actually need to be given, otherwise the voice chat did not work.
from all i read the voice chat requires you use sessions. is that what you did to get this far? also it suggested that it will work with the lan version of multiplayer where you have a listen server but not with a dedicated server or mmo type setup. any feedback on that info?
I believe it’s true that a properly set up session is required to make voice chat work in an internet multiplayer application. I had a programmer help me on this and even though I don’t fully understand the details I think in the end he implemented an online subsystem that takes care of proper session setup and matchmaking so that voice chat works. Apologies, I don’t understand enough to be more specific.
As far as LAN or Internet is concerned: that was my problem from the get go: in LAN my own setup worked (as detailed in my original post and my feedback below “Got it working…”) but not when running the app over the internet. For that to work I needed to have that custom online subsystem implemented. I went for that custom solution because I also wanted to avoid existing third party platforms like steam. This is all very experimental I guess and I would not suggest this is the best way to go. I myself have not yet taken this any further than to create a working demo.
You can use this plugin for voice chat, it works Cross-platform on Windows, Android, iOS. It works on both no session based game and session based game.
You can do global, team and proximity voice chat.
It is optimized with the usage of opus codec,
and you can choose microphone sampling rate and number of channels, you can also get the raw Pcm data of microphone input.
Hello!
Can we exchange this voice chat?I don’t know how to contact you, but I can leave my email address(1281688965@qq.com).I want to contact you by email.