Skip to main content
Known Participant
August 25, 2010
Question

Optimization of live streaming

  • August 25, 2010
  • 1 reply
  • 644 views

I have live streaming but problem is that it is stopping and continues every 2-3 second, I do not know which issues causes it.

Please give me some optimization tips and examples to optimize the output of stream

1. For example how to make that stream result would not higher than 256 kbps?

2. No stop in live streaming

    This topic has been closed for replies.

    1 reply

    August 26, 2010

    Hi,

    I don't get your first question completely. Can you please clarify this a bit.

    Also let me know how are you encoding the live stream. Are you using FMLE or any other encoder or a Flash client.

    On the subscriber end, what is the buffer time that you have set? When you say streaming stops frequently what is the status message you get, do you get NetStream.Play.InsufficientBW?

    Thanks,

    Abhishek

    samyahyaAuthor
    Known Participant
    August 26, 2010

    I am using below code

    application.onAppStart = function(){

    this.clientStream = Stream.get("clientPlayStream");

    this.clientStream.play("nisan", 0 , 15 , false);

    this.clientStream.play("qeyd", 0 , 15 , false);

    trace('ok');

    }

    but when playing this one it stops and goes. not good enough

    1. how I can set buffer time? in Application.xml or somewhere else?

    August 26, 2010

    On the subscriber end, you can set bufferTime by using

    ns.bufferTime = 5; //This will set a buffer of 5 seconds.

    Check as to what status messages you get during playback on client. If you think bandwidth is not sufficient, you will need to encode your flvs to lower bitrate and then form the server side playlist.

    You can check this cool application at http://www.adobe.com/devnet/flash/apps/flv_bitrate_calculator/ to know what bandwidth you require for different types of video at different bitrates