menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

+2 투표

Hi! I'm stuck on trying to using AkAudioSessionCategoryPlayback on iOS with Unity 2020.2.7f1 - I know it exists in the SDK: https://www.audiokinetic.com/library/edge/?source=SDK&id=_aki_o_s_sound_engine_8h_a45868714def93979efd2a766660de8e0.html

I do see the Playback category when I look in the SDK for Wwise 2021.1.3 (the version we're using) in the AkiOSSoundEngine.h file, but it is not in the AKiOSSettings.cs file within /Assets/Wwise/API/Runtime/Handwritten/iOS/AkiOSSettings.cs line 52 is missing the Playback option.

And when I tried to manually set the category to Playback, I got this issue in XCode - 2021-10-13 14:35:59.573033-0700 abra[63427:20813518] AK Error: Failed to set audio session category.: Error: Error Domain=NSOSStatusErrorDomain Code=2003329396 "(null)". This seems to imply that it's an Apple issue, and not on the Wwise side.

Wondering if anyone might know how to get the AkAudioSessionCategoryPlayback to work - the use case is getting Wwise audio to play while the app is in the background or the screen is off for a game that is primarily played through audio.

Feature Requests Jenny X. (120 포인트) 로 부터
Could you solve this issue?
Where you able to solve your issue, Jenny? We are facing the same challenge of making the app play audio while in background with screen off.

Please sign-in or register to answer this question.

...