How can I make in game voice communication?
I have not been able to find any examples online so I'm trying to use information in the documentation to help develop a means of in game voice chat.
I'm trying to check for voice input from a microphone.
OnlineVoiceImpl and VoiceEngineImp look good places to start but including either of the headers for these classes breaks my build.
Any help will be greatly appreciated.
Voice support is fully supported on any Steam platform. Additionally I have implemented voice support using the Opus Codec. The codec itself is implemented and integrated for Mac/Linux/Windows, but I have only implemented voice capture support for Windows via DirectSound. The Mac/Linux mic capture would need to be implemented.
It should be working in Shootergame, although there may be a few ini settings that need to be verified. Most things should be handled for you, if you use the OnlineSubsystem
If you want push to talk, you'll need to implement a key input binding and then call Start/StopNetworkedVoice. Look at ToggleSpeaking, an exec function on PlayerController. I'm not well versed on the Input mapping code, but the entries here call exec functions or bind to keys.
Follow this question
Once you sign in you will be able to subscribe for any updates here