I've built a fully TypeScript-based WebRTC pipeline for streaming audio directly into Telegram voice and video chats
In our internal benchmarks, it has been up to 5× more efficient than existing solutions such as PyTgCalls, NTgCalls, and tgcalls, while also providing significantly higher-quality audio
The difference may be less noticeable on mobile devices due to their audio processing, but it is much more apparent on desktop and laptop clients when compared with other Telegram VC-based music bots
For now, the pipeline supports audio streaming only as I haven't had enough time to implement video streaming yet
While developing this system, I also accidentally discovered a critical vulnerability in Telegram's voice chat system that can cause connected participants' Telegram clients to crash
I won't be publishing technical details or reproduction steps publicly, and the issue will be reported to Telegram so it can be investigated and fixed
@xysushi
Lead Developer, Playeon
Post #65
49
- 😁 2