We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RxFFmpegInvoke.getInstance().runCommandRxJava(commands).subscribe(new RxFFmpegSubscriber() { @Override public void onFinish() { if (mProgressDialog != null) { mProgressDialog.cancel(); } showDialog("处理成功"); } @Override public void onProgress(int progress, long progressTime) { if (mProgressDialog != null) { mProgressDialog.setProgress(progress); //progressTime 可以在结合视频总时长去计算合适的进度值 mProgressDialog.setMessage("已处理progressTime="+(double)progressTime/1000000+"秒"); } } @Override public void onCancel() { if (mProgressDialog != null) { mProgressDialog.cancel(); } showDialog("已取消"); } @Override public void onError(String message) { if (mProgressDialog != null) { mProgressDialog.cancel(); } showDialog("出错了 onError:" + message); } });
发现当命令错误(commands)的时候,其实是在 Native 层 Crash,并没有走订阅者的onError回调。 请问这个onError回调在什么情况下会被调用?
commands
onError
谢谢~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
版本 2.1.0
调用方式
发现当命令错误(
commands
)的时候,其实是在 Native 层 Crash,并没有走订阅者的onError
回调。请问这个
onError
回调在什么情况下会被调用?谢谢~
The text was updated successfully, but these errors were encountered: