tgcalls v2.0.0. Wheels for Windows, smart pointers, updated tgcalls with webrtc and more
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 withawait
statement;isGroupCallStarted
native method was renamed toisGroupCallNativeCreated
.
Minor
print_available_playout_devices
andprint_available_recording_devices
methods ofGroupCall
now deprecated and will be removed soon;- add
get_playout_devices
andget_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 ofGroupCallFactory
); - 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
tojoin_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 ❤️