[Red5devs] Stream limit finally gone
steven.gong at gmail.com
Sat Feb 10 04:43:28 EST 2007
I should say that you are quick and great! Seems I have to roll back my
local modifications... :-)
How did you find the 3 byte channel id case? By brute force?
On 2/10/07, Joachim Bauch <jojo at struktur.de> wrote:
> just a short FYI: the 12 stream-limit per connection is finally gone.
> Most of the credits go to Steven for finding out about 2 byte channel
> ids. The now (and final) maximum number of streams per connection is
> 13119 which should be enough for any type of application :)
> Technical background:
> RTMP uses two "magic" channels to encode such higher channel ids:
> Channel 0: 2 bytes containing "AB000000 CDEFGHIJ" where "AB" is
> the header size marker and "CDEFGHIJ" is the channel id - 64.
> Channel 1: 3 bytes containing "AB000001 KLMNOPQR CDEFGHIJ" where
> AB is the header size marker and "CDEFGHIJ KLMNOPQR" (network byte
> order!) is the channel id - 64.
> Examples (all assuming complete headers):
> Channel 234 is encoded as 0x00 0xAA
> Channel 3926 is encoded as 0x01 0x56 0x0F
> Red5devs mailing list
> Red5devs at osflash.org
I cannot tell why this heart languishes in silence. It is for small needs it
never asks, or knows or remembers. -- Tagore
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5devs