Here's how we do the buffering control on the Flash client. Basically,
you wait for a Full or Empty status on the net stream and adjust the
buffer accordingly. Seems to work well to smooth out the bumps on a
questionable connection.
startBufferLength=2;
expandedBufferLength=15;
ns_video.setBufferTime(startBufferLength);
ns_video.onStatus = function(infoObject:Object) {
if (infoObject["code"]=="NetStream.Buffer.Full"){
ns_video.setBufferTime(expandedBufferLength);
}
if (infoObject["code"]=="NetStream.Buffer.Empty"){
ns_video.setBufferTime(startBufferLength);
}
}
Dan Rossi wrote:
> How do you achieve this ?
>
> Ive found to stop video frame freezing on live video to have the quality
> setting at 80%, anything more than this will start getting sticky
> frames, which is terrible the video is just blocky.
>
> Interalab wrote:
>
>> Lately, we've been using a dynamic buffering scheme that can go from 2
>> seconds up to 10 seconds if needed. We haven't tried live streaming
>> since changing to dynamic - we'll give it a try and report back. Thanks!
>>
>> Rodrigo Ordonez Licona wrote:
>>
>>
>>> WE reduced the bufering time and achieved better results on a live video
>>> stream.
>>>
>>> This seems so develop with high latency connections ,
>>>
>>> 2 -6 second buffer solved the problem for us
>>>
>>> And not sure if RC2 actually behaved the same
>>>
>>> Will try.
>>>
>>> HTH
>>>
>>> Rodrigo O
>>> Xnet
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>>> Of Interalab
>>> Sent: Sábado, 17 de Febrero de 2007 11:43 a.m.
>>> To: [email protected]
>>> Subject: Re: [Red5] Video delays, 0.6RC2 doesn't compile
>>>
>>> I haven't seen anything from anyone since the delay issue was first posted
>>> to indicate that it has been looked at or fixed. It is a HUGE issue related
>>> to live streaming and is blocking a major project of ours too. I've asked
>>> before if there is anything we can do to help or where we should start
>>> looking but never received any direction. Does anyone know anything about
>>> this issue or what we can do to help??
>>>
>>> Bill
>>>
>>> Daniel Küstner wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> I am working on the AV chat for Covcell (see http://
>>>> www.covcell.org/). During the Covcell project we are implementing
>>>> some extensions to the open source LMS Moodle, among other things an
>>>> audio-/video chat. The chat component consists of a flash client,
>>>> compiled from OpenLaszlo sources and the Red5 streaming server.
>>>>
>>>> First I'd like to thank you for the great work you are doing on Red5.
>>>> It's a big help to have such an easy to use and powerful tool.
>>>>
>>>> I have two issues with Red5:
>>>>
>>>> 1) When streaming a broadcast stream, the result at client side is
>>>> getting a delay after some time. Sometimes the video stream catches
>>>> up again, sometimes it's getting worse, the longer I am streaming. I
>>>> found the track ticket http://mirror1.cvsdude.com/trac/osflash/red5/
>>>> ticket/177.
>>>>
>>>> Does anybody know the progress on this bug? Will it be fixed in 0.6
>>>> final?
>>>>
>>>> 2) In order to check, if it is fixed in 0.6 RC2, I downloaded it, but
>>>> got some build errors in Eclipse. The errors are all happening at
>>>> accesses to the class javax.script.ScriptEngine, which is delivered
>>>> in js-223-1.0-pr.jar. Maybe a wrong version of that library was
>>>> delivered?
>>>>
>>>> I am using Eclipse 3.2.1 on a Mac OS X 10.4.8 with Java 1.5.0.
>>>>
>>>> greetinx. daniel.
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org