RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

Support GLSurfaceView

Open linhlq58 opened this issue 4 years ago • 3 comments

Hi @pedroSG94, My project is using FaceUnity SDK which has GLSurfaceView. Can I stream with GLSurfaceView using your library?

linhlq58 avatar Jul 08 '21 02:07 linhlq58

It is possible but you need modify library to work as you want. You have 2 issues related with this that could help you: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/136 https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/210

pedroSG94 avatar Jul 08 '21 17:07 pedroSG94

I checked these issues but all of them are deprecated. I can not find CustomGlSurfaceView.java in order to learn how to implement GLSurfaceView streaming to this library. Could you help me please?

linhlq58 avatar Jul 20 '21 12:07 linhlq58

You have links to that class in the issues: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/a3ff2ca07cf0952b1d68ab655f1d04b08804a90d/rtplibrary/src/main/java/com/pedro/rtplibrary/view/CustomGlSurfaceView.java

This is the commit: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/tree/a3ff2ca07cf0952b1d68ab655f1d04b08804a90d

pedroSG94 avatar Jul 20 '21 13:07 pedroSG94