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

push texture from diff source #1024

Closed soham24 closed 7 months ago

soham24 commented 2 years ago

I am using https://github.com/CainKernel/CainCamera to render filters, I need to push this stream using your library.

I am using CameraTextureView specifically, which extends textureview. https://github.com/CainKernel/CainCamera/blob/master/cameralibrary/src/main/java/com/cgfay/camera/widget/CameraTextureView.java

@pedroSG94 @cainkernel

pedroSG94 commented 2 years ago

Sorry but implement that library with my library is not worth due to the time to study and develop it.

If you can get a way to extract raw h264 and AAC buffers from that library you can use RtmpClient or RtspClient class directly to stream.

soham24 commented 2 years ago

thats fair. @pedroSG94 this given library gives method to record video via ffmpeg . I think I need to explore more in this direction to get h264 data .

pedroSG94 commented 7 months ago

Closing as inactive