Commit Graph
312 Commits
Author SHA1 Message Date
evgeny bd005be9a0 Clarify serialization limits, cleanup and error codes 2026-10-21 16:18:51 +02:00
evgeny a712110aff Clarify memory pool counters and strbuf error documentation 2026-10-21 16:14:48 +02:00
evgeny 4621361663 docs: remove reviewed header backup files 2026-10-21 15:22:42 +02:00
evgeny 4c67ff70a3 docs: clarify header APIs and preserve originals in .h1 2026-10-21 15:21:27 +02:00
evgeny f551db3c9a Encrypt P2P call media and validate service IDs
Require signed and encrypted call audio/video using static identity keys. Fix attachment service ID collisions and media download handle lifetime; isolate LAN tests and audit the shared service registry.
2026-10-21 15:06:27 +02:00
evgeny 6b233f22e7 Update call video controls and sensor rotation across Android and desktop 2026-10-19 20:24:39 +02:00
evgeny a43c09f072 Diagnose Windows call video timing and queue losses 2026-10-19 17:20:12 +02:00
evgeny 1643817498 Add local UDP discovery and invitation delivery for chat clients 2026-10-18 14:46:04 +02:00
evgeny 23b11ea51c Expose WASAPI and Linux audio buffer glitches to device owners 2026-10-16 17:08:55 +02:00
evgeny 715ad9b713 Expose measured Opus codec delay for capture clock mapping 2026-10-14 19:26:09 +02:00
evgeny 49a29a6209 Account for transposer prefill in source coordinates 2026-10-14 19:19:50 +02:00
evgeny 10f821d4ff Verify exact SoundTouch provenance and unchanged PCM output 2026-10-14 19:17:46 +02:00
evgeny 82db66db81 Expose optional live source tracking through SoundTouch 2026-10-14 19:16:45 +02:00
evgeny 82a1eb6657 Report copied and overlapping source ranges from TDStretch 2026-10-14 19:16:03 +02:00
evgeny 41509c5f65 Define SoundTouch source spans and unity interpolation contract 2026-10-14 19:15:43 +02:00
evgeny 324414187d Allow RS batches to choose their block size from input length 2026-10-13 19:59:57 +02:00
evgeny b08e964cfc Add signed FEC stream core and source buffering 2026-10-12 00:01:38 +02:00
evgeny 9aa43f68fa Fix matrix inverse syntax and make bounded conversions explicit 2026-10-10 19:38:08 +02:00
evgeny 70793605c6 Test Reed-Solomon recovery and integrate codec into builds 2026-10-10 19:37:07 +02:00
evgeny 8ef948583e Add batch Reed-Solomon codec with caller-owned buffers 2026-10-10 19:35:10 +02:00
evgeny 4e341e9e85 headless: expose OS-assigned control and audio listener ports 2026-10-10 15:51:04 +02:00
evgeny 71d19013c0 Measure uasync CPU load and display it in desktop and Android GUIs
Sample thread CPU usage without waking idle loops, expose a one-second moving average, and refresh compact GUI indicators at 3 Hz while visible on Android. Add load and bridge regression coverage, streaming notes, and task list cleanup.
2026-10-10 12:31:13 +02:00
evgeny fd39df108d logging: move socket mechanics and periodic probe decisions to trace 2026-10-07 21:14:38 +02:00
evgeny 2c75a1ebb0 Add message identities and plan the remaining feedback work 2026-10-06 21:12:53 +02:00
evgeny 0ec5b078da Fix Windows getsockopt argument in TCP error callback 2026-10-05 11:46:54 +02:00
evgeny 7b6ea75796 Add GPLv3 licensing and bundle third-party notices 2026-10-04 14:18:18 +02:00
evgeny 7c4b909bc7 docs: update file inventory and module header contracts
Refresh both AGENTS guides and clarify module purpose, usage, ownership, threading, return values and wire formats in headers. Remove the unused timeout_heap freed_count field and unimplemented getter.
2026-10-04 13:10:01 +02:00
evgeny c731fdb97c Include previous audio context in streaming Silero inference 2026-10-03 01:48:37 +03:00
evgeny 10fad5f25e Expose compressor gain and register separate radio VAD limit 2026-10-03 01:27:42 +03:00
evgeny d8789b0dc8 Раздели аудиопотоки и привяжи AEC к фактическому общему выходу 2026-10-02 10:22:34 +03:00
evgeny 00b60e622b Исправь потоковый AGC и применяй mute после AEC 2026-10-02 01:56:10 +03:00
evgeny d184cd4952 Сохрани накопленные исправления аудио, async и диагностики 2026-10-02 01:49:32 +03:00
evgeny 7e18e958a0 Remove duplicate GUI voice encoding and keep shared worker codec 2026-10-01 18:48:09 +03:00
evgeny 6d0ae33645 Detach recorder compressors while preserving capture settings 2026-10-01 17:47:39 +03:00
evgeny 8c16309619 Reserve worker completions before starting background tasks 2026-10-01 17:36:12 +03:00
evgeny d38cd7231e radio: PTT double-tap latch + single-tap off (in-chat & overlay); compressor initial gain = mid-range 2026-09-29 20:00:28 +03:00
evgeny 324a0e4a7a call: add SpeexDSP AEC (acoustic echo cancellation) for desktop + Android 2026-09-29 17:01:30 +03:00
evgeny 4c18dfc067 radio: Silero VAD + auto-PTT; chatgui/android: app icon and background 2026-09-29 16:19:25 +03:00
evgeny 6517bbeb2d Preserve proxy TCP streams across connect, backpressure and FIN 2026-09-29 04:00:34 +03:00
evgeny 939276cf5d Notify TCP writers when the final synchronous send drains 2026-09-29 03:57:15 +03:00
evgeny 7dbc59a6de Radio: Opus mode/bitrate + mic source + PTT release tail; drop online status from member JSON 2026-09-29 00:40:10 +03:00
evgeny 60108a8f11 Support 8 KiB member owner tags without signature or serialization truncation 2026-09-27 17:12:13 +03:00
evgeny 0f35f3b996 Bound ETCP receive window and fix timestamp and allocator UB 2026-09-27 12:16:15 +03:00
evgeny ba431187d8 ll_queue: queue_waiter_cancel отменяет отложенный call_soon при internal==NULL (фикс UAF waiter_defer) 2026-09-26 18:58:27 +03:00
evgeny b23402dafb ll_queue: отложенный первый запуск автозабора (callback_defer) + тест
queue_set_callback_defer(q, 1) переносит первый запуск callback из
queue_data_put* в uasync_call_soon (очистка стека производителя).
Повторные запуски (queue_resume_callback) и так всегда deferred.
2026-09-26 16:42:46 +03:00
evgeny 4f476ff803 transport: reality-релей idle-timeout (конфиг, дефолт 5с) + warn при >64 релеях; убрать лимит FD_SETSIZE; проверка socket_id в stcp_server 2026-09-24 12:08:45 +03:00
evgeny f29f1c7c0b chatgui: диагностика воспроизведения голосовых сообщений (Windows)
- sound_manager: ma_engine_init/playRawPcm логируют через DEBUG_* (qWarning/qDebug терялись в GUI-приложении без консоли); детальный результат старта PCM (rc/is_playing/cursor)
- main: ранняя инициализация лога в GUI-потоке до SoundManager::init, чтобы диагностика инициализации попала в файл
- messagedelegate: лог клика по Play/timeline (filePath/dlState/существует ли файл)
- voiceplayback: лог заголовка opus (sr/ch/frameSamples)

Попутные правки:
- u_async: фикс двойного close wakeup_pipe (eventfd/Windows)
- chat_core: NULL-guard в get_db/is_initialized
- android: sqlite открывается в utun_instance_init, cleanup stale-потока без утечки fd
- android SettingsScreen: компактная раскладка имени интерфейса
2026-09-21 18:59:04 +03:00
evgeny c54ffdaaf1 radio: AGC release-rate (без кликов), jitter dead-zone, TX/RX-статистика, FGS-гонка и кэш настроек 2026-09-20 20:07:48 +03:00
evgeny db42af5624 radio: адаптивный джиттер-буфер (pre-roll, симметричный темп, reorder) + AGC-компрессор микрофона
- voice_jitter: vj_create_cfg (target_ms/min_tempo/max_tempo/pre_roll), pre-roll
  с таймаутом, vj_end для дренажа остатка, глубина учитывает внутренний буфер SoundTouch
- radio_audio: reorder по seq (mesh, out-of-order через соседей), force-flush pending
  по таймауту и FIN, компрессор микрофона (AGC, конфиг [chatserver]), статистика буфера
- audio_compressor: clear_output для потокового слива без потери gain_smoothed
- chatgui messagelist: fromUtf8 для emoji-строк
- тесты: pre-roll/симметричный темп, reorder, late-drop
2026-09-20 14:39:25 +03:00
evgeny 11bdfdbcd3 log: move socket diagnostics SYS->SOCKET and conn lifecycle ETCP->CONNECTION (avoid poll() flood) 2026-09-20 01:51:40 +03:00