cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin de Leon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12824) cordova-plugin-media - Pausing and playing streaming audio plays incorrect audio.
Date Wed, 17 May 2017 05:57:04 GMT

     [ https://issues.apache.org/jira/browse/CB-12824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin de Leon updated CB-12824:
--------------------------------
    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.

  was:
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 check 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 after
adding support for background threading, this happens.


> cordova-plugin-media - Pausing and playing streaming audio plays incorrect audio.
> ---------------------------------------------------------------------------------
>
>                 Key: CB-12824
>                 URL: https://issues.apache.org/jira/browse/CB-12824
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: 6.3.1
>            Reporter: Justin de Leon
>            Priority: Blocker
>              Labels: cordova-plugin-media
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message