cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7684) [Media] CDVSound Kills any and all playing sound files when a single file finishes
Date Thu, 25 Jan 2018 19:55:02 GMT

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

ASF subversion and git services commented on CB-7684:
-----------------------------------------------------

Commit 3d794ca9401ad6cce09679dfc5e53e0b184d4e95 in cordova-plugin-media's branch refs/heads/5.0.x
from [~adriano.digiovanni]
[ https://gitbox.apache.org/repos/asf?p=cordova-plugin-media.git;h=3d794ca ]

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
>            Priority: Major
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message