The diagram shown above is an abstract representation of how a connection flows through Red5 core. On connection attempt, Red5 verifies the basic protocol specific handshake as per the connection type (RTMP/RTSP/WebRTC).
Once the handshake is verified Red5 pro translates the connection to a registered Red5 pro connection and sets a reference to it using the static method – Red5.setConnectionLocal(IConnection) in the context of the current thread.
Capturing parameters passed from client to Red5pro server application is a very simple and useful step if you wish to capture data from the client on connection for authentication, validation etc:.
When working with Red5pro, you have different types of clients that can connect to Red5pro – Flash(RTMP), Android/IOS(RTSP), and HTML5(RTC) clients. Each client transmits parameters in a different way. Hence for proper handling, it is recommended to check the client connection type and then devise your parameter collection logic.
In this article, we shall see how to build a simple logic that checks for client type and extract connection parameters accordingly. The recommended parameters capturing point is the appConnect method of your application adapter class. This is the method which gets invoked when a compatible client tried to connect to Red5pro.
There is a new kid on the block for watching and downloading movies on android platform and the name is BLIFF. Bliff scrapes the web for movie info links and video links. It then organizes it in a smart way to let users access them like a regular movie app. Bliff hosts nothing on the server. All content are scraped from popular video hosting sites. Biff has a internal scraper which can fetch video from most of the popular servers in the world. As backup it also has support for Hubi (streaming and download) application.
As Red5 1.0 release gets closer & RTMP reaches now to Android, Macs, PCs and much more, this is the best thing you may be looking for on the web. A Red51.0 RC1 custom streamer application (version 1) with Custom Directory Setter for recording and playback of files. Even though the application also implements stream security, it has not been tested properly yet. The basic functionality of streaming and custom location is tested and is working properly.
To set custom location for recording/playback , please read the post here: http://flashvisions.com/java/ready-to-use-red5-streamer-application/
Download: Custom Streamer application for Red5 1.0 (RC1)
[rtmp application name:streamer]
Enjoy Live Streaming / Recording on Red5 1.0 (RC1)