github danog/MadelineProto 8.0.0-beta131
VoIP is back!

latest releases: 8.3.7, 8.3.6, 8.3.5...
15 months ago

As a birthday present for Telegram's 10th birthday, MadelineProto now supports VoIP calls again!

Try calling the Magna Luna webradio @magicalcrazypony to hear some cool songs, powered by @MadelineProto!

The new MadelineProto VoIP implementation is written in pure PHP, so it works even on free webhosts!

Check out the new VoIP documentation (https://docs.madelineproto.xyz/docs/CALLS.html) for more info on how to write your very own Telegram webradio using MadelineProto!

Features (8.0.0-beta131):

  • VoIP calls (https://docs.madelineproto.xyz/docs/CALLS.html)!
    • You can now play() audio files of any format, local files, stream URLs or even stream data using AMP streams!
    • You can now play() audio files even on webhosts, by pre-converting the files using @libtgvoip_bot!
  • Added a downloadToReturnedStream method!
  • Updated to layer 161 (see here for the full changelog)!

Fixes:

  • Greatly improved performance by deferring all ORM operations!
  • CDN fixes!
  • Fix connection to the database when a password is accidentally provided but none is needed
  • Removed all generator polyfilling code and deprecated generator functions!

As a side note, I'm very happy of how the current VoIP implementation turned out, and it was a lot of fun to write!

Adding native webhost support required me to write a *pure PHP OGG OPUS muxer and demuxer, as well as a full reimplementation of the GrVP protocol in pure PHP: doing it in such a high-level language allowed me to easily use amphp's libraries to easily add support for URLs, streams and all audio formats.

I also wrote a PHP FFI wrapper for libopus for this project, I'll probably split it to a separate package along with the OGG muxer/demuxer because it's really useful :)

Don't miss a new MadelineProto release

NewReleases is sending notifications on new releases.