cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-7684) [Media] CDVSound Kills any and all playing sound files when a single file finishes
Date Thu, 13 Apr 2017 08:56:42 GMT


ASF GitHub Bot commented on CB-7684:

Github user katzlbt commented on the issue:
    Sending setActiveNo: to an audio session will always stop recording and playback. This
is how the system handles incoming phonecalls etc.
    > Most apps never need to deactivate their audio session explicitly. Important exceptions
include VoIP (Voice over Internet Protocol) apps, turn-by-turn navigation apps, and, in some
cases, recording apps. (
    Probably you are out of luck for waiting it out, unless you have a year or so. This PR
and another that fixes that Audio is disabled after every memory warning are open for ages
( I apply the patches manually like
                patch -p1 <120.patch
                patch -p1 <116.patch
                patch -p1 <100.patch

> [Media] CDVSound Kills any and all playing sound files when a single file finishes
> ----------------------------------------------------------------------------------
>                 Key: CB-7684
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message