Articles

Tag Archive for 'multiuser'

multiuser as3 framework for flash media server and red5

Multiuser programming is a hard thing to do. Not only does it involve a different way of approaching a problem, it also means you have to learn to program the server and communicate with it and all of it’s connected clients.
The flash media server and it’s opensource variant red5 give us two perfect platforms to do complex multiuser interaction. While they differ in the way you write server code, they are the same when it comes to writing client side code for flash/flex.

Because there are no client side abstractions to multiuser programming out there, we wrote our own and share it with you here. In our nl.dpdk.services.fms package you can find a number of classes that abstract the gory details of interacting with either the flash media server or red5, making it easier to code, easier to maintain, easier to understand cleaner and less error prone. It still allows you to use advanced features and hack away at a low level, but makes it a breeze to setup a complex environment in a short time. The classes we present in our package focus only on data exchange and not on doing streams.

Since multiuser programming is extremely cool, gives you loads of possibilities to do fun stuff and does not need to be hard, we’ll try to get you up and running with fms in this post.
Continue reading ‘multiuser as3 framework for flash media server and red5′

Flash Media Server and using RemoteId

When working with multiuser applications, the method of choice in flash is the flash media server (fms). The main alternatives are wowza, a commercial server for streaming media and red5, the opensource alternative.

No matter what server you use, keeping track of the connected users is one of the main things that need to be done correctly. We need to be able to communicate with each and every user from our clientside application via the fms, we need to be able to keep track of them and be able to know what and how something changed about their data. We want to be able to target specific users and send them messages, we want to know which user has sent us a message etc.
Continue reading ‘Flash Media Server and using RemoteId’