Skip to main content
Known Participant
March 16, 2010
Question

latency time

  • March 16, 2010
  • 4 replies
  • 1031 views

i am trying to make a video chat appliaction.But quality of video is not good. and i am also facing the latency problem, time lagging is aprox 1 min.i want to get best quality   with no latency for live streaming. So please can any one tell me which setting is reaqiured. i am also saving stream in the .flv file by this.

ns.publish(streamName,"apppend");

i have done these setting for camera setting

my video size is 397x307

camera.setKeyFrameInterval (9);

camera.setQuality(0,100);
camera.setMode(397,307,15,true);
camera.setLoopback(false);

I am using influxis services for FMS.

    This topic has been closed for replies.

    4 replies

    March 16, 2010

    Hi.

    This FMS is all well and good, but doesn't it all work a lot better when you deploy via a

    streaming service provider, like Akamai, Limelight, Mirror or Vitalstream?

    Simply without multiple redundant servers linked in large networks,

    its impossible for a small user running FSM on a hosted server to make a professional

    delivery impact on a mere budget of $995 (the cost of the software).

    So why not just pay a service provider and save all the hassle. I know Adobe say their software streams

    right out of the box, but isn't that all just sales BS?

    Also when you ring Adobe you get caught in the Tech Support trap.

    ADOBE: "If you buy the software sir, we'll give you tech support".

    ME: "Yes but I want to know whether streaming myself will save me $360 a month in streaming costs

    and whether streaming straight from the box is as good as my service provider?" ADOBE: "You don't have a tech support plan sir,

    but you could log into one of our forums and ask someone there!" "Or you could ask an Apple Mac reseller in the UK!" ME: "but

    none of the resellers know anything about FMS!"

    DOES EVERYONE GET THE PICTURE!!!!!

    Would love to stream my own stuff, but !!!!!!!!!!!!!!!!!!!!!!!!!

    http://www.andrewcb.com

    A lot of contributors here seem to have more problems than the software's perceived benefits,

    is this the reality ~ a nice idea, but a load of rubbish in practice?

    OR does it actually work well.

    Regards to all,

    Andrew CB.

    March 17, 2010

    Andrew - While your frustrations may be valid, I'm sure you're well aware that coming into a user end support forum and cluttering someone else's thread with noncontributory rantings is at confict with commonly accepted etiquette. While it's clear you're looking for camaraderie in your dissatisfaction, I suspect you'll find the end result of such behavior to be those that are capable of helping you will not be inclined to do so.

    If you're here seeking assitance of some sort, just ask your questions and spare us the rantings. There are many, many people out there having great success with FMS in both large and small deployments, so it goes to reason that deployment problems are more often the result of inexperience, rather than a shortcoming of the software.

    March 16, 2010

    Hi.

    This FMS is all well and good, but doesn't it all work a lot better when you deploy via a

    streaming service provider, like Akamai, Limelight, Mirror or Vitalstream?

    Simply without multiple redundant servers linked in large networks,

    its impossible for a small user running FSM on a hosted server to make a professional

    delivery impact on a mere budget of $995 (the cost of the software).

    So why not just pay a service provider and save all the hassle. I know Adobe say their software streams

    right out of the box, but isn't that all just sales BS?

    Also when you ring Adobe you get caught in the Tech Support trap.

    ADOBE: "If you buy the software sir, we'll give you tech support".

    ME: "Yes but I want to know whether streaming myself will save me $360 a month in streaming costs

    and whether streaming straight from the box is as good as my service provider?" ADOBE: "You don't have a tech support plan sir,

    but you could log into one of our forums and ask someone there!" "Or you could ask an Apple Mac reseller in the UK!" ME: "but

    none of the resellers know anything about FMS!"

    DOES EVERYONE GET THE PICTURE!!!!!

    Would love to stream my own stuff, but !!!!!!!!!!!!!!!!!!!!!!!!!

    http:/www.andrewcb.com

    A lot of contributors here seem to have more problems than the software's perceived benefits,

    is this the reality ~ a nice idea, but a load of rubbish in practice?

    OR does it actually work well.

    Regards to all,

    Andrew CB.

    March 16, 2010

    camera.setQuality(0,100);

    What you're telling the flashplayer is to use as much bandwidth as it needs to maintain 100% quality. This is sort of unrealistic, as very few users will have enough bandwidth to publish a camera at 100% quality. I'd try defining a byterate (byterate is the first argument), and reducing the quality (the second argument). As you have it now, not only will latency suffer, but the flashplayer will drop a lot of frames to keep up (or try to keep up anyway)

    camera.setKeyFrameInterval (9);

    Any particular reason you're sending keyframes every 9 frames? You could likely get away with spacing them further apart. You can go as high as 48... my typical practice is to send one per second.

    camera.setMode(397,307,15,true);

    Most webcams don't support 397x307, so the flashplayer is going to need to work pretty hard to resample and scale the image. I tend to use commonly supported resolutions to avoid this, 320x240 would be a better option. Also, are you displaying the video at the same size at which you're capturing the camera? If not, the flashplayer has to scale the image on playback, which tends to make the video look muddy and/or blocky.

    calmchessplayer
    Inspiring
    March 16, 2010

    your settings look good .......how much bandwidth do you have? Do you have a buffer on the netStream?