cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Harrison (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-7599) Audio exception in iOS8
Date Mon, 22 Sep 2014 18:17:34 GMT

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

John Harrison edited comment on CB-7599 at 9/22/14 6:17 PM:
------------------------------------------------------------

The workaround for me for now is to comment out line 692:
      //[self.avSession setActive:NO error:nil];
of CDVSound.m, which is in the src/ios directory of the plugin.

>From what I can tell media objects are still added and deleted as necessary so this doesn't
appear to be creating a memory leak. It makes all my sounds work with no weird delays and
looping works again. Hopefully somebody who actually knows what they are doing in the iOS
world can fix this correctly soon.


was (Author: whyameye):
The workaround for me for now is to comment out line 692:
      //[self.avSession setActive:NO error:nil];
of CDVSound.m, which is in the src/ios directory of the plugin.

>From what I can tell media objects are still added and deleted as necessary so this doesn't
appear to be creating a memory link. It makes all my sounds work with no weird delays and
looping works again. Hopefully somebody who actually knows what they are doing in the iOS
world can fix this correctly soon.

> 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)

Mime
View raw message