Library to stream in rtmp and rtsp for Android. All code in Java
This library get audio and video data, encode it in AAC and H264 respectively and send it to rtsp or rtmp module to stream.
In rtsp module create a RTP packets of video and audio and send to server. In rtmp module create a RTP packets of video and audio, encapsulate it in flv packets and send to server.