Use case:

User starts viewing video on current network == WiFi
User moves out of WiFi range.  Evdo network handover happens
successfully.

Observed behavior:

Once buffer runs out user gets "Cannot play this video"


Expected behavior:

Either  MediaPlayer recovers from network error or provides API hooks
to allow programmatic recovery.


Other:

I've implemented MediaPlayer.OnErrorListener as well as a
BroadcastReceiver that listens to
"android.net.conn.CONNECTIVITY_CHANGE"

However, despite experimenting with MediaPlayer.OnErrorListener(),
getCurrentPosition() seekTo() and start(), I've been unable to create
a user experience that maintains the videoview.

Is there any guidance on how to create a MediaPlayer based experience
that can deal with network handovers?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to