-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
NullPointerException in the MainRender.getSurfaceTexture method #1685
Comments
Hello, we are also getting same above crash when using genericCamera2 with OpenGlView. |
Can you give me more info about it? Can you share me a code example to reproduce it? Also, the library version 2.5.5 is not the version which crash in the image because the crash line is not correct. Line 451 is this: Which no correspond to the logcat. I need know the exact compilation used |
Hello, Can you show me code of prepareStream method? |
Yes @pedroSG94
|
Describe the bug
The app crashes when starting a stream due to a NullPointerException in the MainRender.getSurfaceTexture method.
To Reproduce
Steps to reproduce the behavior:
Open the app.
Navigate to the stream setup screen.
Start a new screen broadcast stream session.
Observe the app crash.
Expected behavior
The stream should start successfully without crashing.
Screenshots
Smartphone (please complete the following information):
Library version: 2.5.4
Device: Motorola Malta
OS: Android 10 (SDK 29)
Media server: [e.g. SRS, version 5.0]
Class used: [e.g. RtmpCamera1]
Additional context
Crash logs from Play Console:
The text was updated successfully, but these errors were encountered: