You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/02/10 19:04:12 UTC

[jira] [Updated] (CB-7099) [WP8][cordova-plugin-media] status callback it is reached several times in the same statement

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

Sergey Grebnov updated CB-7099:
-------------------------------
    Assignee:     (was: Sergey Grebnov)

> [WP8][cordova-plugin-media] status callback it is reached several times in the same statement
> ---------------------------------------------------------------------------------------------
>
>                 Key: CB-7099
>                 URL: https://issues.apache.org/jira/browse/CB-7099
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media, WP8
>    Affects Versions: 3.5.0
>            Reporter: Martin Gonzalez
>              Labels: WP8, media
>             Fix For: 3.6.0
>
>
> The optional status callback in a Media object, it is reached multiple times in the same statement, even with the same status code.
> E.g:
> var media= new Media("http://url/to/media/file.mp3",successCallback, fail.bind(null, done), statuschange);
> The status change callback function it is reached several times, even with the same status code, if at the beginning is stopped, if the state changes to a different status code like running, it won't stop to reach and walk-through the same callback reporting the same status code.
> This behavior it can be only reproduced over Windows Phone 8. The right behavior it supposed to that status callback it would be called only if the status is changed.
> The issue was found porting tests to plugin-test-framework CB-6963.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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