Skip to main content
Known Participant
Feb 22, 2010 6:40 AM UTC
Answered

latency time of live streaming

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 is closed to new replies. Start a new post to keep the conversation going.
    SE_0208Correct answer
    Participating Frequently
    Feb 24, 2010 4:31 AM UTC

    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

    3 replies

    Participating Frequently
    Feb 23, 2010 2:21 PM UTC

    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.

    Translate
    Known Participant
    Feb 24, 2010 3:47 AM UTC

    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);
                          
                }
            }

    Translate
    SE_0208Correct answer
    Participating Frequently
    Feb 24, 2010 4:31 AM UTC

    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

    Translate