Conversation
japananimetime
added a commit
to japananimetime/Telegram-X
that referenced
this pull request
Jan 17, 2026
- Add BLUETOOTH_CONNECT and BLUETOOTH_SCAN permissions for Android 12+ - Add USE_NTGCALLS BuildConfig flag (controlled by app.ntgcalls in local.properties) - Add useNTgCalls to ApplicationConfig and ConfigurationPlugin - Add conditional NTgCalls dependency (io.github.pytgcalls:ntgcalls:2.0.6) Note: The NTgCalls interface code from PR TGX-Android#916 requires API compatibility updates - the PR was written for a different version of the NTgCalls library with packages (media, p2p, devices, exceptions) that don't exist in the public Maven Central release. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Laky-64
force-pushed
the
main
branch
2 times, most recently
from
January 22, 2026 12:46
64777e7 to
225c605
Compare
Laky-64
force-pushed
the
main
branch
2 times, most recently
from
February 2, 2026 02:19
a1c1b9f to
1617e78
Compare
japananimetime
added a commit
to japananimetime/Telegram-X
that referenced
this pull request
Feb 8, 2026
Revert all 8 NTgCalls-related commits. The original developer (Laky-64/null-nick) has made their own proper implementation, so our custom cherry-picked version is no longer needed. Reverted commits: - 3e82450 Add NTgCalls integration from PR TGX-Android#916 - df7b562 Add NTgCalls build configuration and Bluetooth permissions - 2695c8a Add group call support and voice/video restriction UI - 5751cad Add Bluetooth runtime permission checks for Android 12+ - 7c23b5a Add video rendering to GroupCallController - b341699 Add video chat management features - 0169b97 Fix video chat API calls - f544b6d Add Invite to Video Chat feature Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
japananimetime
added a commit
to japananimetime/Telegram-X
that referenced
this pull request
Jun 11, 2026
Revert all 8 NTgCalls-related commits. The original developer (Laky-64/null-nick) has made their own proper implementation, so our custom cherry-picked version is no longer needed. Reverted commits: - 3e82450 Add NTgCalls integration from PR TGX-Android#916 - df7b562 Add NTgCalls build configuration and Bluetooth permissions - 2695c8a Add group call support and voice/video restriction UI - 5751cad Add Bluetooth runtime permission checks for Android 12+ - 7c23b5a Add video rendering to GroupCallController - b341699 Add video chat management features - 0169b97 Fix video chat API calls - f544b6d Add Invite to Video Chat feature Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
vkryl
force-pushed
the
main
branch
2 times, most recently
from
August 17, 2026 22:13
d5a3b7a to
7735236
Compare
|
gh pr checkout 916 |
1 similar comment
|
gh pr checkout 916 |
Adapt to the renamed API surface: callback setters (`setFrameCallback` -> `onFrames`, `setConnectionChangeCallback` -> `onConnectionChange`, ...), `NetworkInfo.State` -> `ConnectionState`, reordered `AudioDescription` and `VideoDescription` constructors, and snake_case fields on `Protocol` and `Frame`. Video rotation is now an enum, so map it to degrees explicitly.
Upstream removed the `libtgvoip` layer, converted `NLoader` to Kotlin, replaced `ConfigurationPlugin` with `AppConfigurationPlugin` plus the `tgxConfig` extension, and reworked the call button bar. Fork-side resolutions: * `useNTgCalls` moved to `AppConfigurationSource`, and `tgcalls` now reads the config through `tgxConfig` instead of `extra["config"]`. * `NLoader.kt` skips `tgcallsjni` when ntgcalls is in use. * `VoIP.getProtocol()` branches on `USE_NTGCALLS`; `VoIPController` and `VoIPServerConfig.nativeSetConfig` are gone with `libtgvoip`. * The video and flip-camera buttons keep the fork's `LinearLayout` bar, with upstream's `extraBottomInset` height applied. * `ENABLE_TGVOIP` stays `no` on the `legacy` flavor and otherwise honours the value gradle passes based on `app.ntgcalls`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The guide below provides the flow for creating a perfect pull request to the Telegram X Repository. Before submitting your PR, ensure that it complies with the following principles.

Screen_Recording_20250830_170141_NTgCallsX.mp4
Perfect PRs must be:
Rational. This PR replaces the old TgCalls implementation with NTgCalls, adding full support for video calls and screen sharing, while also introducing a more efficient CPU usage management. To enable NTgCalls locally, you need to add the following line in your
local.propertiesfile:'main'branch.When fixing issues, make sure that your PR is:
When adding features, expect:
Other contributions: