grishka / libtgvoip

VoIP library for Telegram clients
The Unlicense
387 stars 156 forks source link

Is Server Needed ? #7

Closed Elqul closed 7 years ago

Elqul commented 7 years ago

Hello ,

does this lib need a server to start making and receiving calls ? if yes what type of server is required ?

grishka commented 7 years ago

It isn't designed to work on its own at all. It's supposed to be built into Telegram clients, and it requires a Telegram server for key exchange and another one for UDP relay. One can, in theory, run the key exchange part any way they want (assuming the process yields a 256-byte array) and make a compatible relay server, but... why?