fgamez1020
fgamez10202w ago

Avatar Audio

after accepting microphone permissions when connecting to a room the musci of my app stops playing and it does not come back.
8 Replies
kapa.ai
kapa.ai2w ago
Hi @fgamez1020. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the information provided in the knowledge sources, there isn't specific information about music stopping when accepting microphone permissions in a NormalVR app. However, I can provide some general guidance related to audio and microphone usage in NormalVR: 1. Microphone permissions: Make sure you've set the Microphone Usage Description in your Unity project settings for iOS platforms. As mentioned in the Using AR as a Spectator View for Your XR App guide: "On iOS, make sure to set your Camera Usage Description and Microphone Usage Description under Player Settings." 2. Audio configuration: Check your AudioSource components and make sure they are configured correctly. The Realtime > Common Questions > Voice chat section suggests: "Adjust it on the AudioSource. RealtimeAvatarVoice plays audio back using Unity's audio engine so all of the Unity audio APIs work correctly." 3. Debugging: If the issue persists, check your player logs for more information. As mentioned in the same document: "Normcore will print an error message to console if something fails. We highly recommend checking your player logs for more information if audio is not working." If the problem continues after checking these points, it might be a specific issue with your app's audio setup or a potential bug. In that case, you may want to reach out to NormalVR support or check their community forums for more specific assistance, as the provided knowledge sources don't contain information about music stopping after accepting microphone permissions. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2w ago
<@1053407831916822528> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
fgamez1020
fgamez1020OP2w ago
@Normcore Assistant I am using Vision OS not iOS
kapa.ai
kapa.ai2w ago
Let me check the knowledge base for you again. One moment! :books: ---------------------- I apologize for the confusion in my previous response. Thank you for clarifying that you're using Vision OS, not iOS. Unfortunately, the knowledge sources provided don't contain specific information about NormalVR's compatibility or behavior with Vision OS. Vision OS, being Apple's operating system for their mixed reality headset, is a relatively new platform, and it's not explicitly mentioned in the platform support list provided in the documentation. According to the Platforms document, NormalVR supports various platforms including mobile, desktop, web, console, and virtual reality platforms. However, Vision OS is not specifically listed. Given the lack of specific information about Vision OS in the provided knowledge sources, I cannot provide a definitive answer about how NormalVR behaves on this platform or how to resolve your audio issue in this environment. For the most accurate and up-to-date information regarding NormalVR's support for Vision OS and any specific issues you're encountering, I recommend reaching out directly to NormalVR's support team or checking their latest documentation, which may have been updated since the information provided here. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2w ago
<@1053407831916822528> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
s_q_u_i_s_h
s_q_u_i_s_h2w ago
Can we escalate this to a human support agent. Apple Vision Pro support was announced quite some time ago on the website. FWIW: We're at our final step before submitting to Apple, so any help solving this sticky audio issue would be greatly appreciated.
Mechabit
Mechabit2w ago
someone posted a method to check for dropped chat audio and then reconnects it in sample code channel this is what max says https://discord.com/channels/393839515074297858/1275344827583561788/1275498652156297308
maxweisel
maxweisel2w ago
My guess is this is unrelated to Normcore and has to do with your AVAudioSession. Apple's audio session handling really plagues audio play / pause states and can stop the microphone. Triple check what permissions / audio session settings you have in your Info.plist, and what your AVAudioSession settings are. You may need to write a Swift component to set this explicitly if your app is also playing music Not to mention for better or worse, Unity’s microphone settings (in Player Settings) will also try to configure your AVAudioSession and will fight it

Did you find this page helpful?