12 November 2008

Flex Video Chat

So just this past week, I hosted a party for some former classmates of mine, and thought it would be great if classmates who could not attend the event in person have a way to still be part of the party and interact with those who did attend.  The obvious thought was to have a chat application, but wanted to take it a step further and add a live video stream, and integrate the two together.  I found a simple Flex chat application that was put together by Stefan Richter which used Flash Media Server as the central connecting point, and to add the live video stream I just integrated my live weather widget application posted earlier which is basically an FMS live video stream.

 Some of the issues that came up was the incredible lag time between the live broadcast stream and when the end users received it.  The lag got progressively worse the longer the steam played.  After some research it was discovered that an apparent bug cases this and the workaround is to specifically set the microphone bitrate to 22Khz: 

microphone = Microphone.getMicrophone();
microphone.rate = 22;
 

For simplicity, I created two separate applications in the Flex project.  One for the end users, and one for the broadcaster.  Both are very similar, but each uses it's own unique Video Pod component.  One plays the video, and the other publishes it.
 
Check out the source code here.

-Christopher Keeler

Subscription Options

You are not logged in, so your subscription status for this entry is unknown. You can login or register here.

Re: Flex Video Chat
Sounds interesting, although the link to the source seems to be broken (?)... Could you fix it so we can try it? I suppose one would need to run a FMS "somewhere" in order for the code to work right?

Thx
Best!
Posted by TF on December 17, 2008 at 12:33 PM

Re: Flex Video Chat
Posted by Logan on January 1, 2009 at 1:23 PM

Re: Flex Video Chat
Posted by flv to video on February 23, 2009 at 3:22 AM

Re: Flex Video Chat
Hi,
I am a rookie in Flex.
Thanks for the source code.
I was able to run the FMSVideoChatBroadcaster andsee my video there.
When i try to run FMSVideoChat and connect as a different user,
it says "CONNECTING TO LIVE STREAM...." and is stuck there for ever..
Am i missing something?

My setup:
Vista
FMS3.5.1
FBuilder 3

Also i see the below error in the log:
ReferenceError: Error #1069: Property onBWCheck not found on flash.net.NetConnection and there is no default value.

Any hint/suggestion is highly appreciated.
Thanks in Advance,
Anil
Posted by Anil on March 16, 2009 at 10:13 PM

Re: Flex Video Chat
Hi all,
I am new to flex. I got the source course & i have FMS server also.
How i can install this script with fms.

Any one help me where i have to paste this source code & how can i run to see the o/p?

Regards,
Vani
Posted by vani on March 31, 2009 at 9:41 AM

Re: Flex Video Chat
Christopher I was reading your blog and find it to be very good information. I was hoping you would check out our new custom RIA using Flex and AIR technology at http://www.mcwsoftware.com/blog I think you will find our custom applications using Flex and Java very interesting.
Posted by Dustin Levens on April 21, 2009 at 7:24 PM

Re: Flex Video Chat
I was able to run the FMSVideoChatBroadcaster and see my video there.
When i try to run FMSVideoChat and connect as a different user,
it says "CONNECTING TO LIVE STREAM...." and is stuck there for ever..

im having the same problem how find a solution for that??????

thanks hugs
Posted by Victor Hugo on April 25, 2009 at 4:50 PM

Re: Flex Video Chat
Hello,
I created a folder on the FMS application directory called flexchat
But when I enter my name and hit the submit button the clock comes up and it never ends, no error message is displayed neither.
I am using FMS3.5 and Flex 3.1
I will appreciate any help!

Thanks
Posted by Guillermo on May 14, 2009 at 3:31 AM

Re: Flex Video Chat
This is a very cool chat, I have it running on my server right now, but i am not able to view my webcam. I am useing a logitech quickcam express, am I missing something.
Posted by steve on July 11, 2009 at 1:59 AM

Re: Flex Video Chat
Hi! i am new in flex . my problem is that. I intry to install webORB in vista ultimate but it does'nt .so please guide me from where i can get webORB setup for vista.
Posted by deepakkarma on September 10, 2009 at 6:31 AM

Re: Flex Video Chat
i download set up of webORB from Midnightcoder web site .but it not install in vista ultimate.please help me.
Posted by deepakkarma on September 10, 2009 at 6:33 AM

Re: Flex Video Chat
salut commet va tu
Posted by said1982 on December 19, 2009 at 7:54 PM

Re: Flex Video Chat
It is available to get the thought referring to custom write and just about this good topic in up to date world. But before people order the pre written essay, they must determine the trustworthy essay writing service.
Posted by sHEVIE on January 8, 2010 at 4:36 PM

Re: Flex Video Chat
Good work !! ? ???????? [url]http://jenyne.ru[/url]
Posted by eman81 on February 10, 2010 at 5:34 AM

Name:   Required
Email:   Required your email address will not be publicly displayed.

Want to receive notifications when new comments are added? Login/Register for an account.

Anti-spam key

Type in the text that you see in the above image:

Your comment:

Sorry, no HTML allowed!