On 5/4/06, Philippe Khalaf <[EMAIL PROTECTED]> wrote:
On Thu, 4 May 2006 01:55:20 +0100
Alvaro Saurin <[EMAIL PROTECTED]> wrote:

>
> On 4 May 2006, at 00:25, Rob Taylor wrote:
>
> > Alvaro Saurin wrote:
> >>
> >> Hi,
> >>
> >> I am going to propose a project to the Adium team for the SoC'06. It
> >> will consist on the implementation of Jingle for Adium but, during
> >> the
> >> last days, we have been discussing what is the right way of
> >> implementing
> >> this, and we have found several possible solutions. Some people have
> >> defended the idea of using LibGaim, as it is supposed to be about to
> >> include support for Jingle with the help of FarSight.
> >>
> >> But, in my view, the use of FarSight can present some problems in
> >> Mac.
> >> AFAIK, FarSight is based on the idea of plugins for GStreamer, and
> >> the
> >> use of GStreamer in Mac would be a mad idea. It is a nice
> >> framework for
> >> Linux, but  it can not be safely used in Mac. I don't know what is
> >> the
> >> Mac support level, but it is probably not the first priority for
> >> their
> >> developers. They use their own codecs (or from external libraries
> >> like
> >> ffmpeg, libdv...), and they will never be as efficient or problem-
> >> free
> >> as the QT equivalents.
> >
> > GStreamer on Mac seems to be being worked on, and by core Gstreamer
> > hackers! See:
> > http://zaheer.merali.org/articles/2006/04/27/osx-audio-with-
> > gstreamer-0-10
>
> Ok. I'll take a look. Thanks.
>
> >> On the other hand, the implementation of Jingle could be quite
> >> easy with
> >> the use of QuickTime. Besides the fact of using highly optimized
> >> codecs,
> >> a couple of lines is all we need for opening a SDP descriptor with
> >> QuickTime. To create an SDP of our audio/video source is also very
> >> simple, and QuickTime will handle all the RTP stuff in a painless
> >> way.
> >
> > I'm afraid you're underestimating the complexity of hooking up
> > libjingle
> > - you basically need to hook it in *instead* of using a socket. I have
> > no idea how possible it is to make custom network sinks for quicktime,
> > but this is what would be required.
>
> As far as I can understand from the JEP-0167, Jingle handles the
> session negotiation and control, the mapping to a SDP. The transport
> protocol will be done with something like RTP. Right? So, in my view,
> I don't need to put libjingle instead of a socket. I need to talk to
> linjingle, use it for controlling the session and, at some point, for
> obtaining a SDP-equivalent description of the other endpoint. Then, I
> can open it with QuickTime. On the other hand, I can open my
> QuickTime device and publish my SDP-equivalent descriptor.
>
> Am I missing anything?
Yes you are. libjingle does the signaling, but it also does STUN/ICE to
establish a P2P link. This is not a simple procedure and is well
outlined in both the STUN RFC as well as the ICE RFC. libjingle has to
handle the sockets and lower level network connections. libjingle does
not offer any way to set/get the udp sockets, and even if it did, you
would need to filter out the STUN packets.
Maybe (i am not sure, as i don't know anything about QT or Mac
development), there is a library on Mac or QT itself that does the
STUN + ICE stuff, so it can be used on Farsight rtp plugin instead of
libjingle + gstreamer. You just need to use this library + QT on rtp
plugin and you will have the Farsight framework running natively on
Mac, and that's what i think he wants.
Of course the Jingle signalling stuff should be done on Adium and the
media part using Farsight.

BR
Andrunko


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel

Reply via email to