1. I need to remove agora live streaming and Twilio voice/video call function and want to add my own live streaming RTMP server and webrtc media server.
2. If user want to stream from his device camera then something like switch button should be there, so he/she can switch and stream his device camera / mic to rtmp server(ref. webrtc to rtmp).
3. Choosing option 2, user will not see rtmp url and stream key, but they will be at backend.
4. Streams should be public so everyone can watch it.
The best example for this setup is facebook live streaming.
5. webrtc voice/video call