Commit graph

232 commits

Author SHA1 Message Date
isaac
71ac72d463 Upate webrtc 2026-05-05 20:32:33 +02:00
isaac
e918b353ec Postbox refactor waves 278-356: squash
Squashes 79 sequential refactor waves into a single commit.

Highlights:
- Drop `import Postbox` (and matching `//submodules/Postbox` BUILD deps) from a wide swath of consumer files: ChatList, ChatMessage*BubbleContentNode subclasses, ListMessageNode/ListMessageItem, GalleryData, ChatHistorySearchContainerNode, ChatPanelInterfaceInteraction, ChatControllerInteraction, ChatMessageStickerItemNode, ChatMessageReplyInfoNode, ChatMessageInstantVideoItemNode, ChatPresentationInterfaceState, BrowserMarkdown/Readability, MediaResources, LocalMediaResources, ICloudResources, FetchManager, ShareController, OpenChatMessage, GalleryController, GroupStickerSearchContainerNode, GroupStickerPackCurrentItem, ChatPinnedMessageTitlePanelNode, OverlayAudioPlayerController, PresentationThemeSettings, StatisticsUI/StoryIconNode, TextFormat/StringWithAppliedEntities, GalleryUI/VideoAdComponent, StickerPackPreviewUI, WallpaperPreviewMedia, WallpaperResources, YoutubeEmbedImplementation, InstantPageExternalMediaResource, PlatformRestrictionMatching, TelegramUIDeclareEncodables, ChatListNode/ChatListSearchContainerNode.
- Add `TelegramEngine` facades: `Themes.wallpapers`, `Themes.themes`, `AccountData.addAppLogEvent`.
- Add `EngineMessageHistoryEntryLocation` wrapper.
- Add `EngineRaw*` escape-hatch typealiases (`EngineRawMessage`, `EngineRawPeer`, `EngineRawMedia`, `EngineRawMediaResource`, `EngineRawMediaResourceData`, `EngineRawItemCollectionItem`, `EngineRawItemCollectionInfo`) and `engineDeclareEncodable` forwarder.
- Drop unused `account:`/`postbox:`/`network:` parameters from several public functions and delete the dead overloads/types/functions left over: `automaticThemeShouldSwitchNow`, `cancelFreeMediaFileInteractiveFetch`, `legacyEnqueueVideoMessage`, `TelegramMediaFileReference`, plus assorted dead public TelegramCore/AccountContext SecureId entry points.
- Delete entire dead modules: `LegacyDataImport`, `TonBinding`, `SpotlightSupport`, `SvgRendering`, third-party `AppCenter`/`VectorPlus`/`SwiftColor`/`SwiftSVG`.
- Drop orphan `//submodules/Postbox` BUILD deps across 3 cleanup rounds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 14:11:06 +02:00
Mikhail Filimonov
5b56675b06 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
# Conflicts:
#	submodules/MetalEngine/Sources/MetalEngine.swift
2026-05-02 10:10:18 +01:00
isaac
2edd2ffea7 Update instructions and fix build 2026-05-01 00:49:47 +02:00
Isaac
8dc06f48ce Merge commit '5b013073bf'
# Conflicts:
#	CLAUDE.md
#	MODULE.bazel.lock
#	submodules/TgVoipWebrtc/tgcalls
#	third-party/td/build-td-bazel.sh
#	third-party/webrtc/webrtc
2026-04-30 22:20:45 +02:00
Isaac
5962a563e4 feat: tgcalls CLI test tool with group SFU, video, and adaptation
Squashed buildout of the tgcalls testbench:

- CLI test tool with --mode p2p/reflector/group/group-churn,
  cross-version interop (--version, --version2), and quiet/summary output
- Linux toolchain + Docker multi-stage build, AWS Fargate mass test harness,
  local parallel mass test harness with signaling loss simulation
- SCTP writable gate, retransmission timer tuning, role-based handshake
- InstanceV2CompatImpl (PeerConnection backend with V2Impl signaling) and
  SignalingTranslator for v14.0.0 interop
- In-process Go/Pion SFU (ICE+DTLS+SRTP+SCTP per participant) with audio
  RTP forwarding, ActiveAudio/VideoSsrcs data channel broadcast, RTCP
  feedback path, and CGo c-archive integration
- GroupInstanceReferenceImpl (PeerConnection group-call) and mixed-impl
  group mode (--reference-participants), with SDP munging for simulcast
- H264 simulcast group video (FakeVideoTrackSource pattern generator,
  FakeVideoSink frame counting, --video flag, two-pass channel setup,
  reactive video setup from ActiveVideoSsrcs)
- Group churn stress mode (--mode group-churn, --churn-cycles)
- SFU stream-quality adaptation: BandwidthEstimator, LayerSelector
  state machine, RtxRingBuffer, simulcast SSRC rewrite
- Transport-cc feedback generation, NetworkSimulator (delay/jitter/loss/
  token-bucket bandwidth), --network-scenario step-down-up
- CLAUDE.md updates throughout

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 18:28:43 +02:00
isaac
027ac77ad7 Various improvements 2026-04-28 16:58:04 +04:00
Ilya Laktyushin
d600b7b32e Clean up 2026-04-27 19:32:42 +02:00
Ilya Laktyushin
d574182374 Markdown improvements 2026-04-27 18:45:30 +02:00
isaac
e51fef57d8 Add swift svg 2026-04-24 23:19:15 +04:00
Isaac
95a03d9931 subcodec 2026-04-07 10:44:45 +02:00
Isaac
1b3a547401 subcodec 2026-04-07 09:58:54 +02:00
Isaac
28608194a9 fix: copy bSubcodecMode in ParamTranscode so encoder context sees the flag
Without this, SWelsSvcCodingParam::ParamTranscode was not copying
bSubcodecMode from SEncParamExt, so the encoder's internal pSvcParam
always had bSubcodecMode=false regardless of what the caller set.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 08:49:45 +02:00
Isaac
d239564d84 feat: gate Log2MaxFrameNum on bSubcodecMode via WelsInitSps parameter
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 08:42:28 +02:00
Isaac
e647f733c9 feat: gate padding recon override on bSubcodecMode with hardcoded 1-MB border 2026-04-07 08:41:06 +02:00
Isaac
9871479b27 feat: gate VaaOnScreen sub-partition suppression on bSubcodecMode 2026-04-07 08:40:23 +02:00
Isaac
1c05425261 feat: gate intra/I_4x4/sub-partition suppression on bSubcodecMode
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 08:39:09 +02:00
Isaac
d224a25d07 feat: gate MV range cap on bSubcodecMode 2026-04-07 08:36:38 +02:00
Isaac
96daaaa794 feat: replace iPaddingMbs with bSubcodecMode in SEncParamExt 2026-04-07 08:36:09 +02:00
Isaac
43e41b20d9 Update webrtc 2026-03-31 23:51:10 +08:00
Isaac
002df956d2 Bug fixes 2026-02-06 17:14:35 +04:00
Isaac
9b68f361e4 Revert "Upgrade recaptcha"
This reverts commit b0f2d0220e.
2026-01-14 22:58:46 +04:00
Isaac
b0f2d0220e Upgrade recaptcha 2025-12-13 00:04:41 +08:00
Isaac
49ae84062b Update build system 2025-11-17 23:16:39 +08:00
Mikhail Filimonov
899e4cd5d1 update macos headers 2025-08-11 16:47:44 +01:00
Isaac
5ad4331eeb WIP 2025-07-17 10:34:19 +02:00
Isaac
636508fc97 Various improvements
(cherry picked from commit 7e240c7064)
2025-07-09 17:47:56 +04:00
Isaac
21e8bc02ca Cleanup 2025-07-01 19:38:35 +02:00
Isaac
a23deded22 Cleanup 2025-06-28 19:48:34 +02:00
Isaac
7512f7f017 Cleanup 2025-06-28 13:14:15 +02:00
Mikhail Filimonov
d7dbeed5d6 group call e2e-offset bug fix 2025-06-26 16:23:19 +01:00
Isaac
2180826318 Cleanup 2025-06-23 20:27:40 +02:00
Isaac
e57538b321 Cleanup 2025-06-21 23:08:11 +02:00
Isaac
07dc55194b Cleanup 2025-06-18 17:26:56 +02:00
Isaac
8d40ccce0f Cleanup 2025-06-18 12:26:54 +04:00
Isaac
d5a6cb86d2 Cleanup 2025-06-18 11:57:34 +04:00
Isaac
504cb1d596 Cleanup 2025-06-18 11:47:25 +04:00
Isaac
e03895329f Fix td min iOS 2025-06-11 17:13:24 +08:00
Isaac
c7a2fe5d3e Update to iOS 13 2025-06-11 16:59:53 +08:00
Isaac
99e09e0d5a Move things around a bit 2025-06-04 16:42:53 +08:00
Isaac
92065b2861 Build experiments 2025-05-29 16:06:51 +08:00
Isaac
da477ec84e Update td 2025-05-28 17:05:49 +08:00
Isaac
cd3ffe902e Bazel 2025-05-22 02:28:38 +08:00
Isaac
610c051e38 Cleanup 2025-05-11 03:16:53 +04:00
Isaac
1f869f309f Refactoring 2025-04-28 23:36:35 +02:00
Isaac
9b0bcee0a7 Call debugging 2025-04-23 12:20:11 +04:00
Mikhail Filimonov
ffc6589fa1 update macos 2025-04-15 21:34:30 +03:00
Mikhail Filimonov
cc285ef23c update to latest commit 2025-04-15 21:18:58 +03:00
Isaac
9a2215de29 Conference 2025-04-15 19:30:05 +04:00
Isaac
7593cc2724 Group call participants may not have a peer available (support blockchain ids) 2025-04-14 20:18:33 +04:00