kontalk / androidclient

Kontalk official Android client
https://www.kontalk.org
GNU General Public License v3.0
572 stars 194 forks source link

Audio calls #675

Open pejakm opened 8 years ago

pejakm commented 8 years ago

Is it possible to implement audio calls in Kontalk?

daniele-athome commented 8 years ago

As a matter of fact, it is! But no exact estimate as of now, sorry.

pejakm commented 8 years ago

I've been following this project for almost a month now, and I'm very pleased to see its progress. However, for it to be competitive to "networks" like Viber, WhatsApp, Telegram and Signal, audio/video calls are imperative, IMHO. Especially now when Signal development activity is low (issues piling up, no new commits since April the 1st), Kontalk has a chance to become the most popular instant messaging FOSS project (in Android world). So I'm curious, how is it possible to implement audio/video calls? Via Jingle? If yes, it would be great if the required xeps are already supported by Tigase (Wikipedia says the status is unknown for XEP-0176).

daniele-athome commented 8 years ago

Jingle is mainly a client-side XMPP extension, with little to no involvement of the server. Server is required for services like STUN to provide some way to overcome NAT. So the good news is no need for Tigase support :-) if you can or you find someone to put some efforts into it, I'd be happy to introduce this new feature soon (I agree Kontalk needs it).

Fohroer commented 8 years ago

Do you have enough financial support to launch audio calls? I think you need much more servers to implement this function, not only programmers.

daniele-athome commented 8 years ago

Servers will be used only for signaling and connection handshake between peers: actual audio call data will be carried through direct peer-to-peer connection, never through a server.

Fohroer commented 8 years ago

Unreal. In many countries provider's clients are sitting under the NAT. You need to mess up with STUN. I know that 2 solutions are working successfully: from qTox (https://github.com/qTox/qTox) and from Gobby (https://gobby.github.io/). They both are always passing NAT without any problems. Anyway, you will need at least one more server to run Jingle or another VOIP server. It seems to me that number of Kontalk users is about 1000. Am I right?

daniele-athome commented 8 years ago

Of course, STUN would be a solution in 99% of cases. For the moment our main server would be enough, since we host roughly ~5k users.

lavvy commented 7 years ago

Please how about this feature

daniele-athome commented 7 years ago

@lavvy we currently don't have the resources to work on this. If you or anyone else could work on it, I'd be happy to direct the development and eventually include it in a release.