Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12824

cordova-plugin-media - Pausing and playing streaming audio plays incorrect audio.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.3.1
    • None
    • cordova-plugin-media
    • None
    • iOS

    • Important

    Description

      Let's say I have two instances of Medias - a & b.

      (Media object instances are created on press of play)

      I pressed play on track a. Track a plays. I press pause on track a.
      I pressed play on track b. Track b plays. I press pause on track b.

      When I press play on track a again, track b resumes. I checked the media object of track A, and its duration and position is the one from track b.

      I did not have this issue when using the cordova-media-plugin version 1.0.1. I suppose that the bug appeared after adding support for background threading. Note that this only happens for streamed audio.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jusdeleon Justin de Leon
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: