Skip to content

tgcalls v2.0.0. Wheels for Windows, smart pointers, updated tgcalls with webrtc and more

Compare
Choose a tag to compare
@MarshalX MarshalX released this 20 Aug 06:53
· 8 commits to main since this release
3a2a483

Introduce

You are able to install library on Windows without WSL now. 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 ❤️