xulipa
xulipa2w ago

Meta Speech Recognition and Voice Chat not working at the same time

Meta Speech Recognition and Voice Chat not working at the same time. How can we fix? It’s Voice SDK from wit.ai (Meta)
3 Replies
kapa.ai
kapa.ai2w ago
Hi @xulipa. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources do not contain specific information about using Meta Speech Recognition (Voice SDK from wit.ai) and Normcore's voice chat simultaneously, or about resolving conflicts between them. However, I can confirm the following from the documentation: - Normcore's voice chat uses the RealtimeAvatarVoice component, which manages microphone access for sending and receiving audio streams in multiplayer environments. It automatically creates a microphone stream for the local user and plays back remote audio using Unity's audio engine. Only one component can own the microphone at a time, and Normcore expects to have access to the microphone when voice chat is enabled Voice Chat Guide. - If microphone access fails (for example, if another SDK is using it), Normcore will print an error to the console. The documentation recommends checking microphone permissions and ensuring the correct device is selected Voice Chat Common Questions. Since both the Meta Voice SDK and Normcore voice chat require access to the microphone, conflicts can occur if both try to access it simultaneously. The documentation does not provide a built-in solution for sharing microphone access between these two systems. Recommended next steps: - Ensure that only one system is accessing the microphone at a time, or look for a way to coordinate microphone access between the two SDKs. - Check the Unity console for error messages from either SDK to help diagnose which one is failing to access the microphone. - If you need further assistance, the Normcore documentation suggests reaching out to the Normcore community on their Discord for support. If you need more detailed troubleshooting or a workaround, please provide additional details or consult the official support channels for both Normcore and the Meta Voice SDK. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2w ago
<@725231244169707600> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
maxweisel
maxweisel2w ago
I'd need more information. What isn't working? What errors are you getting? Are you using any Normcore APIs for the voice part? On Android if multiple things bind to the microphone, only one will work, the rest will return silence RealtimeAvatarVoice has a voiceData property where you can hook and get audio buffers to pass to another API

Did you find this page helpful?