Thanks. Live rates are now being displayed. You may have to clear your
cache.
Nathan P. Johansen wrote:
> Perhaps that's my fault. I was away all afternoon, so I didn't get to see
> the rest of the testing, but I suggested including some text fields with
> the buffer length and frame rate, and didn't elaborate on how to do that.
> Maybe for the tests tomorrow? :)
>
> He'd need to setup a listener to refresh those values, something along
> these lines in the Action Script code on the first frame, preferably
> after the net stream has been initialized:
>
> var time_interval:Number = setInterval(updateRates, 50, this.ns);
>
> function updateRates(my_ns:NetStream) {
> if ((my_ns.time != null) && (my_ns.bufferLength != null)) {
> bufferLength.text = my_ns.bufferLength;
> frameRate.text = Math.floor(my_ns.currentFps * 100) / 100;
> }
> }
>
>
> Or code to that effect ... otherwise they'll just remain static.
>
> Till anon,
>
> Nate
>
>
> On Wed, 25 Apr 2007, Sales Department wrote:
>
>
>> I don't think the buffer and frame rate are reporting correctly. It
>> looks like they don't update after launch.
>>
>
>
> _______________________________________________
> 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