Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当网络为公司wif的情况下有些视屏能播放,有些不能播放,不能播放的错误码返回的是1是什么情况? #299

Open
fancycy opened this issue May 13, 2019 · 0 comments

Comments

@fancycy
Copy link

fancycy commented May 13, 2019

private IMediaPlayer.OnErrorListener mOnErrorListener = new IMediaPlayer.OnErrorListener() {
@OverRide
public boolean onError(IMediaPlayer iMediaPlayer, int i, int i1) {
Toast.makeText(VodDisplayActivity.this, "播放器遇到错误,播放已退出,错误码:"+i, Toast.LENGTH_SHORT).show();
videoPlayEnd();
return false;
}
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant