incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1236) getDuration() only returns correct result after playing twice
Date Wed, 15 Aug 2012 01:25:38 GMT

    [ https://issues.apache.org/jira/browse/CB-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434726#comment-13434726
] 

Simon MacDonald commented on CB-1236:
-------------------------------------

I'm pretty sure this is fixed in 2.1 with some of the other changes made to media.
                
> getDuration() only returns correct result after playing twice
> -------------------------------------------------------------
>
>                 Key: CB-1236
>                 URL: https://issues.apache.org/jira/browse/CB-1236
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: DreamWeaver BuildGap Service
>            Reporter: Neil Friend
>            Assignee: Simon MacDonald
>              Labels: duration, media
>
> Using a set up very similar to the Media examples in the Docs for Play and Record, I
am trying to get the length of the recording when I come into the PLAY function.
> Calling "my_media.getDuration()"  the first time returns -1;  But then after that the
correct length of the file is returned.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message