Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

AkAudioSessionCategoryPlayAndRecord but without Mic input?

+1 vote

Anyone have experience with iOS Audio session? https://www2.audiokinetic.com/library/edge/?source=SDK&id=pg_ios_understanding_audio_session_and_its_concepts.html

So I want to be able to play audio even with the iOS Silent switch is on, and possible play in background as well. What I don't want is any microphone/input functionality.

Now when I change the WwiseInit in Unity to be "AkAudioSessionCategoryPlayAndRecord", Xcode complains that NSMicrophoneUsageDescription is required.

So the $1000 question is: Is there a way to choose the AkAudioSessionCategoryPlayAndRecord category for Wwise without the record/mic functionality?

It seems iOS has a "AVAudioSessionCategoryPlayback" without the mic NSMicrophoneUsageDescription requirement (I don't need or want the mic input)

asked Feb 11, 2020 in General Discussion by Egil S. (1,100 points)
I'm having the same issue.


Did you find the answer?
I'm curious, what are your audio session category options?
I'm wondering if the Bluetooth may be causing the prompt to use the microphone.

Please sign-in or register to answer this question.

...