You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2016/10/04 23:54:20 UTC

[jira] [Updated] (CB-11797) Media.getDuration() sometimes doesn't get the right duration on iOS

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

Shazron Abdullah updated CB-11797:
----------------------------------
    Summary: Media.getDuration() sometimes doesn't get the right duration on iOS  (was: Media.getDuration() sometimes doesn't get the right duration on iOs)

> 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
>          Components: 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org