getDuration function in mediaplayer android
<p>I'm developing android application using Mediaplayer class that plays a song using a url. The problem is that the returned value after calling</p>

<pre><code>mp.getDuration()
</code></pre>

<p>is larger than the actual duration of the song.
for example the song has a duration of 4.3 but in my application it gives that it equals 4.6</p>
