1. You didn't mention before that you are working with a file that was just 
created with `captureAudio`.
2. Why should this make a difference? The relevant part here is that you create 
a `new Media` object with a path to a certain file. If this plugin doesn't 
actually read the file data until you call `play()` - then it just can't know 
the duration. You will have to check this plugin's code to understand when it 
is reading the file to get the duration.

If the current state then is not what you want, create a new issue and suggest 
this to be implemented or best create a PR yourself.

[ Full content available at: 
https://github.com/apache/cordova-plugin-media/issues/177 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to