[Standards-JIG] how to Use media protocol to pass data out of band to XMPP?

gpspilot gpspilot at 163.com
Mon Jul 12 07:07:13 UTC 2004

Considerating the voice and video over jabber network, I browse the archive of maillist and found http://www.jabber.org/pipermail/standards-jig/2003-April/002842.html is a good idea about it.

It says :

--For 1), you can use TINS:

--For 2), you *could* use bytestreams, but voice and video really need to be
--isochronous (packets get dropped if they can't be delivered with constant
--latency), so TCP is usually not a great fit.  There are existing media
--protocols that would work, like RTP (http://www.ietf.org/rfc/rfc1889.txt).
--For most Jabber servers, you wouldn't want to do this sort of thing in-band,
--because of karma restrictions, XML overhead, and added latency.

--The general approach I'm seeing is:
--- Use TINS to negotiate a media protcol, like RTP
--- Use media protocol to pass data out of band to XMPP
--- Use something like STUN (http://www.ietf.org/rfc/rfc3489.txt) for firewall

So I manage to add video-audio talk on my jabber client, the first step is to use TINS to negotiate a media protocol I use RTP:

    from='A at example.com/work' 
    to='B at example.com/laptop' 
  <thread>1234 at hostA.example.com</thread>
  <tins method='INVITE' xmlns='http://jabber.org/protocol/tins'>
    <sdp xmlns='urn:ietf:rfc:2327'>
      o=A at example.com 98765432 IN IP4
      s=TINS questions
      i=Let's talk about TINS
      e=A at example.com
      c=IN IP4
      t=3288361865 0
      m=audio 7800 RTP/AVP 0


震天雷2999“奇袭,AOC一枝独秀17寸液晶市场” http://design.163.com/aocmonitor/index.html

More information about the Standards mailing list