Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio iOS audio session interruption - AVAudioSessionInterruptionNotification

Discussion in 'Audio & Video' started by paatz04, Sep 4, 2019.

  1. paatz04

    paatz04

    Joined:
    Aug 1, 2013
    Posts:
    38
    Does anyone know how I can handle audio session interruptions for iOS ? I'm using FMOD and at the moment the audio just completely stops, whenever an interruptions is fired. Is there a way to get the AVAudioSessitionInterruptionNotification in C# so I can pause and resume the mixer accordingly ?
     
  2. paatz04

    paatz04

    Joined:
    Aug 1, 2013
    Posts:
    38
    Neither OnApplicationFocus nor OnApplicationPause are called