[ https://issues.apache.org/jira/browse/CB-7684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317074#comment-16317074 ]
ASF subversion and git services commented on CB-7684: ----------------------------------------------------- Commit a7e376adb78dad85b6c5d15058c5317ad7d2bf72 in cordova-plugin-media's branch refs/heads/master from [~adriano.digiovanni] [ https://gitbox.apache.org/repos/asf?p=cordova-plugin-media.git;h=a7e376a ] CB-7684 (#143) * do not deactivate avsession when items finish playing * CB76-84: check if any audio file is playing or recording before deactivating the avsession * CB-7684: add ios preference to keep avsession always active * CB-7684: change variable name to uppercase * CB-7684: change variable name to uppercase in CDVSound.m, too * CB-7684: fix plugin definition * CB-7684: activate avsession during plugin initialization * update plugin definition to solve merge conflict * update plugin definition to fix merge conflict * update plugin definition to fix merge conflict > [Media] CDVSound Kills any and all playing sound files when a single file > finishes > ---------------------------------------------------------------------------------- > > Key: CB-7684 > URL: https://issues.apache.org/jira/browse/CB-7684 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-media > Affects Versions: 3.5.0 > Environment: iOS > 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.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org