Open lukepighetti opened 4 months ago
Hi @lukepighetti
This package merely wraps the raw API calls, in this case to AVAudioSession.setActive
, and so you would need to consult Apple's documentation to understand the API response. According to the documentation, the code 560030580 corresponds to the message "AVAudioSessionErrorCodeIsBusy".
For more information, see:
https://developer.apple.com/documentation/avfaudio/avaudiosession/1616597-setactive
The session fails to activate if another audio session has higher priority than yours (such as a phone call) and neither audio session allows mixing. Deactivating an audio session with running audio objects stops the objects, makes the session inactive, and returns an AVAudioSessionErrorCodeIsBusy error.
When calling
.setActive(false)
I get an errorPlatformException(560030580, Session deactivation failed, null, null)
afterflutter_soloud
has loaded an asset