SDP 行必须以属性字符开头还是可以以空格开头? RFC 不明确

Must a SDP line start with the attribute character or can it start with Whitespace? RFC is not clear

RFC 4566 是 SDP 语法的控制 RFC。 它在 Section 5 - SDP Specification 中指出:

   An SDP session description consists of a number of lines of text of
   the form:

      <type>=<value>

   where <type> MUST be exactly one case-significant character and
   <value> is structured text whose format depends on <type>.  In
   general, <value> is either a number of fields delimited by a single
   space character or a free format string, and is case-significant
   unless a specific field defines otherwise.  Whitespace MUST NOT be
   used on either side of the "=" sign.

但是,在区分大小写的字符之前是否可以有空格是不清楚的。 提供 BNF 语法的第 9.0 节在这个问题上也有歧义。我见过的所有 SDP 条目似乎都是从第一个位置开始属性行,但问题是在 SDP 条目的开头是否允许空格。

提供给一个有点相似但绝对不同的答案 我之前曾问过一些问题,但在这个特定问题上不是确定的。

区分大小写的字符前不允许有空格。 BNF/ABNF 不表明您可以在 session-description 中定义的行之前添加空格。他们甚至明确说明您必须使用哪个字母,例如 v=....