janpio commented on a change in pull request #197: Add durationUpdate callback URL: https://github.com/apache/cordova-plugin-media/pull/197#discussion_r234688260
########## File path: README.md ########## @@ -237,6 +239,9 @@ var timerDur = setInterval(function() { }, 100); ``` +#### Android Quirk +Newer versions of android have aggressive routines that limit background processing. If you are trying to get duration while your app is in the background longer than roughly 5 minutes, you will get more consistent results by using the `mediaDurationUpdate` callback. Review comment: ```suggestion Newer versions of Android have aggressive routines that limit background processing. If you are trying to get the duration while your app is in the background longer than roughly 5 minutes, you will get more consistent results by using the [`mediaDurationUpdate` callback of the constructor](#parameters). ``` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org