<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">However, I don't understand the length field in the packed structure<br>defined in section 3.2.1<br></blockquote><div><br></div>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:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"The 2 byte length tag defines the length of the packed headers as the sum of the Configuration, Comment, and Setup lengths."</div><div><br></div><div>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.</div><div><br></div><div>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...</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>