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

拉取rtsp流超时导致程序挂掉 #77

Open
RothenL opened this issue Sep 1, 2019 · 2 comments
Open

拉取rtsp流超时导致程序挂掉 #77

RothenL opened this issue Sep 1, 2019 · 2 comments

Comments

@RothenL
Copy link

RothenL commented Sep 1, 2019

拉取rtsp流超时或者输入错误的FFmpeg命令导致程序挂掉,onError不执行,有没有什么防止挂掉的方法呢

@microshow
Copy link
Owner

开一个新的进程去执行

@microsoftBoy
Copy link

我也碰到同样的问题了,我也是开了一个新的进程去执行的,但是超时崩溃以后,虽然不影响其他进程,但是会有 程序停止运行的提示,这样不太友好,能不能把超时的错误向上抛到java层处理或者C层catch住

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

3 participants