Skip to main content
November 25, 2010
Question

Video motion delay

  • November 25, 2010
  • 1 reply
  • 866 views

I've build a simple video chat application. The problem is that there is a delay of seconds between video display i.e. user1 video motion change displayed bit late at the user2 window.

I'm using FMS 3.5 and FLEX.. IS THIS PROBLEM RELATED TO THE BANDWIDTH. My FMS bandwidth is 256kbps.

Here is the code of cam and microphone that I was using in my code.

                   camera = Camera.getCamera();                   
                    camera = Camera.getCamera();
                    camera.setQuality(0,70);
                    camera.setMode(this.width,this.height,20,true);
                    camera.setLoopback(false);
                   
                    video.attachCamera( camera );
                    ns.attachCamera( camera );
                    microphone = Microphone.getMicrophone();
                    microphone.rate = 22;

Please help me out from this problem.

Thanks,

Sanjay

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    November 26, 2010

    Are you talking about delay which you see on video object reflecting your camera input or are you talking about delay between input stream and stream delivered from FMS? I mean i cannot deduce anything from your code as such.

    November 29, 2010

    I'm talking about delay between input stream and stream delivered from FMS?

    Adobe Employee
    November 30, 2010

    Can I know what is the bitrate of the video? If you are using high bitrate then I think you can expect a delay as your bandwidth is not that much high. Try with lower bitrate.

    Regards,

    Amit