Get Mystery Box with random crypto!

tgcalls

Logo of telegram channel tgcallslib — tgcalls T
Logo of telegram channel tgcallslib — tgcalls
Channel address: @tgcallslib
Categories: Telegram
Language: English
Subscribers: 492
Description from channel

Incoming, outgoing and video calls, voice chats and live streams in Telegram for users and developers. Information about chats, bots, libs and Telegram updates.
Our awesome list: https://github.com/tgcalls/awesome-tgcalls

Ratings & Reviews

2.67

3 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

0

4 stars

0

3 stars

2

2 stars

1

1 stars

0


The latest Messages 2

2021-08-20 10:02:25 pytgcalls v2.0.0. Smart pointers, updated tgcalls with webrtc and more

The dependencies have been updated to the latest versions. The updated Telegram tgcalls now has the ability to work with group video calls. Wait for the next major update. A lot of work has been done in this update to improve communication between Python and C++ tgcalls via binding. Fixed all problems with pointers. C++ native instances are now fully deconstructed correctly.

Major
- There is no RuntimeError now. New exceptions: PytgcallsError, CallBeforeStartError, NotConnectedError, GroupCallNotFoundError;
- set_is_mute method is async now. You need to call it with await statement;
- isGroupCallStarted native method was renamed to isGroupCallNativeCreated.

Minor
- print_available_playout_devices and print_available_recording_devices methods of GroupCall now deprecated and will be removed soon;
- add get_playout_devices and get_recording_devices methods to get information about system audio devices (names and guids);
- add ability to change outgoing audio bitrate (outgoing_audio_bitrate_kbit argument in constructor of GroupCallFactory);
- add new native methods to implement right flow with stopping and destroying instances (stopAudioDeviceModule, startAudioDeviceModule);
- switch to smart-holder version of pybind11;
- migrate to smart pointers in main parts of Python binding.

Patch
- Improve debug logging messages;
- rework waiting from sleeps to asyncio events;
- fix invalid reconnects by adding pre_update_processing to join_group_call with setting ssrc before handling of updates;
- fix displaying of mute status in group call for another participants;
- fix group call deconstruction from Python;
- fix issue with memory de-allocation;
- fix issues with pointers.

Happy coding
749 viewsedited  07:02
Open / Comment
2021-08-04 22:40:38
Join our awesome list!

Contibute your projects in awesome-tgcalls. There is can be a chat/channel/bot/reposetory and evething else what related to tgcalls (video guides, articles and so on)!

For repositories: after adding successfully, show everyone that you are on this list with the badge (MD below)!

[![Mentioned in Awesome Telegram Calls](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/tgcalls/awesome-tgcalls)

Already added repositories with the badge:
- tgcalls
- gram-tgcalls
- gotgcalls
- ytdl-core-telegram
- remix
and more...
950 views19:40
Open / Comment
2021-07-30 18:25:17
Telegram 7.9

— Video Calls with up to 1000 Viewers
— Screen sharing has been added to 1-on-1 calls as well
— Sound from your device when broadcasting in any video call

And more…
930 views15:25
Open / Comment
2021-07-27 18:15:55
Vacation

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

Previous meme
1.2K views15:15
Open / Comment
2021-07-20 21:50:08 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
2.8K viewsedited  18:50
Open / Comment
2021-06-26 10:24:00
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
187 views07:24
Open / Comment
2021-06-25 15:28:19 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...
209 views12:28
Open / Comment
2021-06-21 10:43:42
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
533 viewsedited  07:43
Open / Comment