Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.5.0
Description
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.