I am implementing a live broadcasting in my android app. I am using webRTC for real-time video chat. Now I would like to broadcast live chat to many people.I would like to use Mpeg-DASH.For that video stream can be sent to the server over RTMP and then will be broadcasted using Mpeg-DASH.
So I would like to know how to capture media stream of both local and remote user and then send it over RTMP. I have a working prototype for sending camera captured video to the server over RTMP. But I don't know how to send same media stream to the server which is being used by webRTC. Possible solutions
- Record/Capture screen of live chat and then send it to the server over RTMP.
- Make server a peer in webRTC and manipulate stream and broadcast it via Mpeg-DASH.
I would like to do it in client side.Is there any other way to do this? Thanks.