Skip to main content
Known Participant
February 22, 2010
Answered

latency time of live streaming

  • February 22, 2010
  • 1 reply
  • 1283 views

How to reduce the latency time of live streaming.

What bandwith, memory is required for reducing live streaming

i will found 6-7 sec of difference in live straeming.

    This topic has been closed for replies.
    Correct answer SE_0208

    Before i tell you how to set bit-rate at publisher end let me clarify one thing, settings which i had told in my previous post are for subscriber end and not at publisher end.

    Now coming back to your publisher question of setting bit-rate:

    You need to do at Camera Input level:Use Camera.setQuality().

    Say now you want to set 20kbps - then you need use cam.setQuality(20480,0)

    Also play around other properties of Camera object to get better quality feed.

    Having said that if you are using Web cam , there is not much you can do, I mean you won't be able to pump very high bit rates.

    Hope this helps

    1 reply

    Participating Frequently
    February 23, 2010

    Are you using "live" application which comes with FMS installation or are you using your own application. If you are using your own app, please try reducing <MinBufferTime> under <Application>/<Client>/<MsgQueue>/<Live> in Application.xml. You can set it to 2000 instead of 8000 which is default.

    Please restart the server after you do changes to any config.

    Also try reducing Client-side buffer.

    Can you let us know what settings you are currently using and also at what bit-rate you are publishing your live stream.

    Known Participant
    February 24, 2010

    thanx for the reply

    I am using my own application  .But i have set the bitrate .Can u tell me how to do that

    nc=new NetConnection  ;

    nc.connect(rtmpNow,streamName);
    nc.addEventListener(NetStatusEvent.NET_STATUS,checkConnect);

    private function checkConnect(e:NetStatusEvent) {

                good=e.info.code=="NetConnection.Connect.Success";
                if (good) {
                    liveVid.attachCamera(cam);
                    ns=new NetStream(nc);
                    ns.attachCamera(cam);
                    ns.attachAudio(mic);
                    ns.publish(streamName);
                          
                }
            }

    SE_0208Correct answer
    Participating Frequently
    February 24, 2010

    Before i tell you how to set bit-rate at publisher end let me clarify one thing, settings which i had told in my previous post are for subscriber end and not at publisher end.

    Now coming back to your publisher question of setting bit-rate:

    You need to do at Camera Input level:Use Camera.setQuality().

    Say now you want to set 20kbps - then you need use cam.setQuality(20480,0)

    Also play around other properties of Camera object to get better quality feed.

    Having said that if you are using Web cam , there is not much you can do, I mean you won't be able to pump very high bit rates.

    Hope this helps