-
Notifications
You must be signed in to change notification settings - Fork 3k
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
录像报错:java.lang.NullPointerException Null surface #2607
Comments
还有一种情况,是生命周期中报错,可能是因为代码中给VideoCapture绑定了生命周期操作:
这样生命周期中也会调用VideoCapture.stopRecording,代码中也会主动调用VideoCapture.stopRecording,这两种情况就会有竞争,如果代码中先调用,生命周期中的调用就会抛异常,反之亦然。因为recordShort中没有加try-catch,所有有这两处报错。 堆栈如下: |
Current use version?
当前使用的版本是多少?
Will this problem occur in demo?
Demo能否复现这问题?
Describe the problem or provide an error log?
描述问题或提供错误log?
The text was updated successfully, but these errors were encountered: