XEP-0176: Improve compatibility with WebRTC clients

This commit is contained in:
Emmanuel Gil Peyrot 2020-11-27 21:07:00 +01:00
parent 2efb37a0ee
commit 23f201a0ba
1 changed files with 15 additions and 4 deletions

View File

@ -33,6 +33,17 @@
<li>Make the 'foundation' attribute a string instead of an unsignedByte, in accordance with &rfc8445;.</li>
<li>Make the 'network' attribute optional, and add a mapping to SDP.</li>
@ -383,8 +394,8 @@ INITIATOR RESPONDER
<td>An index, starting at 0, referencing which network this candidate is on for a given peer (used for diagnostic purposes if the calling hardware has more than one Network Interface Card).</td>
<td>"extension-att-name network extension-att-value &lt;the network&gt;" in a=candidate line</td>
@ -1012,16 +1023,16 @@ Romeo Gateway Juliet
<xs:extension base='empty'>
<xs:attribute name='component' type='xs:unsignedByte' use='required'/>
<xs:attribute name='foundation' type='xs:unsignedByte' use='required'/>
<xs:attribute name='foundation' type='xs:string' use='required'/>
<xs:attribute name='generation' type='xs:unsignedByte' use='required'/>
<xs:attribute name='id' type='xs:NCName' use='required'/>
<xs:attribute name='ip' type='xs:string' use='required'/>
<xs:attribute name='network' type='xs:unsignedByte' use='required'/>
<xs:attribute name='port' type='xs:unsignedShort' use='required'/>
<xs:attribute name='priority' type='xs:positiveInteger' use='required'/>
<xs:attribute name='protocol' type='xs:NCName' use='required'/>
<xs:attribute name='rel-addr' type='xs:string' use='optional'/>
<xs:attribute name='rel-port' type='xs:unsignedShort' use='optional'/>
<xs:attribute name='network' type='xs:unsignedByte' use='optional'/>
<xs:attribute name='type' use='required'>
<xs:restriction base='xs:NCName'>