You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2017/03/03 19:26:45 UTC

[jira] [Resolved] (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 ]

Jesse MacFadyen resolved CB-7099.
---------------------------------
    Resolution: Won't Fix
      Assignee: Jesse MacFadyen

WP8 is deprecated, focusing on windows-uwp going forwards.

> [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 (deprecated)
>    Affects Versions: 3.5.0
>            Reporter: Martin Gonzalez
>            Assignee: Jesse MacFadyen
>              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.15#6346)

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