[Red5devs] Question about FlowControl
steven.gong at gmail.com
Fri Jul 21 21:33:29 EDT 2006
On 7/22/06, Joachim Bauch <jojo at struktur.de> wrote:
> while looking into the FlowControl I think I found a potential issue
> when the available bandwidth is set to a value smaller than the size
> of a keyframe. Imagine a setting to be suitable for modem speed
> like 4 Kb/s. If the size of a keyframe is larger than this 4 Kb,
> no video ever will be sent and a client never will see any updates
> as all frames are dropped.
> Perhaps we should allow the buckets to have more tokens than their
> maximum configured capacity to make such settings work as well.
> With the above example and a keyframe size of 8 Kb, every second
> frame should be sent (for 12 Kb, every third and so on).
> Or did I miss something?
There're two parameters that control the bucket, one is the capacity and the
other is the speed. The capacity controls the maximum amount of tokens in a
bucket and the speed defines how many tokens are added per second.
When the capacity is set smaller than the size of keyframe, no video is
sent. So we'd better set the capacity large enough. While the small value of
speed is not a problem, because as long as the speed is positive, the tokens
in bucket always increment and should surpass the keyframe size one day.
> Red5devs mailing list
> Red5devs at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5devs