You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.
This throws Exception with message: setDataSource failed.: status=0x80000000
context is correct, mSource (url) is correct, but headers is null (I don't know if this is the problem). Searching in Google I've found many examples which only use:
mediaPlayer.setDataSource( url );
Please fix this error. Video never plays and player is always loading.
The text was updated successfully, but these errors were encountered:
I'm trying to load videos from internet and it returns an Exception. I've followed the code to this:
BetterVideoPlayer.js, line: 393:
hideControls();
mCallback.onPreparing(this);
mPlayer.setSurface(mSurface);
if (mSource.getScheme().equals("http") || mSource.getScheme().equals("https")) {
LOG("Loading web URI: " + mSource.toString());
mPlayer.setDataSource(getContext(), mSource, headers);
} else {
LOG("Loading local URI: " + mSource.toString());
mPlayer.setDataSource(getContext(), mSource, headers);
}
In:
mPlayer.setDataSource(getContext(), mSource, headers);
This throws Exception with message: setDataSource failed.: status=0x80000000
context is correct, mSource (url) is correct, but headers is null (I don't know if this is the problem). Searching in Google I've found many examples which only use:
mediaPlayer.setDataSource( url );
Please fix this error. Video never plays and player is always loading.
The text was updated successfully, but these errors were encountered: