Replies: 4 comments 5 replies
-
Any help? @pedroSG94 |
Beta Was this translation helpful? Give feedback.
-
Hello, Did you tried to replace SurfaceView to OpenGlView everywhere in all classes? If you have a XML remember do it in the XML too |
Beta Was this translation helpful? Give feedback.
-
Hello, This error is not related with the library. You have a null pointer doing request permission. |
Beta Was this translation helpful? Give feedback.
-
Can you share me the actual code with OpenGlView? |
Beta Was this translation helpful? Give feedback.
-
edit: I am fairly new to android studio / logcat so the logs still don't make perfect sense to me.
Hi, So previously I was using your project with another library to work with react-native And it was working fine with surfaceView, I want to switch to using OpenGlView so I can have a scoreboard Overlay on top of the RtmpCamera1 view So I can dynamically update text/scores during the stream as needed, I'm having trouble getting the OpenGlView to work... If you could help me at all in pointing me in the right direction it would be HUGE help and GREATLY appreciated...
This is my RTMPManager:
and this is my SurfaceHolderHelper:
And my RTMPPublisher:
basically in my RTMPManager I am trying to swap out SurfaceView for OpenGlView, with limited success I have tried dozens of ways of implementing the code for openGlView, either end up in a error asking to make sure openGlView has a Surface, or No errors but a black screen with logcat telling me this when i switch to the livestream view:
Any Ideas? =/
Beta Was this translation helpful? Give feedback.
All reactions