You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "John Harrison (JIRA)" <ji...@apache.org> on 2014/09/22 16:20:34 UTC

[jira] [Commented] (CB-7599) Audio exception in iOS8

    [ https://issues.apache.org/jira/browse/CB-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143241#comment-14143241 ] 

John Harrison commented on CB-7599:
-----------------------------------

The error is triggered as soon as a second media object is created/played while a first media object is already playing. To reproduce
cordova create testmp3
cordova platform add ios
cordova plugin add org.apache.cordova.media
(replace index.js with attached file)
make directory "snd" inside www and add this file: https://ia802508.us.archive.org/5/items/testmp3testfile/mpthreetest.mp3
cordova prepare

The problem is bigger than the error report itself. Related to the error, other media objects can be delayed in playing after the error is triggered. Some audio objects set to loop will stop. (Sorry, I don't have trivial examples of these problems yet, but I am seeing these problems. It could be these problems are aggravated by this problem as well: https://groups.google.com/forum/#!topic/phonegap/Zb7NQsr6wCQ) 

Tested on Cordova 3.5.0-0.2.7, Media Plugin 0.2.12, Xcode 6, iOS 8


> Audio exception in iOS8
> -----------------------
>
>                 Key: CB-7599
>                 URL: https://issues.apache.org/jira/browse/CB-7599
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.5.0
>            Reporter: Dooms
>            Priority: Minor
>         Attachments: index.js
>
>
> In iOS8, exceptions are generated when pausing one audio and playing another. Sorry I haven't been able to debug the issue further at this time.
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)