If we need to write a cross-platform mobile app, which supports playing and broadcasting RTMP video streams. I know that one can use Android native libs and Objective C also has some. But can we do it truely cross-platform and without using unsupported Flash, Adobe AIR or other external components?
Which is the right way to write cross-platform (at least Android >= 4 + iOS; WP, blackberry - nice to have) mobile apps with RTMP/RTSP support?
Approx requirements:
to play one or several RTMP streams on app page with minimum delay (1-3 secs max - here's why HLS with delay up to 10-20 sec not fits)
broadcast from a mobile device camera to RTSP server
- (optionally) broadcast from mobile camera to RTMP server (by encoding stream to RTMP on client-side)
Does writing a PhoneGap plugin fits this task? Which is the right way for such a plugin - try to embed livu lib RTMP client (or other, RTMPy client) into a plugin code like using livu (lib) with phonegap? or branch on OS version inside plugin and use some compiled native video streaming tools?
PS: If you used such a plugin somewhere from github, or have some experience about using cross-platform frameworks for video-streaming - please share your experience. If you have a ready streaming plugin and are willing to sell it, or can write it - please also comment, I would be glad to pay for it.