Hi,

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

Joachim


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to