Slashdot Mirror


Google, Jabber, and Jingle

An anonymous reader writes "Jabber has published the experimental draft Jingle specs, which extend XMPP for use in voice over IP (VoIP), video, and other peer-to-peer multimedia sessions. Google released an open-source library called 'Libjingle' on SourceForge. Libjingle is a set of components provided by Google that let your programs interoperate with Google Talk's peer-to-peer and voice calling capabilities. The package includes source code for Google's implementation of Jingle and Jingle-Audio."

38 of 141 comments (clear)

  1. References... by Cherita+Chen · · Score: 5, Informative
    Google has an informative page wich includes all related links, etc... Here

    --
    I'm not fat, just big boned...
    1. Re:References... by chrisjrn · · Score: 5, Informative

      Yeah... The BETA is out tomorrow. It's called "Gaim-vv"

    2. Re:References... by TheTimoo · · Score: 2, Informative

      But it won't have any "vv" (voice/video) functionality yet, at least the CVS builds don't. From what I understand the basics are there, but it's not visible to the user.

      --
      "Be careful or be roadkill" - Calvin
  2. Spam by HillaryWBush · · Score: 3, Interesting
    Not to be cynical or redundant but they're really, really going to have to implement some kind of user rating system or spam control on the server, because I'm not going to log on to their network just to get a lot of w33n0rp0rn.

    I have the only w33n0r I think I need to see when logging on.

    1. Re:Spam by ciroknight · · Score: 4, Insightful

      That's why Google hasn't opted to add Server-to-Server communication yet; if you're on their server, they can kick your ass off and ban you, but coming from other servers it's a lot more difficult to regulate (and I'm sure they've got someone working on it with their 20% free time).

      As for the person who said it sounds like BS being named "Jingle"; A lot of people say "I'll give you a ring" as a way of saying they'll call you later. Thus, Jingle (a ringing sound).

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    2. Re:Spam by Randle_Revar · · Score: 2, Informative
      Are you saying that Google doesn't have a "accept messages only from people on my contact list" option?!

      I don't know if Google's implementation has that option right now, but there are several JEP's (158, 159, 161) that deal with spim (IM spam), and they include the option "accept messages only from people on my contact list". I would imagine Google will add it soon if they haven't already.

      Jingle is not a joke, on the list of JEP's (http://www.jabber.org/jeps/jeplist.shtml) the jokes are clearly marked.
    3. Re:Spam by burns210 · · Score: 4, Insightful
      (and I'm sure they've got someone working on it with their 20% free time).

      The 20% idea is for, like you said, free time. I think you are right, that they will work on some sort of spam control for third-party server's, but it will be an 80% project, something the company assigns, not a free time project.

      Though, having a preference that says a user will only accept (or be bothered with requests from) user's already in their buddy list would seem to solve this for the most part. These settings have been around for years (on AIM, atleast, where you can have only Buddy List members IM you, as a form of spam/parental control).

    4. Re:Spam by ciroknight · · Score: 4, Insightful

      Instant packet network protocol (instant message) vs. Delayed message network protocol (email); apples to oranges comparison.

      Google has a HUGE database of spam emails to compare a suspect email to; doing the same with Instant Messages would instantly through privacy nuts into convolutions (much like gmail did when it started; ZOMG GOOGLES READING MY IMZ), but is entirely possible to do. So it's not far-fetched that they use a similar system, but it's a lot more work to convince people to use this system.

      A better solution would be to find a way to keep spam from coming in without reading the IMs in the first place. But, if I had an answer to that problem, I would be working for Google. You could opt for encryption, but as soon as an encrypted spammer arrived, you'd be up shit's creek even further than you are now (as decrypting someone's IMs would be even worse for Google PR). So for now, Google's opted to keep its doors closed to the public, and that's just fine. Don't like it? Go use another Instant Messaging protocol which means you have to go through someone elses server anyways. But the way I look at it is "I trust Google more than I trust Microsoft, Yahoo, and AOL combined; I'd rather use Google's service".

      PS: (Oh, and if you think running your own Jabber server is a way around it, what do you think happens when you want to message someone off server? That's right, your message goes through someone elses server. That means they could be spying on you! Oh noes! To tell you the honest truth, I'd rather have the security in numbers of a huge company's client, then chancing my message through someone's private server; the huge company's more likely to have a lot more imporant things on its mind than reading people's IMs...)

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    5. Re:Spam by HillaryWBush · · Score: 2, Funny
      But the way I look at it is "I trust Google more than I trust Microsoft, Yahoo, and AOL combined; I'd rather use Google's service".

      How does that work exactly, combining trust values? I bet the sprawl of THAT overloaded += operator would put my homegrown garbage collector's to shame.

    6. Re:Spam by Da+w00t · · Score: 4, Informative

      Spam? on Jabber? This is news to me.

      Jabber has built in anti spam. In order for me to talk to you, I have to ask you if I can, and then you have to tell me that it's OK. This is part of the Jabber protocol itself. Google Talk has no reason not to turn on server-to-server connectivity. They're limiting their usefulness by leaving it off. I really do wish they would turn it on because I already run my own Jabber server, and my Jabber ID is the same as my email address. I'm confident that gaim will support Jingle soon, so all Google needs to do is enable s2s support and I can completely ditch AOL IM and stop signing into Google Talk.

      I want to ditch AOL IM because lately AOL IM has turned to crap, with their auth-servers (the servers that verify your screen name and password) successfully authenticating me, and then redirecting me to a chat server (commonly known as a BOS server) that is dead. Dead as a doorknob. -ECONNREFUSED. And if I mash reconnect enough times while they continue to direct me to a broken chat server, they put a ban on me for trying to sign in!

      --

      da w00t. mtfnpy?
    7. Re:Spam by ceejayoz · · Score: 4, Funny

      Jabber has built in anti spam. In order for me to talk to you, I have to ask you if I can, and then you have to tell me that it's OK.

      CHECK.IT.OUT.PENIS.ENLARGMENT.CHEAP@BIGGER-PENIS.N ET would like to talk to you.

  3. server-to-server by Anonymous Coward · · Score: 5, Interesting

    Now if google would just implement server-to-server jabber connections, this might be useful!

    1. Re:server-to-server by Anonymous Coward · · Score: 5, Interesting

      Someone noted on one of the Google Talk mailing lists that as of the 9th of December Gmail's DNS has contained the SRV record necessary for other Jabber servers to send messages to the talk.google.com server (previously only the SRV record for clients was there), so it looks like it's definitely coming soon.

      Also a beta of GAIM 2.0 is due today supposedly containing support for Jingle-Audio, so it looks like things are really starting to move in the Google Talk/Jabber camp.

  4. i want conference mode and pocketpc voice client by Anonymous Coward · · Score: 2, Interesting

    Let's hope someone can now develop a Gtalk pocketpc application with voice. While they are at it: add conference mode to Gtalk; in business environments it's very handy.

  5. Re:I'm not interested... by ciroknight · · Score: 4, Insightful

    Good for you! Meanwhile, for the rest of us who aren't paranoid/Google-bashers, this is a boon, including Jabber users (you know, this will work for your Jabber server too, right? ;)

    Besides, Google hasn't implemented Server-to-Server communication yet for reasons posted elseware in this very article; they don't want spam. It's harder to validate posts coming from offserver without actually reading them, which would breech your privacy, right? (On server they have the option of reading it [via EULA], post rate limiting, banning accounts, etc)

    So please, next time Google (or $BIG_COMPANY) gives the open source world a donation and a piece of code it's been needing for a while now, take it as a gift, and try not to be so critical about it. Thanks.

    --
    "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
  6. broken links by netcrusher88 · · Score: 5, Funny

    Of all the people to have a broken link... Did anyone else try the "Home Page" link on the SF project description?

    --
    There's an old saying that says pretty much whatever you want it to.
  7. Crap! No Christmas vacation this year... by zarkzervo · · Score: 5, Funny
    I currently implement Jabber functionality into my project's code.

    I better lock the door before my pointy haired boss comes in: "This looks interesting. I want VoIP before you can go home for Christmas."

    --
    Insert `fortune -o` here
  8. Re:i want conference mode and pocketpc voice clien by moro_666 · · Score: 3, Informative

    last time i checked they didn't have a voip client for linux either. you can use jabber'over'gaim to use gtalk itself but you're unable to make the calls. let's hope this library makes it possible.

    until then, i stay with the hype-skype which works rather well (if you don't mind the cpu and network overheads ...)

    --

    I'd tell you the chances of this story being a dupe, but you wouldn't like it.
  9. Now only if.. by luvirini · · Score: 4, Interesting

    All these instant messagers and voice applications could somehow communicate so would not need to have so many on my computer. Even if the communication was on lowest common denominator, could use the ones I like and atleast communicate somehow with people using others.. oh well.. not likely to happen soon I guess.

    1. Re:Now only if.. by ciroknight · · Score: 4, Informative

      First, use a conglomerated client. That'll alleviate a great deal of stress alone.

      Secondly, Google (amongst others) are trying to combat this problem, which is why they're trying so hard on their "federation" of VoIP providers (better to have a lot of providers on the same protocol than a bunch of providers speaking different languages and not being able to intercommunicate).

      Lastly, if Google does end up acquiring AOL, this will be a major coup. Microsoft and Yahoo have already gotten in bed together, which only leaves Google and AOL as players. If Microsoft acquired AOL (which hopefully would be blocked through anti-trust litigation, if the SEC opened its eyes [Don't even get me started with AT&T]), it'd be all verses one, and we'd pretty much have that talk anywhere infrastructure you wish for. But, to be truthful, I'd rather it not happen that way.

      It seems like it would be a trivial task to make a message passer; a client that simply accepted messages from one protocol, translated it to the other and sent out the message using a pre-programmed username/password combination. In a lot of ways, AJAX-IM clients are already doing this (ajax-form -> rewrite script -> IM protocol -> IM Server); why not make the same service? (other than the obvious takedown requests you'd get from AOL/Microsoft/Yahoo).

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    2. Re:Now only if.. by Randle_Revar · · Score: 2, Informative
      It seems like it would be a trivial task to make a message passer; a client that simply accepted messages from one protocol, translated it to the other and sent out the message using a pre-programmed username/password combination.


      That's what Jabber server transports do, I use Psi to talk to my brother on MSN all the time.
    3. Re:Now only if.. by John+Hurliman · · Score: 3, Informative
    4. Re:Now only if.. by KevPsi · · Score: 3, Informative

      Indeed, one of the major players you left out of the list is the one that has already announced preliminary support, Psi. The Google guys have been working with the Psi team behind the scenes for a while already. Public Announcement Forum Discussion Homepage Disclaimer: I'm not an impartial observer to the project.

  10. Is the format wasting bits? by Stan+Vassilev · · Score: 3, Interesting

    Using transcoded XML for binary audio support... I wonder if some bandwidth is wasted just because of the format (XML can't contain random binary data, so there's bit loss). Anyone checked deeper?

    1. Re:Is the format wasting bits? by pikine · · Score: 3, Informative

      Just looking a bit deeper, but not too much, I think JEP-0166 outlines a handshaking protocol, but actual binary data transmission takes place on other channels, say over rtp or rtcp. It looks like when handshaking (signalling) takes place, a list of possible channel candidates are offered, but it's not clear to me how the accepting party tells the initiating party which candidate is chosen.

      --
      I once had a signature.
  11. How does it fit in with... by hug_the_penguin · · Score: 2, Interesting

    ...their system where the advertisers call you? It's safe to assume they'll be adopting the platform and munging it with some sort of phone connection to achieve this. This could be just the step they're looking for to lower costs and make more profit. And on top of that, how many other messengers have an open voice protocol? How long before we see extensions etc? And how long before some wisespark tries that Skypecasting thing with it? Since jabber can technically support any mime type, all we would need is for someone to plug theora into it and instantly it can be done.

    --
    ~HTP~ Hug that tux ;)
  12. Psi Support by Fritzy · · Score: 5, Informative

    Psi, one of the most popular Jabber clients out there has announced that they are working on support for jingle. http://psi-im.org/forum/post/24491

  13. Re:I'm not interested... by obender · · Score: 3, Interesting
    Besides, Google hasn't implemented Server-to-Server communication yet for reasons posted elseware in this very article; they don't want spam.

    I don't buy this. Spam in Jabber is much more difficult to achieve (some people say it's impossible but they're probably wrong) and Jabber without server to server is not fully Jabber.

  14. Perhaps they can combine the names... by zenmojodaddy · · Score: 2, Funny

    ... and call their sweet new product Gibber.

  15. Re:I'm not interested... by Bert64 · · Score: 2, Interesting

    There was talk of google potentially buying AOL.. If this happened, they could migrate the existing AIM/ICQ networks over to a jabber based protocol, while maintaining the existing protocol for compatibility..
    They could retain gtalk as it is too, and allow server to server jabber communication between both their servers and external jabber services..
    AIM already has a large userbase, and with such ease of communication between services it may be large enough to convince yahoo/msn to co-operate too.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  16. Re:Another voip protocol? by the+grace+of+R'hllor · · Score: 2, Informative

    Too many? Most are proprietary, or not suitable for IM (because of lack of quality NAT traverssal, frex).
    SIP could work but is cumbersome when all you want to do is get an RTP voice stream going. Having a standard that is clear, concise and tailormade for IM applications is useful.

  17. About Time by ObsessiveMathsFreak · · Score: 4, Interesting

    IM clients are the obviousplace to strapon VOIP communication. The jabber system would be a perfect VOIP framework. Your "number" will simply be your JabberID. Which is similar to an email address, so it's easy to remember.

    You'll simply dial something like "malda@slashdot.org" to complain to Taco about the preponderance of dupes, and Taco can simply add your address "slashbot@cheapisp.com" to his ignore list.

    If telemarketers become a problem, some kind of del.ico.us system might enable VOIP users to share a list of banned domains or addresses. Potential for abuse etc, etc.

    Key point here is that a system based on "email" like addresses would be batter and easier to remember than the current telecoms number based system.

    --
    May the Maths Be with you!
  18. Re:i want conference mode and pocketpc voice clien by zootm · · Score: 2, Interesting

    The main Gaim developer was hired by Google and given the low-down on the Jingle project some time ago, and it'll be added to the Gaim-vv system that's apparently coming in Gaim 2.0.

  19. Re:Another voip protocol? by n0d3 · · Score: 2, Interesting

    I thought the intention was to use SIP as the underlaying protocol.

  20. Simple interim solution for server-to-server by Nurgled · · Score: 2, Interesting

    Google should implement server-to-server but drop any incoming messages from users that are not on the recieving user's roster. This way people can still talk to their friends on other Jabber servers but unsolicited messages won't be a problem since they'll be dropped outright.

    This may cause difficulties for agents that aren't people, such as services and bots, but at least it would open things up a little for person-to-person communication.

  21. Re:I'm not interested... by 16K+Ram+Pack · · Score: 2, Informative
    The problem is that the way that Microsoft choose to make a profit is incompatible with the way that slashdotters think, where Google is more compatible. Google also release products that are simply dynamite (Gmail, Google Maps) where Microsoft release little more than products with tweaks or new graphics (see Office since 2000, Vista).

    Let's not forget that Google want to make a decent profit. But companies have different ways to make a profit.

    For instance, some manufacturers take the attitude of building in a short lifespan because then they can get another sale soon after. Others take the view of making a less than reliable product and making a lot of money on spare parts. Others use various means to ensure that any upgrades/consumables for the products will cost a great deal. And a few decide that the best way to trade is to make a great value product because even though you don't get a good short term hit, you build customer loyalty and word-of-mouth. Financially speaking, there's probably no right answer to make money.

  22. Alternative Library Name by MikeFoss18 · · Score: 2, Funny

    They couldn't have come up with something better than libjingle?

    What about libjingoober?

    Or better yet, just a library without that jingle crap called libgoober?

    --
    ~ ><>
  23. Re:Another voip protocol? by the+grace+of+R'hllor · · Score: 3, Informative

    Incorrect. SIP is a signalling protocol, same as Jingle.

    To set up a connection to a SIP-capable device you typically use:
    - SIP to signal intent to communicate (and to accept or refuse or redirect, etc)
    - SDP to describe the coming transport session (which port, where do I send the data, which codec do I use, etc)
    - RTP to use that SDP data to make the actual connection and send the encoded data.

    Jingle replaces the SIP/SDP steps. Summary of operation, Romeo tries to call Juliet:
    - Romeo initiates a call to Juliet, sends back either "refuse", "redirect" (to a cellphone client, say) or "provisionally accept".
    - Romeo offers up several candidate transports that it can use. It either does this all at once (burst) or one by one (dribble), which is specified in the initation message.
    - Juliet offers up several candidate transports (RTP, G.711 codec, frex) that it can use.
    - Once concensus is reached over a suitable transport, Jingle switches to "in progress" and RTP takes over. If concensus is impossible the connection ends.
    - Finally, Jingle politely closes (and confirms) to end the conversation.

    The two processes achieve the same endgoal: getting VoIP data from A to B. An advantages here is that SIP isn't very lightweight in terms of correct implementations, while Jingle can be 'spoken' by any client that can do XMPP as long as you add the statemachine.