lukeweber / webrtc-jingle-client

Webrtc audio + jingle protocol brought to IOS and Android.
https://groups.google.com/forum/?fromgroups#!forum/webrtc-jingle
BSD 3-Clause "New" or "Revised" License
335 stars 137 forks source link

Call on mobile phones #37

Open bic-user opened 11 years ago

bic-user commented 11 years ago

There is an opportunity to call on mobile phones from gmail: https://support.google.com/chat/?hl=en&topic=30052&ctx=callphonehelp&rd=1. What should be done to implement this feature in your client? Thanks for great project!!

lukeweber commented 11 years ago

So if you're using google, I think google talk brokers the call if I recall for gmail.

Basically, you could check the invite that's sent out, but I'm pretty sure it's to a jid with the format(+phonenumberhere@voice.google.com/srvres), but you can google that and see details as there are plenty of people doing it.

As well, google voice only supports, G.711 ulaw, which is barely compressed audio of 8000hz with a bitrate of 64 kbit/s per channel. This works fine on a normal connection, but I think is beyond what 3g can handle. In contrast, low end ISAC is 16000 and 15kbits/s more or less. More or less ulaw would need max of 64kbits/s down and 64kbits/s up to make the call.

As well, if you wanted to bridge xmpp to traditional sip you would need some sort of libjingle to sip gateway.