Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7043 iOS 8 Support
  3. CB-7684

[Media] CDVSound Kills any and all playing sound files when a single file finishes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • cordova-plugin-media
    • None
    • iOS

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Stryker908 Nathan Stryker
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: