Guirec Sénéchal created CB-11797:
------------------------------------

             Summary: Media.getDuration() sometimes doesn't get the right 
duration on iOs
                 Key: CB-11797
                 URL: https://issues.apache.org/jira/browse/CB-11797
             Project: Apache Cordova
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: iOS, Plugin Media
         Environment: iOS 9.3.5 , Ionic, Cordova, cordova plugin media, cordova 
file plugin
            Reporter: Guirec Sénéchal


Hi,
I have an audioguide app, where i store audio and images directly on the phone. 
I store and then get the files with the cordova file plugin, and load it with 
cordova plugin media. 
On some tours, the duration gets multiplied by about 1,835 (i'm talking about 
the value i get directly from the media.getDuration() function), and on the 
other, the duration is just right.
The issue only happens on iOS, it works perfectly fine on Android. 
I have no idea how you could recreate the bug.

Thanks



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to