Search Unity

Audio iOS audio session interruption - AVAudioSessionInterruptionNotification

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

  1. paatz04

    paatz04

    Joined:
    Aug 1, 2013
    Posts:
    35
    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:
    35
    Neither OnApplicationFocus nor OnApplicationPause are called