10.2 RedBox Examples
The RedBox project free add-on comes with four different examples showing the features offered by the extended APIs.
You find the examples in the Examples/RedBox/ folder of your SmartFoxServer PRO installation directory: each application comes with fully commented source code.
» SmartFoxChatAV
This example takes the orignal Actionscript 3 Chat example and enhances it with live A/V chat. It uses the AVChatManager client side class to easily manage invitation requests/responses and the RTMP connection.
» SmartMessengerAV
This sample application is based on the SmartMessenger tutorial which integrates a chat, a buddy list system and private A/V live chatting. It shows a more advanced use of the AVChatManager to separate A/V chat requests.
» SmartVideoClipPlayer
This application demonstrates how to build a live shared library of videos, a la "YouTube" providing tools for easily retrieving
the list of available clips and assigning extra custom properties to each video clip. Properties are also persistent and can contain
any data: author, date, description, etc...
The AVClipManager allows also to record a clip from the attached web-cam and save it on disk together with custom properties.
» SmartVideoConference
The example shows how to create a video conference application, ideal for collaborative environments. The AVCastManager handles the live cast publishing/playing to/from the Red5 server. Unlike the other RedBox classes, the AVCastManager works on a room basis to leverage the access control and moderation features of SmartFoxServer rooms.