I am interested in using libjitsi to add jingle features (specifically A/V chat) to my app that's already using smack. Ultimately, I'd like to support ICE, but that's not the first thing I need to do.
I can't really see how to get there from the sample code, which, if I'm reading it correctly, just provides an example of data transmission given the IP addresses and ports of the other host.
What I'd like to do as a first step is create some sample code I can donate back to libjitsi that does the following:
a1) open a connection to an xmpp server (U/P given at the commandline) using the smack library.
b1) listen for jingle connections
c1) when a connection is requested, accept is and negotiate the connection
d1) share a mike or video connection (specified at the commandline) via the negotiated connection
a2) open a connection to an xmpp server (U/P given at the commandline) using the smack library.
b2) make a request for a jingle connection to the user of the 1st app.
c2) when the connection is accepted, negotiate the connection
d2) share a mike or video connection (specified at the commandline) via the negotiated connection
a) is pretty trivial, and d) is more or less what's shown in the sample code. I've looked a bit through the jitsi sample code, to see how it manages b) and c), but it's a vast codebase and I'm not finding it yet. Can anyone give me hints on this?
Judging by posts on the ignite and stack overflow, I know others would benefit from this in a big way.
I'd really appreciate any help.