[Standards-JIG] xep-0177 and xep-0166

Thiago Rocha Camargo thiago at jivesoftware.com
Tue Oct 24 02:48:34 UTC 2006


XEP-0166 describes an IQ with N contents

<iq to='juliet at capulet.com/balcony' from='romeo at montague.net/orchard' 
id='jingle1' type='set'>
  <jingle xmlns='http://jabber.org/protocol/jingle'
          action='session-initiate'
          initiator='romeo at montague.net/orchard'
          sid='a73sjjvkla37jfea'>
    <content name='this-is-the-audio-content'>
      <description 
xmlns='http://jabber.org/protocol/jingle/description/audio'>
        ...
      </description>
      <transport xmlns='http://jabber.org/protocol/jingle/transport/ice'>
        ...
      </transport>
      <transport 
xmlns='http://jabber.org/protocol/jingle/transport/raw-udp'>
        ...
      </transport>
    </content>
    <content name='this-is-the-video-content'>
      <description 
xmlns='http://jabber.org/protocol/jingle/description/video'>
        ...
      </description>
      <transport xmlns='http://jabber.org/protocol/jingle/transport/ice'>
        ...
      </transport>
      <transport 
xmlns='http://jabber.org/protocol/jingle/transport/raw-udp'>
        ...
      </transport>
    </content>
  </jingle>

However xep-0177
Show an transport and description WITHOUT the CONTENT Node...

<iq to='juliet at capulet.com/balcony' from='romeo at montague.net/orchard' 
id='jingle1' type='set'>
  <jingle xmlns='http://jabber.org/protocol/jingle'
          action='session-initiate'
          initiator='romeo at montague.net/orchard'
          sid='a73sjjvkla37jfea'>
    <description ...>
    <transport xmlns='http://jabber.org/protocol/jingle/transport/raw-udp'/>
  </jingle>
</iq>

Is xep-0177 outdated?
How should it work?
How should I associate an Transport IQ to an specific Content Node? If I 
can associate without it, why it exists in XEP-0166 ?
Otherwise let me know how it should work.

Regards,
Thiago









More information about the Standards mailing list