[Jingle] Definition of foundation in XEP-0176
stpeter at stpeter.im
Wed Jul 20 18:27:25 UTC 2011
On 7/20/11 12:19 PM, Bala Pitchandi wrote:
> From XEP-0176 <http://xmpp.org/extensions/xep-0176.html>, “foundation”
> is defined as “A foundation as defined in ICE-CORE”. In ICE-CORE
> (RFC5245 <http://tools.ietf.org/html/rfc5245>), foundation is defined as
> <foundation>: is composed of 1 to 32 <ice-char>s. It is an
> identifier that is equivalent for two candidates that are of the
> same type, share the same base, and come from the same STUN
> server. The foundation is used to optimize ICE performance in the
> Frozen algorithm.
> But in the schema that’s included in XEP-0176, foundation is defined as
> <xs:attribute name='foundation' type='xs:unsignedByte' use='required'/>
> If following RFC5245, foundation should be a “xs:string” and not a
> “xs:unsignedByte”. Is this an oversight/mistake?
Looks like an oversight. The ICE spec changed a lot over time, so it's
possible we were tracking an earlier version when we defined it that
way. In any case it's an easy schema fix.
More information about the Jingle