Telegram Web
This media is not supported in your browser
VIEW IN TELEGRAM
pytgcalls updated. Now it supports pyrogram 1.2.0

pytgcalls notes: join as channel/chat, example of recorder smart plugin, new version of lib with many fixes by Telegram.
pyrogram notes: layer 126, voice chats 2.0 support and more.

pip install pytgcalls -U ❤️

Join as channel it so simple!

group_call.start(‘@tgcallschat’, join_as=‘@tgcallslib’)
Awesome Telegram Calls

The repository contains useful information for Telegram users who is looking for chats with music, libraries, userbots and bots for working with calls!

Feel free to improve this list by adding yours projects and chats with music!

If you are a developer, you can join the organization as a member.

https://github.com/tgcalls/awesome-tgcalls

I'm waiting for your pull requests ❤️
tgcalls pinned «Awesome Telegram Calls The repository contains useful information for Telegram users who is looking for chats with music, libraries, userbots and bots for working with calls! Feel free to improve this list by adding yours projects and chats with music!…»
pytgcalls updated. Work with audio data in bytes directly from Python!

- New GroupCallRaw class.
New handlers:
- on_played_data
- on_recorded_data
- New example of restreaming one voice chat to anothe one.
- Support of invite (speaker) links.
- New join, reconnect and stop system.
- Update and test MacOS build instruction for M1.
- Fix issue with null fields in network changed handlers.
- Fix behavior on group call discard.
- Fix properly stop of client.
- Fix disabling logging to file.

Happy codding ❤️ Put your star on GitHub to appreciation!
Don't forget to add your projects to our awesome list!
Scheduled Voice Chats, Voice Chat Reminder, Mini Profiles for Voice Chats

Admins of groups and channels can now schedule a Voice Chat for a particular date and time instead of creating one right away. This gives community members time to let their friends know and get the popcorn ready.

Bot API 5.2, Payments 2.0, New Web Versions and more...
This media is not supported in your browser
VIEW IN TELEGRAM
Video streaming for Voice Chats in the next Telegram update!

It will be possible to broadcast not only the camera, but also the screen capture! Source: Durov’s post

Should I add the ability to stream video for pytgcalls?)
pytgcalls updated. Added macOS wheels and the last data source — devices

Available sources of input/output data transfers:
- File (playout example, recording example) — to use any audio files including named pipe (FIFO).
- Device (example) — to use microphone, headphones, etc.
- Raw (example) — to send and receive data in bytes directly from Python.

Available macOS wheels:
- Intel. Sierra+, Python 3.6-3.9.
- Apple Silicon (M1). Big Sur, Python 3.9.

Feel free to contribute into GitHub workflow for building wheels for Windows. The biggest part are already ready. More info here

Удачи ❤️
Group video calls almost here!

Screen sharing, video from camera and video pins. Available in macOS beta, @macswift chat

More high-resolution screenshots in comments
In the next update, it will be possible to disable audio processing!

This has long been done in the MarshalX/tgcalls library, but is now available in the official macOS beta client. That allows you to stream audio in good quality through a virtual device. The bitrate still cannot be controlled.
Testing video calls in chats

Previously, the ability to test video calls on beta versions of clients was only possible in two chats: Unigram and macOS.

Now this opportunity has appeared in the @tgcallschat

To enable video calls in your chat you need to add the hashtag #vid to the title of your voice chat. Only available on beta clients with video calls support!

Currently, video chats are supported in beta versions of Unigram and macOS clients.
Video calls will be limited by 30 participants at first release

More people won't be able to watch video broadcasts or turn on their stream 🤷

Source: https://www.tgoop.com/betainfo/672
This media is not supported in your browser
VIEW IN TELEGRAM
Telegram fixed a new type of spam via invitations to voice chat

There were 2 main problems with MTProto phone.InviteToGroupCall method:
1. The server did’t limit the count and frequency of sent requests in any way. These led to sending a large count of service messages to the chat in one second.
2. Restriction by invitation of the same person was not implemented on the server side. Which allowed to invite one person a thousand times.

After reporting these issues tonight, they were resolved. Corresponding errors have appeared
1. [420 FLOOD_WAIT_X]: A wait of 48 seconds is required (caused by "phone.InviteToGroupCall")
2. [400 Bad Request]: [400 USER_ALREADY_INVITED] (caused by "phone.InviteToGroupCall)

Due to the count of invites I sent during the test, workers of Telegram servers went to restart 🤷

Historical chat with my tests: @zazivala (30k+ msg)
RU posts: #1, #2, #3
Group Video Calls released in Telegram 7.8!

They are only available in chats. The maximum number of participants with cameras is 30 people, but the limit will be increased later.

Animated backgrounds, new message sending animations and more...
This media is not supported in your browser
VIEW IN TELEGRAM
Noise Suppression in Telegram

The blog talks not only about the ability to turn off noise suppression, but also about improving it. How has it been improved?

Using a neural network! An excellent Open Source project from Mozilla Research called rnnoise.

It doesn't require GPU and is able to work in real time, for example, in calls.

A demo of deep learning results with a more detailed description is available here.

Many who broadcast music via the Virtual Audio Cable are mistaken that turning off the noise suppression in the Telegram client will help them achieve good sound quality. In fact, the audio post-processing remains. These are echo cancellation, automatic gain control, and so on.

The Disable Noise Suppression toggle turns off only rnnoise, not all audio processing!

To broadcast sound without distortion in the best quality that can be squeezed out of what Telegram has allowed, you should use the pytgcalls library, where all processing is disabled, and the bitrate is increased

Original RU post
First stable release — Telethon support, ability to implement custom MTProto bridges and more

Introduce

All libraries were updated to 1.0.0 version. Now pytgcalls supports both the most popular MTProto clients! Pyrogram and Telethon

Starting from 1.0.0 you are able to implement your own MTProto bridges as easy as you wish!

New installing options

Starting from installing the library, you need to choose with which client you will work.

For Pyrogram: pip3 install pytgcalls[pyrogram]
For Telethon: pip3 install pytgcalls[telethon]

Of course, you can manually install requires, but please pay your attention to minimal required version of these libs.

FAQ

Q: Will previous code base work with new version of library?
A: Everything is individual. I made backward compatibility for the old code, which will notify the user about outdated ways of creating instances, but this will not save you from dirty hacks that could be used in your code.

Q: How to use this library with Telethon?
A: We already have a code snippet in the main README file. Also, we have pretty and simple examples what works with Telethon too!

Q: What was done in this version?
A: In this version was optimized requests to MTProto, reworked system of connection, reconnection and disconnection. Now you can stop connection at any time and so on. Was added working with default_join_as value. Was fixed several bugs.

Happy coding ❤️
🌴 Vacation

The picture was drawn using pastel. Do you want to buy it, or should I draw it as a prize?

Previous meme
2024/10/13 08:19:10
Back to Top
HTML Embed Code: