AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Solo Ambient does not stop phone audio on app resume

0 支持

According to he documentation in 2019.1.6

https://www.audiokinetic.com/library/edge/?source=SDK&id=pg_ios_understanding_audio_session_and_its_concepts.html​

  • AkAudioSessionCategorySoloAmbient: Equivalent to the iOS audio session AVAudioSessionCategorySoloAmbient category
    • Used for audio playback only (no recording available).
    • App audio is silenced when the Ring/Silent switch is activated (when 'Lock' is pressed).
    • The main difference with the Ambient category is that when the audio session is activated, audio from other apps is interrupted.
    • App audio will be interrupted if another audio app activates its audio session in the foreground.
    • App audio will be interrupted if another audio app activates its audio session in the background under a mixable or non-mixable category.
    • This category is also recommended for game apps which use audio that should not be mixed with other audio apps running in the background. For example, users that listen to music with the Music app and switch back to your app will have their music silenced when your app resumes.
The last part users that listen to music with the Music app and switch back to your app will have their music silenced when your app resumes. Does not seem to work correctly:
  1. Play Spotify on iphone
  2. Start my app
  3. Spotify stops
  4. Background my app
  5. Play spotify
  6. Resume my app
  7. Spotify continues and no sounds come from my app.
Am I missing anything to make this work as documented?
Ben C. (100 ポイント) 2020 1/17 質問 General Discussion

Please sign-in or register to answer this question.

...