{"id":15086056,"url":"https://github.com/pytgcalls/ntgcalls","last_synced_at":"2026-02-23T02:46:58.643Z","repository":{"id":190381567,"uuid":"670766367","full_name":"pytgcalls/ntgcalls","owner":"pytgcalls","description":"A Native Implementation of Telegram Calls in a seamless way.","archived":false,"fork":false,"pushed_at":"2026-02-02T22:53:27.000Z","size":120154,"stargazers_count":90,"open_issues_count":1,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-02T23:44:58.650Z","etag":null,"topics":["audio","calls","cpp","ffmpeg","group-chat","lib","library","nadymov","py-tgcalls","pytgcalls","python","stream","telegram","tgcalls","video","video-calls","video-chat","voice-chat","voip","webrtc"],"latest_commit_sha":null,"homepage":"https://pytgcalls.github.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pytgcalls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://paypal.me/Laky64"]}},"created_at":"2023-07-25T19:38:29.000Z","updated_at":"2026-02-02T19:25:24.000Z","dependencies_parsed_at":"2023-09-23T11:17:06.001Z","dependency_job_id":"5e407ed2-398b-453a-b8bb-f6a414e6d6fe","html_url":"https://github.com/pytgcalls/ntgcalls","commit_stats":{"total_commits":818,"total_committers":10,"mean_commits":81.8,"dds":0.0330073349633252,"last_synced_commit":"4fdf4e8d1d3d47a8f3b8cafd06a768616d4edabc"},"previous_names":["pytgcalls/ntgcalls"],"tags_count":108,"template":false,"template_full_name":null,"purl":"pkg:github/pytgcalls/ntgcalls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytgcalls%2Fntgcalls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytgcalls%2Fntgcalls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytgcalls%2Fntgcalls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytgcalls%2Fntgcalls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytgcalls","download_url":"https://codeload.github.com/pytgcalls/ntgcalls/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytgcalls%2Fntgcalls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29124793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","calls","cpp","ffmpeg","group-chat","lib","library","nadymov","py-tgcalls","pytgcalls","python","stream","telegram","tgcalls","video","video-calls","video-chat","voice-chat","voip","webrtc"],"created_at":"2024-09-25T07:05:19.135Z","updated_at":"2026-02-05T15:01:44.202Z","avatar_url":"https://github.com/pytgcalls.png","language":"C++","funding_links":["https://paypal.me/Laky64"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/pytgcalls/ntgcalls/master/.github/images/banner.png\" alt=\"pytgcalls logo\" /\u003e\n\u003cp align=\"center\"\u003e\n    \u003cb\u003eA Native Implementation of Telegram Calls in a seamless way.\u003c/b\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://github.com/pytgcalls/ntgcalls/tree/master/examples\"\u003e\n        Examples\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://pytgcalls.github.io/\"\u003e\n        Documentation\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://pypi.org/project/ntgcalls/\"\u003e\n        PyPi\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://github.com/pytgcalls/ntgcalls/releases\"\u003e\n        Releases\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://t.me/pytgcallsnews\"\u003e\n        Channel\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://t.me/pytgcallschat\"\u003e\n        Chat\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# NTgCalls [![PyPI - Version](https://img.shields.io/pypi/v/ntgcalls?logo=python\u0026logoColor=%23959DA5\u0026label=pypi\u0026labelColor=%23282f37)](https://pypi.org/project/ntgcalls/) [![Downloads](https://img.shields.io/pepy/dt/ntgcalls?logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%2328A745)](https://pepy.tech/project/ntgcalls)\nNTgCalls is a lightweight open-source library for media streaming in Telegram calls. Built from scratch in C++ with WebRTC \u0026 Boost, it prioritizes accessibility to developers and resource efficiency.\n\n|                                                                                     Powerful                                                                                      |                                                                                            Simple                                                                                            |                                                                                                   Light                                                                                                    |\n|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n| \u003cimg src=\"https://raw.githubusercontent.com/pytgcalls/ntgcalls/master/.github/images/fast.gif\" width=150 alt=\"Fast Logo\"/\u003e\u003cbr\u003eBuilt from scratch in C++ using Boost and libwebrtc | \u003cimg src=\"https://raw.githubusercontent.com/pytgcalls/ntgcalls/master/.github/images/simple.gif\" width=150 alt=\"Simple Logo\"/\u003e\u003cbr\u003eSimple Python, GO, C Bindings and Java for Android SDK\u003cbr\u003e | \u003cimg src=\"https://raw.githubusercontent.com/pytgcalls/ntgcalls/master/.github/images/light.gif\" width=150 alt=\"Light logo\"/\u003e\u003cbr\u003eWe removed anything that could burden the library, including \u003cb\u003eNodeJS\u003c/b\u003e |\n\n## Build Status\n| Architecture |                                                                   Windows                                                                   |                                                                Linux                                                                |                                                                  MacOS                                                                  |\n|:------------:|:-------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------:|\n|    x86_64    |   ![BUILD](https://img.shields.io/badge/build-passing-dark_green?logo=windows11\u0026logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%2328A745)   | ![BUILD](https://img.shields.io/badge/build-passing-dark_green?logo=linux\u0026logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%2328A745) | ![BUILD](https://img.shields.io/badge/build-unsupported-dark_green?logo=apple\u0026logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%23959DA5) |\n|    ARM64     | ![BUILD](https://img.shields.io/badge/build-unsupported-dark_green?logo=windows11\u0026logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%23959DA5) | ![BUILD](https://img.shields.io/badge/build-passing-dark_green?logo=linux\u0026logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%2328A745) |   ![BUILD](https://img.shields.io/badge/build-passing-dark_green?logo=apple\u0026logoColor=%23959DA5\u0026labelColor=%23282f37\u0026color=%2328A745)   |\n\n## Features\n- Pre-built binaries for macOS (arm64-v8a), Linux (x86_64, arm64-v8a), Windows (x86_64), and Android (x86, 86_64, arm64-v8a, armv7)\n- Call flexibility: Group and private call support\n- Media controls: pause/resume and mute/unmute\n- Codec compatibility: H.264, HEVC (H.265), VP8, VP9, AV1, AAC, MP3, Opus\n- Content sharing: Screen streaming, Microphone and Camera streaming\n- Pre-built wheels for Python \u0026 AAR SDK library for Android\n\n## Compiling\n\n### Python Bindings\nNTgCalls includes Python bindings for seamless integration. Follow these steps to compile it with Python Bindings:\n1. Ensure you are in the root directory of the NTgCalls project.\n2. Run the following command to install the Py Bindings:\n\n   ```shell\n   python3 setup.py install\n   ```\n### Go Bindings\n\u003e [!WARNING]\n\u003e Static linking for Windows is not supported yet since our library is built with MSVC and Go uses MinGW for static linking.\n\u003e More info can be found [here](https://github.com/golang/go/issues/63903)\n\nNTgCalls includes Go Bindings, enabling seamless integration with Go. Follow these steps to compile it with Go Bindings:\n1. There is an example project for Go in `./examples/go/` directory, ensure you are in that directory\n2. Prerequisites for building are the same as for building a library itself and can be found [here](https://pytgcalls.github.io/NTgCalls/Build%20Guide#Installing=Prerequisites)\n3. Download **shared** or **static** release of the library from https://github.com/pytgcalls/ntgcalls/releases\n4. Copy `ntgcalls.h` file into `./examples/go/ntgcalls/` directory\n5. The rest of the files should be copied to `./examples/go/` directory\n    * `ntgcalls.dll` or `ntgcalls.lib` files in case of Windows amd64\n    * `libntgcalls.so` or `libntgcalls.a` files in case of Linux amd64\n    * `libntgcalls.dylib` or `libntgcalls.a` files in case of macOS\n6. Then in `./examples/go/` directory run `go build` or `go run .` with CGO_ENABLED=1 env variable set\n    * `$env:CGO_ENABLED=1; go run .` for Windows PowerShell\n    * `CGO_ENABLED=1 go run .` for UNIX\n\n\n### C Bindings\nFor developers looking to use NTgCalls with C and C++, we provide C Bindings. Follow these steps to compile it with C Bindings:\n1. Ensure you are in the root directory of the NTgCalls project.\n2. Run the following command to generate the library:\n   ```shell\n   # Static library\n   python3 setup.py build_lib --static\n   \n   # Shared library\n   python3 setup.py build_lib --shared\n   ```\n3. Upon successful execution, a library will be generated in the \"shared-output\" or \"static-output\" directory, depending on the chosen option.\n   Now you can use this library to develop applications with NTgCalls.\n4. To include the necessary headers in your C/C++ projects, you will find the \"include\" folder in the \"shared-output\" or \"static-output\" directory.\n   Use this folder by including the required header files.\n\n## Key Contributors\n* \u003cb\u003e\u003ca href=\"https://github.com/Laky-64\"\u003e@Laky-64\u003c/a\u003e (DevOps Engineer, Software Architect, Porting Engineer):\u003c/b\u003e\n    * Played a crucial role in developing NTgCalls.\n    * Created the Python Bindings that made the library accessible to Python developers.\n    * Developed the C Bindings, enabling the library's use in various environments.\n* \u003cb\u003e\u003ca href=\"https://github.com/dadadani\"\u003e@dadadani\u003c/a\u003e (Senior C++ Developer, Performance engineer):\u003c/b\u003e\n    * Contributed to setting up CMakeLists and integrating with pybind11,\n      greatly simplifying the library's usage for C++ developers.\n* \u003cb\u003e\u003ca href=\"https://github.com/kuogi\"\u003e@kuogi\u003c/a\u003e (Senior UI/UX designer, Documenter):\u003c/b\u003e\n    * As a Senior UI/UX Designer, Kuogi has significantly improved the user interface of our documentation,\n      making it more visually appealing and user-friendly.\n    * It Has also played a key role in writing and structuring our documentation, ensuring that it is clear,\n      informative, and accessible to all users.\n* \u003cb\u003e\u003ca href=\"https://github.com/vrumger\"\u003e@vrumger\u003c/a\u003e (Mid-level NodeJS Developer):\u003c/b\u003e\n    * Avrumy has made important fixes and enhancements to the WebRTC component of the library,\n      improving its stability and performance.\n\n## Junior Developers\n* \u003cb\u003e\u003ca href=\"https://github.com/TuriOG\"\u003e@TuriOG\u003c/a\u003e (Junior Python Developer):\u003c/b\u003e\n    * Currently working on integrating NTgCalls into \u003ca href=\"//github.com/pytgcalls/pytgcalls\"\u003ePyTgCalls\u003c/a\u003e, an important step\n      in expanding the functionality and usability of the library.\n* \u003cb\u003e\u003ca href=\"https://github.com/doggyhaha\"\u003e@doggyhaha\u003c/a\u003e (Junior DevOps, Tester):\u003c/b\u003e\n    * Performs testing of NTgCalls on Linux to ensure its reliability and compatibility.\n    * Specializes in creating and maintaining GitHub Actions, focusing on automation tasks.\n* \u003cb\u003e\u003ca href=\"https://github.com/tappo03\"\u003e@tappo03\u003c/a\u003e (Junior Go Developer, Tester):\u003c/b\u003e\n    * Performs testing of NTgCalls on Windows to ensure its reliability and compatibility.\n    * It Is in the process of integrating NTgCalls into a Go wrapper, further enhancing the library's\n      versatility and accessibility.\n\n## Special Thanks\n* \u003cb\u003e\u003ca href=\"https://github.com/shiguredo\"\u003e@shiguredo\u003c/a\u003e:\u003c/b\u003e\n  We extend our special thanks to 時雨堂 (shiguredo) for their invaluable assistance in integrating the WebRTC component. Their contributions,\n  using the Sora C++ SDK, have been instrumental in enhancing the functionality of our library.\n\n* \u003cb\u003e\u003ca href=\"https://github.com/evgeny-nadymov\"\u003e@evgeny-nadymov\u003c/a\u003e:\u003c/b\u003e\n  A heartfelt thank you to Evgeny Nadymov for graciously allowing us to use their code from telegram-react.\n  His contribution has been pivotal to the success of this project.\n\n* \u003cb\u003e\u003ca href=\"https://github.com/morethanwords\"\u003e@morethanwords\u003c/a\u003e:\u003c/b\u003e\n  We extend our special thanks to morethanwords for their invaluable help in integrating the connection to WebRTC with Telegram Web K.\n  Their assistance has been instrumental in enhancing the functionality of our library.\n\n* \u003cb\u003e\u003ca href=\"https://github.com/MarshalX\"\u003e@MarshalX\u003c/a\u003e:\u003c/b\u003e for their generous assistance in answering questions and providing insights regarding WebRTC.\n\n* \u003cb\u003e\u003ca href=\"https://github.com/LyzCoote\"\u003e@LyzCoote\u003c/a\u003e:\u003c/b\u003e for providing an ARM64 Server and allowing us to build an image with clang-18 preinstalled on manylinux2014 arm64.\n\n_We would like to extend a special thanks to \u003cb\u003e\u003ca href='https://github.com/null-nick'\u003e@null-nick\u003c/a\u003e\u003c/b\u003e\nand \u003cb\u003e\u003ca href='https://github.com/branchscope'\u003e@branchscope\u003c/a\u003e\u003c/b\u003e for their valuable contributions to the testing phase of the library and to\n\u003cb\u003e\u003ca href='https://github.com/SadLuffy'\u003e@SadLuffy\u003c/a\u003e\u003c/b\u003e for his assistance as a copywriter.\nTheir dedication to testing and optimizing the library has been instrumental in its success._\n\n_Additionally, we extend our gratitude to all contributors for their exceptional work in making this project a reality._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytgcalls%2Fntgcalls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytgcalls%2Fntgcalls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytgcalls%2Fntgcalls/lists"}