Skip to main content

A Native Implementation of Telegram Calls in a seamless way.

Project description

pytgcalls logo

A Native Implementation of Telegram Calls in a seamless way.
Examples Documentation PyPi Releases Channel Chat

NativeTgCalls PyPI - Version Downloads

Welcome to NativeTgCalls, an innovative open-source project. NativeTgCalls represents the next evolution in Telegram calling, building on the foundation laid by PyTgCalls.

Powerful Simple Light
Fast Logo
Built from scratch in C++ using Boost and libwebrtc
Simple Logo
Simple Python, GO and C Bindings
Light logo
We removed anything that could burden the library, including NodeJS

...and more, without even rewriting your code that uses PyTgCalls!

Overview

NativeTgCalls, often referred to as NTgCalls, is an exciting open-source venture. This project redefines the Telegram calling experience and introduces innovative features while preserving the legacy of PyTgCalls.

Build Status

Architecture Windows Linux MacOS
x86_64 BUILD BUILD BUILD
ARM64 BUILD BUILD BUILD

Key Features

Experimentation and Customization

NativeTgCalls is a playground for experimentation. We understand the importance of customization for developers, empowering you to tailor your Telegram calling solutions to your precise requirements.

Advancing with PyTgCalls

Building upon the success of PyTgCalls, NativeTgCalls provides a natural progression for developers familiar with its predecessor. This evolution streamlines the development process and extends the capabilities of Telegram calling.

Importantly, PyTgCalls will seamlessly integrate the new core (NTgCalls) to ensure backward compatibility.

Compiling

Python Bindings

NativeTgCalls offers Py Bindings, enabling seamless integration with Python. Follow these steps to compile NativeTgCalls with Python Bindings:

  1. Ensure you are in the root directory of the NativeTgCalls project.

  2. Run the following command to install the Py Bindings:

    python3 setup.py install
    

C Bindings

For developers looking to use NativeTgCalls with C and C++, we provide C Bindings. Follow these steps to compile NativeTgCalls with C Bindings:

  1. Ensure you are in the root directory of the NativeTgCalls project.
  2. Run the following command to generate the shared libs:
    python3 setup.py build_shared
    
  3. Upon successful execution, a shared library will be generated in the "shared-output" directory. You can now use this library to develop applications with NativeTgCalls.
  4. To include the necessary headers in your C/C++ projects, you will find the "include" folder in the root of the project. Utilize this folder for including the required header files.

Key Contributors

  • @Laky-64 (DevOps Engineer, Software Architect, Porting Engineer):
    • Played a crucial role in developing NTgCalls.
    • Created the Python Bindings that made the library accessible to Python developers.
    • Developed the C Bindings, enabling the library's use in various environments.
  • @dadadani (Senior C++ Developer, Performance engineer):
    • Contributed to setting up CMakeLists and integrating with pybind11, greatly simplifying the library's usage for C++ developers.
  • @kuogi (Senior UI/UX designer, Documenter):
    • As a Senior UI/UX Designer, Kuogi has significantly improved the user interface of our documentation, making it more visually appealing and user-friendly.
    • It Has also played a key role in writing and structuring our documentation, ensuring that it is clear, informative, and accessible to all users.
  • @vrumger (Mid-level NodeJS Developer):
    • Avrumy has made important fixes and enhancements to the WebRTC component of the library, improving its stability and performance.

Junior Developers

  • @TuriOG (Junior Python Developer):
    • Currently working on integrating NTgCalls into PyTgCalls, an important step in expanding the functionality and usability of the library.
  • @doggyhaha (Junior DevOps, Tester):
    • Performs testing of NTgCalls on Linux to ensure its reliability and compatibility.
    • Specializes in creating and maintaining GitHub Actions, focusing on automation tasks.
  • @tappo03 (Junior Go Developer, Tester):
    • Performs testing of NTgCalls on Windows to ensure its reliability and compatibility.
    • It Is in the process of integrating NTgCalls into a Go wrapper, further enhancing the library's versatility and accessibility.

Special Thanks

  • @shiguredo: We extend our special thanks to 時雨堂 (shiguredo) for their invaluable assistance in integrating the WebRTC component. Their contributions, utilizing the Sora C++ SDK, have been instrumental in enhancing the functionality of our library.

  • @evgeny-nadymov: A heartfelt thank you to Evgeny Nadymov for graciously allowing us to use their code from telegram-react. His contribution has been pivotal to the success of this project.

  • @morethanwords: We extend our special thanks to morethanwords for their invaluable help in integrating the connection to WebRTC with Telegram Web K. Their assistance has been instrumental in enhancing the functionality of our library.

  • @MarshalX: for their generous assistance in answering questions and providing insights regarding WebRTC.

  • @LyzCoote: for providing an ARM64 Server and allowing us to build an image with clang-18 preinstalled on manylinux2014 arm64.

We would like to extend a special thanks to @null-nick and @branchscope for their valuable contributions to the testing phase of the library. Their dedication to testing and optimizing the library has been instrumental in its success.

Additionally, we extend our gratitude to all contributors for their exceptional work in making this project a reality.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ntgcalls-1.2.1.tar.gz (8.9 MB view hashes)

Uploaded Source

Built Distributions

ntgcalls-1.2.1-cp312-cp312-win_amd64.whl (6.6 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

ntgcalls-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

ntgcalls-1.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

ntgcalls-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (5.7 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

ntgcalls-1.2.1-cp311-cp311-win_amd64.whl (6.6 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

ntgcalls-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

ntgcalls-1.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

ntgcalls-1.2.1-cp311-cp311-macosx_11_0_arm64.whl (5.8 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

ntgcalls-1.2.1-cp310-cp310-win_amd64.whl (6.6 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

ntgcalls-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ntgcalls-1.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

ntgcalls-1.2.1-cp310-cp310-macosx_11_0_arm64.whl (5.7 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

ntgcalls-1.2.1-cp39-cp39-win_amd64.whl (6.6 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

ntgcalls-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ntgcalls-1.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

ntgcalls-1.2.1-cp39-cp39-macosx_11_0_arm64.whl (5.7 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

ntgcalls-1.2.1-cp38-cp38-win_amd64.whl (6.6 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

ntgcalls-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

ntgcalls-1.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

ntgcalls-1.2.1-cp38-cp38-macosx_11_0_arm64.whl (5.7 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page