> However, I don't understand the length field in the packed structure > defined in section 3.2.1
Although it's not stated explicitly, I'm pretty sure that it (and the other fields) are the same as for the structure that's used for "In-band Header Transmission" (in section 3.1). In particular, at the end of page 10 of RFC 5215, we see: "The 2 byte length tag defines the length of the packed headers as the sum of the Configuration, Comment, and Setup lengths." I suspect that they meant to say "Identification" instead of "Configuration" there. So, I inferred that the "length" field should be just the sum of the lengths of the "Identification", "Comment", and "Setup" headers, but *not* including the lengths of any of the preceding fields ("Ident", "length", "n. of headers", "length1", "length2"). So, in your example, I think the LIVE555 server is correct in setting the "length" field to 3094, and not 3106. So, if you agree with this, I suggest modifying VLC's code accordingly. But if you disagree, then we should probably ask the Xiph folks for clarification... Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel