I've just figured this out!

Looking at smaller, full RTMP video packets, they only have a header of 8 bytes, ending in 09. After each 128 bytes an C6 is added, and the numbers add up.
For a 670 bytes size packet, the RTMP header-declared length is 0x291 = 657.
657 can hold 5 128-byte packets, so there's 5 C6 bytes in between chunks.
The header is 8 bytes, rendering 657+8+5=670.

I've three different traces of the 1st video packet that is larger and contains 
a full frame.
In two of them the chunking is performed at 128 bytes, as for the smaller, delta frames. All fine and dandy. In the other 1st video packet, the first C6 byte appears at offset 158 in the trace file, which is 18 bytes "later"; after that it continues at each 128. Weird!

Cheers,
--
Radu-Adrian Popescu
CSA, DBA, Developer
Aldrapay MD
Aldratech Ltd.
+40213212372

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to