Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7043 iOS 8 Support
  3. CB-7599

[Media][iOS 8] Audio exceptions generated when playing audio files

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • cordova-plugin-media
    • None
    • iOS

    Description

      In iOS8, several users have noticed that applications with audio that previously worked in iOS7, are generating exceptions in iOS8.

      In my app, it is when pausing one audio, and after a short timeout, playing another audio. The exception:

      AVAudioSession.mm:646: -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session.

      In another case (Paul's comment below), it was when scrubbing through a single audio file. The error:
      ERROR: [0x109894000] 79: AudioQueuePrime posting message to kill mediaserverd

      Attachments

        1. index.js
          2 kB
          John Harrison

        Activity

          People

            Unassigned Unassigned
            dooms Dooms
            Votes:
            9 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: