cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Stryker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7684) CDVSound Kills any and all playing sound files when a single file finishes (iOS 8)
Date Wed, 01 Oct 2014 18:43:34 GMT
Nathan Stryker created CB-7684:
----------------------------------

             Summary: CDVSound Kills any and all playing sound files when a single file finishes
(iOS 8)
                 Key: CB-7684
                 URL: https://issues.apache.org/jira/browse/CB-7684
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS, Plugin Media
    Affects Versions: 3.5.0
            Reporter: Nathan Stryker


The CDVSound file will kill all playing media files when ever a single file completes playing.
The issue is around like 691 in the method "AudioDidFinishPlaying", with the code:

    if (self.avSession) {
        [self.avSession setActive:NO error:nil];
}

The reason I think this is a bug is that if a user as Music file A playing in a loop and Music
file B plays, when B completes the "setActive:NO" will kill the avSession of both A and B.




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

Mime
View raw message