Reputation: 71
I used MediaPlayer
with stream music from http
I have 2 questions:
Is MediaPlayer
play music in stream or it downloads music and play after it?
Why i have this error in LogCat
:
MediaPlayer(3438): Couldn't open file on client side, trying server side
But after sec or 2 music starts to play.
Upvotes: 0
Views: 2078
Reputation: 194
MediaPlayer.java: Log.d(TAG, "Couldn't open file on client side, trying server side");
. It seems that it is trying to find the URI locally and only when not found sets the media URI in the datasource (read - opens network connection).Upvotes: 2