-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android : mediaInformation.duration returns second instead of millisecond #311
Comments
We cannot change the type of the data returned from However, it seems like its unit is not |
react-native v4.5.2 release includes the updated documentation for Native platforms ( |
you can use instead |
Description
In Android the method getDuration() returns a duration expressed in second instead of millisecond as mentionned in the documentation. (Only tested in Android)
Expected behavior
The duration converted in millisecond
Current behavior
For a 31s video, I get this value : 31.180000
To Reproduce
Environment
Android
arm64
v4.5
main
4.0
The text was updated successfully, but these errors were encountered: