Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3DD04200B74 for ; Thu, 1 Sep 2016 12:36:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3C571160AB7; Thu, 1 Sep 2016 10:36:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A947C160AB5 for ; Thu, 1 Sep 2016 12:36:21 +0200 (CEST) Received: (qmail 72108 invoked by uid 500); 1 Sep 2016 10:36:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 71990 invoked by uid 99); 1 Sep 2016 10:36:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 10:36:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9342A2C1B77 for ; Thu, 1 Sep 2016 10:36:20 +0000 (UTC) Date: Thu, 1 Sep 2016 10:36:20 +0000 (UTC) From: =?utf-8?Q?Guirec_S=C3=A9n=C3=A9chal_=28JIRA=29?= To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-11797) Media.getDuration() sometimes doesn't get the right duration on iOs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Sep 2016 10:36:22 -0000 Guirec S=C3=A9n=C3=A9chal created CB-11797: ------------------------------------ Summary: Media.getDuration() sometimes doesn't get the right d= uration 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 defa= ult.) Components: iOS, Plugin Media Environment: iOS 9.3.5 , Ionic, Cordova, cordova plugin media, cor= dova file plugin Reporter: Guirec S=C3=A9n=C3=A9chal Hi, I have an audioguide app, where i store audio and images directly on the ph= one. I store and then get the files with the cordova file plugin, and load = it with cordova plugin media.=20 On some tours, the duration gets multiplied by about 1,835 (i'm talking abo= ut 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.=20 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