I had managed to start broadcasting to RTMP from OBS software.
For RTMP with Ngix, I used this tutorial. For PlayBack in android I used https://github.com/josemmo/libvlc-android
To stream to RTMP I used OBS software https://obsproject.com
Everything works well so far.
My question is can I broadcast from my android phone without using OBS software aka I want to use my phone camera to broadcast directly to RTMP server.
https://play.google.com/store/apps/details?id=com.dev47apps.droidcam&hl=en&gl=US
Similar function like Droidcam
Prefer ionic-react, but if no choice, i could try native android with java.
Update: I found this Android Library https://github.com/pedroSG94/rtmp-rtsp-stream-client-java
And did manage to record from camera but still missing on how to add key.
CodePudding user response:
I did manage with this library
https://github.com/begeekmyfriend/yasea
It is quite easy.