You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/23 17:14:32 UTC

[GitHub] jb280 opened a new issue #200: getDuration() returns -1, then 0 on some remote MP3 files

jb280 opened a new issue #200: getDuration() returns -1, then 0 on some remote MP3 files
URL: https://github.com/apache/cordova-plugin-media/issues/200
 
 
   I'm on iOS  (using  Ionic) and start playing remote files (hosted on AWS). I  set a timer to get the duration. If getDuration() returns -1, I call the timer again. On most of the files, the audio starts playing and eventually, I get the correct duration of the MP3 .  
   
   However, on some files, it will eventually return 0  for the duration and the audio never plays. If I download that same file first and then play it, there is no problem playing or getting the duration.
   
   All files are 64bit encoded MP3.
   
   What would cause a remote file not to play and return 0 for getDuration()?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org