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

Joe Hildebrand hildjj at gmail.com
Mon Jul 12 15:23:43 UTC 2004

Use the data in the SDP document to start up your RTP library, which
should make a new RTP session between the two endpoints.  "Out of
band" here is used in the generic sense, in that the data is not going
over your existing XMPP connection.  It has nothing to do with
jabber:x:oob and the like.

On Mon, 12 Jul 2004 15:07:13 +0800 (CST), gpspilot <gpspilot at 163.com> wrote:
> 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:
> --http://ietf.org/internet-drafts/draft-hildebrand-xmpp-sdpng-00.txt
> --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
> --traversal
> 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:
> <message
>     from='A at example.com/work'
>     to='B at example.com/laptop'
>     id='tins01'>
>   <thread>1234 at hostA.example.com</thread>
>   <tins method='INVITE' xmlns='http://jabber.org/protocol/tins'>
>     <sdp xmlns='urn:ietf:rfc:2327'>
>       v=0
>       o=A at example.com 98765432 IN IP4
>       s=TINS questions
>       i=Let's talk about TINS
>       e=A at example.com
>       p=+1-303-555-1212
>       c=IN IP4
>       t=3288361865 0
>       a=recvonly
>       m=audio 7800 RTP/AVP 0
>     </sdp>
>   </tins>
> </message>
> ========================================================
> 震天雷2999"奇袭,AOC一枝独秀17寸液晶市场" http://design.163.com/aocmonitor/index.html

Joe Hildebrand

More information about the Standards mailing list