Thanks for the information. It was very helpful.

If the streamID is used to associate a response with a a request, what's the 
use of csid?




----- Original Message ----
From: Max <[email protected]>
To: Open Source Flash Mailing List <[email protected]>
Sent: Friday, August 7, 2009 10:41:46 PM
Subject: Re: [osflash] RTMP: How to associate responses and requests?

I am reading my last post. Replace the third paragraph with this one (and I go 
back to sleep :) )

Max a écrit :
> 
> The chunk type if stored in the first two bits of the first byte. The two 
> first bits (??xxxxxx) of the first byte will inform you if chunk is type 0 
> (00xxxxxx), 1 (01xxxxxx), 2 (10xxxxxx) or 3 (11xxxxxx). If type is 0, chunk 
> message header is 11 bytes long and you will get the sid (not csid) from 
> bytes 8 to 11. If type is 1, 2 or 3, then chunk message header will be 7, 3 
> or zero bytes long respectivly. In type 1, 2 or 3 the sid is not mentionned. 
> You must refer to the previous chunks (based on csid) as the stream ID 
> remains the same. This also means you must send or receive a 0-typed chunk 
> before sending or receiving 1, 2 or 3-typed chunks.



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



      

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

Reply via email to