I want to stream video recording from my android phone to network media server.
The first problem is that when setting MediaRecorder output to socket, the stream is missing some mdat size headers. This can be fixed by preprocessing that stream locally and adding missing data to stream in order to produce valid output stream.
The question is how to proceed from there. How to send/publish that stream as RTMP stream to some rtmp wher FMS or Red5 is listening.
I tried to find a Rtmp client library that could work on android that can send information from stream to some server, but didn't have a luck. Implementing my own RTMP client would be out of the scope.
What would you suggest?