[Standards-JIG] how to Use media protocol to pass data out of band to XMPP?
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:
> --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 192.168.1.1
> s=TINS questions
> i=Let's talk about TINS
> e=A at example.com
> c=IN IP4 192.168.1.1/127
> t=3288361865 0
> m=audio 7800 RTP/AVP 0
> 震天雷2999"奇袭，AOC一枝独秀17寸液晶市场" http://design.163.com/aocmonitor/index.html
More information about the Standards