|
Flash Media Server Resources |
Overview of Flash Media ServerClient-server architectureFlash Media Server is a hub. Applications connect to the hub using Real-Time Messaging Protocol. The server can send data to and receive data from many connected users. A user can capture live video or audio using a camera and microphone attached to a computer running Adobe® Flash® Player or Adobe® AIR™ and publish it to a server that streams it to thousands of users worldwide. Users worldwide can participate in an online game, with all moves synchronized for all users. Users connect to the server through a network connection. A connection is similar to a large pipe and can carry many streams of data. Each stream travels in one direction and transports content between one client and the server. Each server can handle many connections concurrently, with the number determined by your server capacity. An application that runs on Flash Media Server has a client-server architecture. The client application is developed in Adobe Flash or Adobe Flex™ and runs in Flash Player, Adobe AIR, or Flash® Lite™ 3. It can capture and display audio and video and handle user interaction. The server application runs on the server. It manages client connections and permissions, writes to the server’s file system, and performs other tasks. The client must initiate the connection to the server. Once connected, the client can communicate with the server and with other clients. More specifically, the client connects to an instance of the application running on the server. An example of an application instance is an online game with different rooms for various groups of users. In that case, each room is an instance. Many instances of an application can run at the same time. Each application instance has its own unique name and provides unique resources to clients. Multiple clients can connect to the same application instance or to different instances. View full size graphic ![]() Several clients connecting to multiple applications (sudoku
and scrabble) and application instances (room 2, room 1, and room
2) running on Flash Media Server Parts of a media applicationThe client application is written in ActionScript™ and compiles to a SWF file. The server application is written in Server-Side ActionScript (which is like ActionScript 1.0, but runs on the server, rather than on the client). A media application usually has recorded or live audio and video that it streams from server to client, client to server, or server to server. A typical Flash Media Server application has these parts:
|