cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10882) "cordova-plugin-media" 2.2.0 seem have a "position" bug with mediaSound.getCurrentPosition method
Date Sat, 24 Sep 2016 07:33:21 GMT

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

ASF GitHub Bot commented on CB-10882:
-------------------------------------

Github user bau720123 commented on the issue:

    https://github.com/apache/cordova-plugin-media/pull/87
  
    fixed by myself...


> "cordova-plugin-media" 2.2.0 seem have a "position" bug with mediaSound.getCurrentPosition
method
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-10882
>                 URL: https://issues.apache.org/jira/browse/CB-10882
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>    Affects Versions: 2.2.0
>         Environment: Cordova Cli-6.0
> Cordova-iOS 4.1.0
> cordova-plugin-camera 2.1.1
> cordova-plugin-wkwebview-engine 1.0.2
> ipad mini iOS 9.2.1
> my config.xml have these lines
> <preference name="AndroidPersistentFileLocation" value="Compatibility" />
> <preference name="iosPersistentFileLocation" value="Compatibility" />
> <preference name="AndroidExtraFilesystems" value="files,files-external,documents,sdcard,cache,cache-external,root"
/>
> <preference name="iosExtraFilesystems" value="library,library-nosync,documents,documents-nosync,cache,bundle,root"
/>
>            Reporter: Colin Bau
>              Labels: iOS, triaged, wfc
>
> step1,use the "startRecord" method,Android and iOS seem all work well
> (maybe you can record about 1-2 seconds in order to test the step2)
> https://github.com/apache/cordova-plugin-media#quick-example-7
> step2,use the "getCurrentPosition" method in order to get the "position" value within
the "setInterval" method
> https://github.com/apache/cordova-plugin-media#quick-example
> case in Android
> the position will get a value around 1.12 seconds to -0.01 seconds
> but...
> case in IOS
> the position value will always get "0"



--
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


Mime
View raw message