Sunday, November 5, 2017

webview MediaPlayer: info/warning (702, 0)

Leave a Comment

I am trying to load an HTML file in webview(e.g. mWebView.loadUrl("file://..player.html) which plays an html5 video, then displays an image for few seconds, then goes back to video and repeats this cycle in a nonstop loop. Every thing goes fine for the first few hundreds of the loop run, however after some random iterations the webview starts to act out, stops playing the video and displays these messages blew. Any clue what could be wrong?

The last status of the video before the pkaying stops is "durationchange" or "canplaythrough"

10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 10-26 20:23:49.864  5168  5334 W MediaPlayer: info/warning (702, 0) 

I already looked into Android MediaPlayer : info/warning (703, 0),info/warning (702, 0),info/warning (701, 0),ProtocolException when try to seek from a random position

but did not help! its is so strange tha for the first few hundres times

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment