Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Mediaplayer error 2005
    primarykey
    data
    text
    <p>I'm getting a strange error code while trying to play video.</p> <p>I get error code 1 (Which is ERROR_ UNKNOWN) and extra -2005 which has no documentation at all.</p> <p>How can I possibly know why is this happening?</p> <p>Thanks </p> <pre><code>01-09 09:50:36.903: E/MediaPlayer(3062): Error (1,-2005) </code></pre> <p>Here is the part when I play the video</p> <pre><code>if(m_videoView.canSeekForward() &amp;&amp; seekTo &gt; 0 &amp;&amp; seekTo &lt;= m_videoView.getDuration()) m_videoView.seekTo(seekTo); m_videoView.start(); m_videoView.requestFocus(); m_videoView.setKeepScreenOn(true); </code></pre> <p>Here is where I get the url for playing</p> <pre><code>String url = data.replace('\"', ' ').trim(); try { URL _url = new URL(url); _url.toURI(); } catch(URISyntaxException ex) { Log.e("url from media", ex.getMessage() + " for " + url); SystemUtils.alertMsg(getContext(), "There is a problem with this film right now.\nPlease try again later.");//getContext().getResources().getString(R.string.not_subscribed_msg)); dismiss(); playerLayout.findViewWithTag("progressbar").setVisibility(View.GONE); return; } catch (MalformedURLException e) { Log.e("url from media", e.getMessage() + " for " + url); SystemUtils.alertMsg(getContext(), "There is a problem with this film right now.\nPlease try again later.");//getContext().getResources().getString(R.string.not_subscribed_msg)); dismiss(); playerLayout.findViewWithTag("progressbar").setVisibility(View.GONE); return; } url = url.replace("http", "widevine").replace("16.109", "16.1"); setFilePath(url); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload