pedroSG94/RootEncoder

Stream from camera to RTMP and record(.MP4) locally at the same time in android

Opened this issue · 1 comments

I want to live stream to RTMP and record locally at the same time in android. Can you point to an example or suggest the best approach to achieving that in Android?

Hello,

You have code example in the app that support it:
https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/rotation/CameraFragment.kt

Compile the app example and open that example. You can stream to RTMP using the central button and record using the left button. You can do it at the same time.

All examples support it so you can use the example that fit better for your case.