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.
This article discusses the issue of stream security for subscribers over the various protocols supported by Red5pro (RTMP, RTSP and WebRTC) programmatically. IF you are new to the world of Red5/Red5Pro, I would suggest taking a peek at the Red5 development series on Github. Here you can find information ranging from what is Red5 to how to create and debug an application.
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.
Android Broadcaster is a multi-purpose, multi-protocol live video/audio encoder for android platform. Android Broadcaster carries forward the legacy of Adobe Flash based live broadcasting on desktop onto the android ecosystem. Now use your Android smart phone/tablet to do live broadcasting from anywhere ,at any-time. Android broadcaster supports both media server based broadcasting(RTMP, RTMPT, RTMPE, RTMPS) and server-less P2P multicast (RTMFP). Android Broadcaster is also capable of playing live/recorded content of various formats. Android Broadcaster is the one stop RTMP broadcaster/recorder/player that you will ever need.