TGTGInsighttelegram intelligenceLIVE / telegram public index
Back to channels
Telegram github commits and releases avatar

TGINSIGHT CHAT

Telegram github commits and releases

@tgappsupdates

Technologies

Broadcast from the most important Telegram clients' repositories Contact me: @remembertheair

Subscribers5,240Current channel subscribers
Tracked posts1,000Indexed post count
Recent reach133Sum of recent post views
Recent posts

Recent posts

Tag: #include · 1 posts

当前筛选 #include清除筛选

Posted Apr 15

TelegramMessenger/tgcalls/experimental • 616810f • 38 files, +38/-0 build: add #include <cstdint> for GCC 15 compatibility TelegramMessenger/tgcalls/experimental • 24fd51b • 7 files, +2218/-19 feat: SCTP signaling improvements for reliable connection establishment Add writable gate for role-based SCTP handshake ordering: caller (isOutgoing=true) starts writable and sends INIT immediately; callee starts not-writable and defers Connect() until first received packet triggers setWritable(true). Implement CustomDcSctpSocket to fix WebRTC's missing timer backoff cap on t1_init and t1_cookie handshake timers. Without this, simultaneous-open under packet loss causes 20+ second stalls due to unlimited exponential backoff (1s, 2s, 4s, 8s...). With the fix: 400ms init, 750ms max backoff, yielding ~18 attempts in 15s and 100% success at 30% loss. Timer values are configurable via JSON custom parameters: - network_sctp_t1_init_ms, network_sctp_t1_cookie_ms, network_sctp_max_backoff_ms Squashed from: - feat: add SCTP writable gate for role-based handshake ordering - chore: whitespace cleanup in NativeNetworkingImpl - fix: CustomDcSctpSocket with t1 timer backoff cap for signaling SCTP TelegramMessenger/tgcalls/experimental • 212a874 • 1 files, +5/-0 fix: use-after-free in InstanceV2ReferenceImpl::writeStateLogRecords() writeStateLogRecords() captured a raw Call* pointer on the media thread and posted it to the worker thread. If stop() called _peerConnection->Close() (which destroys Call) between the post and worker thread execution, the worker thread would dereference a dangling pointer. WebRTC's call_ptr_ is Call* const and never nulled after Close(), so the existing null check didn't catch this. Fix: add _isStopped atomic flag, set before Close() in stop(), checked in the worker thread lambda before accessing call. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> #tgcalls

133 views