views:

46

answers:

1

So I am learning to develop a video chat with multirooms/groups and I know basically what to do for a simple live video chat application. For example:

public function setupconnection ()
{
     youRtmp ="the URL for your rtmp";
     nc=new NetConnection();
     nc.connect (rtmpNow);
     nc.addEventListener (NetStatusEvent.NET_STATUS,ConnectCheckFunction);
     SetUpCameraFunction();
     SetUpMicrophoneFunction();
     SetUpVideoFunction();
}

//ConnectCheckFunction

//SetUpCameraFunction

//SetUpMicrophoneFunction

//SetUpVideoFunction

All things being equal this should give me a simple two way chat. Now I want to extend this to multirooms. One thing comes to mind: create a new folder for each group and point youRtmp there so that technically you have a new application/room each time and different groups connected to different folders will see different video chat feeds. But this would be inefficient since I would have to create a new folder for each group this can be serious problem when the number of groups are very large. (The application is PHP and flash and so when a new group is created in the DB using PHP and MySQL I would go on and create a folder that would be used as stated herewith for live video chat.) What is a more efficient way to do this? Is there a tutorial well written and tested that I could read for ideas to accomplish this? Any help would be greatly appreciated.

A: 

Hi

Would you mind, if I'll advice to save your time an start using Red5 technologies (open source) or if you want use more commercial decision like LiveCycle/BlazeDS.

p.s. if you still really want this little life-hack with rooms - let me know.

Regards
Eugene

Eugene
I'm still interested but I really want to learn to do it myself. Is there anyway you can help me. Point me to resources? Tutor me for a price?
play
Tell me once again your primary target and I'll send to you the snippet.
Eugene
My goal is to have a multiroom video chat system. People in one room will not be able to see the video feeds of people in other rooms until they enter the room.
play
Let me clarify that for server side you are using FMS+PHP+MySQL and on client side only as3 client, right?
Eugene
Yes. I am using that exact combination.
play