pedroSG94 / RootEncoder

RootEncoder for Android (rtmp-rtsp-stream-client-java) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP, SRT and UDP with all code written in Java/Kotlin
Apache License 2.0
2.54k stars 772 forks source link

how to add 'faceunity' library in stream ,Please show me an example of adding filter in live stream . #1136

Closed hoangchungk53qx1 closed 7 months ago

pedroSG94 commented 2 years ago

Hello,

You have an example for filters: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/app/src/main/java/com/pedro/rtpstreamer/openglexample/OpenGlRtmpActivity.java You can create your own filter using openGl: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/wiki/Real-time-filters#create-your-own-filter If you want to add a library with her own way to render images. It is not supported, you will need a way to get h264 buffers and send it to RtmpClient/RtspClient directly.