1 person found this helpful
if you're making a video-chat type application, you can use rtmfp. this is from: http://www.amazon.com/Flash-Game-Development-Social-Mobile/dp/1435460200/ref=sr_1_1?ie=UTF 8&qid=1376401848&sr=8-1&keywords=gladstien
Since Flash Player 10, you can create multiplayer games without the need of an intermediary server to facilitate player communication. The Flash Player can use a protocol (Adobe's Real-Time Media Flow Protocol) that allows direct peer-to-peer communication.
Instead of using server-side code to handle the game logic and coordinate game state among players, each peer in the network handles their own game logic and game state and communicates that directly to their peers and each peer updates their game state based on the data received from others.
To use peer-to-peer networking each peer must connect with an Adobe server. Peer-to-peer communication does not go through that server (or it that would not be peer-to-peer) but peers must stay connected with the Adobe server in order to communicate with each other.
To communicate with the Adobe server you should use your own server URL and developer key. That URL and key can be obtained at http://www.adobe.com/cfusion/entitlement/index.cfm?e=cirrus.
Below is a simple tic-tac-toe game that uses Adobe's peer-to-peer networking to pair-up players. The NetConnection class is used to establish a connection to the Adobe server while the NetGroup class is used for peer-to-peer communication.
I used only a small part of the NetGroup methods for the tic-tac-toe game but there are more available if you are sharing data among many users and/or sharing large amounts of data.
The tic-tac-toe game is in support files/Chapter 11/multiplayer and is extensively commented.
Thanks for your response. It helped alot.
I need to stream the video. Just like a teacher giving lecture to multiple students, so in the end there would be multiple teacher and multiple students.
I hope this would also be done with rtmfp.
Is it possible to broadcast the video from webcam or will have to use "Adobe Flash Media live Encoder" to send the video.
This what I found in "Adobe Stratus".
If data can’t be sent client to client, or if you need to publish to a larger number of subscribers, use Flash Media Server 3 or the upcoming Flash Media Server 3.5 (www.adobe.com/go/fms) to fallback for Client-Server data delivery.
In my case subscribers could be 500 or more. Should i user client server data delivery?
you'll need to check your options. even with a server, you may be encounter connection limits.