We have implemented all the said functionality in the application leaving the RTMP streaming part. The application was required to do live broadcasting from phone to RED5 server using RTMP protocol and HTTP streaming from server to phone. The HTTP streaming part is successfully implemented but we are not getting any solution for RTMP streaming from phone to server. Since Apple havent provided any libraries or framework to implement it and it does not support flash. From any PC this can be easily done by installing "Adobe flash media live encoder" or flash player like JW player. In iphone we cant use any third party tool as such and one needs to develop such encoder in
C/obj C which can do RTMP streaming.
Till know what we have got is some source code of a app which claims to perform similar thing from github. But the code is so much complex that we are unable to understand how to integrate it in our project. It will take around a month to figure out what that code is doing and how to integrate in our project. After that also it is not sure that it will give us the required result.
RTMP requirement :
1. Application must be able to capture video and audio from mobile camera/microphone and broadcast directly to the RED5 multimedia server using RTMP protocol. The broadcast stream name must be according to our specifications.
2. Application must broadcast at best quality according to connection type. (e.g. if connection is over 3G, video quality will be lower to prevent dropouts. If connection type is 4G then video quality will be better, if connection type is wifi then video quality will be best, etc..)