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

ASF GitHub Bot commented on CB-7684:
------------------------------------

Github user iamrototo commented on the issue:

    https://github.com/apache/cordova-plugin-media/pull/100
  
    Hello, I have a similar problem for ages : after I record an audio, I can't 
play any other audio files (using default HTML5 audio feature).
    
    I applied this fix but it didn't solved my problem. I have directly changed 
the file on plugins/cordova-plugin-media/src/ios/CDVSound.m , do I need to 
clean some cached file or do something else ? I even try to patch using this 
https://github.com/apache/cordova-plugin-media/pull/147/commits/87e33cff8ac8b84a2795d267506fb972af840817
 but I still don't have sound after record.... very boring. Thanks !


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

Reply via email to