Commit Graph
645 Commits
Author SHA1 Message Date
evgeny 250a678949 Honor core stop before and after Android restart with lifecycle regressions 2026-10-26 22:07:39 +01:00
evgeny f7ed0ae87c fix(call): align audio frontend ownership with core lifecycle
Keep the borrowed audio provider on UTUN_INSTANCE across chat service restarts.
Attach and detach Android voice from the core worker and reject DSP startup
after detach. Preserve TX owner epochs, pending slots and foreign-instance RX
isolation. Remove the unused cross-thread online API and keep its check local
to call.c.

Add eight lifecycle regressions with real cores and the Android host bridge.
Audit public call, DSP, clock, headless and desktop audio contracts and record
the findings and validation scope.

Validation: voice/desktop 38/38, four native call suites, native and both Android
ABI builds, full check 204/204 plus proxy/burst/load. JVM results remain Gradle
UP-TO-DATE (155 app and 15 router). No hardware runtime validation.
2026-10-26 20:22:46 +01:00
evgeny 755ebf2cd4 docs(call): clarify Android output and Bluetooth proxy ownership 2026-10-26 20:21:58 +01:00
evgeny 1af86203cc build(android): run router lifecycle regressions with app unit tests 2026-10-26 20:21:58 +01:00
evgeny c398b2e6fe test(android): cover Bluetooth router teardown and callback races 2026-10-26 20:21:58 +01:00
evgeny a60bf995bd test(android): isolate router application and logging fixtures 2026-10-26 20:21:58 +01:00
evgeny 3191202804 test(android): model Bluetooth proxy ownership and device callbacks 2026-10-26 20:21:58 +01:00
evgeny 3edbfafed8 test(android): add isolated host context and clock fixtures 2026-10-26 20:21:58 +01:00
evgeny 13823cdaa4 fix(android): own Bluetooth proxies across router lifecycle 2026-10-26 20:21:58 +01:00
evgeny 3649c7040e Preserve Android raw capture through AEC and apply mute before Opus 2026-10-26 17:14:18 +01:00
evgeny bd734cda1b Forward Android frame mute through the native capture bridge 2026-10-26 17:14:18 +01:00
evgeny 09631ad6f4 Fix Android config storage limits for the strict parser 2026-10-26 10:12:30 +01:00
evgeny edab625966 Make chat joins atomic and test invitation lifecycle failures 2026-10-26 09:19:35 +01:00
evgeny 7c9ff2c4c5 Disable UTUN by default in chat frontends and retain core bootstrap transports 2026-10-25 22:10:06 +01:00
evgeny ea73fa271c Use channel member snapshots for desktop participant details 2026-10-25 20:04:59 +01:00
evgeny 1a73e3588f Unify member snapshots and fix Android member status flicker 2026-10-25 19:29:44 +01:00
evgeny 3363ad14db Restore Android core activity after internal restart 2026-10-25 17:20:42 +01:00
evgeny 885aa02de3 Test automatic socket protocol configuration and Android port reuse 2026-10-25 16:35:54 +01:00
evgeny ac181e6671 Add Android autosocket protocol selection to network settings 2026-10-25 16:35:54 +01:00
evgeny 2b851750cb Generate Android autosockets per selected protocol and retain ports 2026-10-25 16:35:54 +01:00
evgeny 7b4cacc439 Show stream playback buffer chains on desktop and Android
Send coalesced per-hop telemetry every 200 ms ahead of video DATA using the shared ETCP transport. Measure pending frames before ETCP handoff, retain stale and unavailable node values, and display the worst path with playback tempo.

Bump stream wire protocol to v7. Validate with 187 core tests, 21 desktop player tests, two Android indicator tests, and an Android APK build.
2026-10-25 15:21:23 +01:00
evgeny 61d07e12c8 Buffer stream PCM before playback and recover underruns without resets 2026-10-25 12:51:19 +01:00
evgeny 359454911c Recover streams after five seconds and start from complete keys
Preserve queued media under backpressure, advertise retained keyframe ranges in stream wire v6, and reopen stalled subflows without resetting playback.

Cover large fragmented keys, sustained slow delivery, missing subflows, buffer eviction and stale bootstrap snapshots in integration regressions.
2026-10-25 12:03:49 +01:00
evgeny 9364e4bd3d Improve stream recovery, delivery diagnostics and buffer indicators
Preserve essential FEC parts under pressure, coordinate stale-data gaps and reopen source subflows in parallel after transport failures.

Add per-peer network and playback diagnostics, Android and desktop buffer indicators, and regression coverage for Wi-Fi switching and congestion.
2026-10-25 01:18:02 +02:00
evgeny 6152361fcf Move stream start and stop into the title bar 2026-10-22 18:13:43 +02:00
evgeny d7a4f03043 Keep Bluetooth SCO active for radio reception without capture 2026-10-22 17:59:11 +02:00
evgeny 70f128cb77 Fix shared microphone crackle from timestamp jitter 2026-10-22 16:53:25 +02:00
evgeny d726d88770 Restore shared media playback to speaker after headset loss 2026-10-22 15:24:13 +02:00
evgeny 93830de82c Verify shared Android audio ownership on a physical device 2026-10-22 15:07:26 +02:00
evgeny d960517236 Expose shared audio devices in stream viewing and document them 2026-10-22 15:07:26 +02:00
evgeny d2fa419a77 Use shared audio controls in radio and stream publication 2026-10-22 15:07:25 +02:00
evgeny 5c00ae4880 Add a common audio device selector for radio and streams 2026-10-22 15:07:25 +02:00
evgeny 44ff47a47e Share media playback devices and await cleanup before calls 2026-10-22 15:07:25 +02:00
evgeny aa5d947978 Route radio and stream capture through the shared controller 2026-10-22 15:07:25 +02:00
evgeny 2731184282 Own Android media devices in one shared audio controller 2026-10-22 15:07:25 +02:00
evgeny 05641d06df Keep shared microphone PCM continuous across device changes 2026-10-22 15:07:25 +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 1b6f41e8fa Default stream redundancy to zero on Android and desktop 2026-10-21 12:42:23 +02:00
evgeny ef58c01cce Show green stream watch buttons only for active streams 2026-10-21 12:30:08 +02:00
evgeny 0ce10a9958 Tidy stream video worker source formatting 2026-10-21 01:40:04 +02:00
evgeny 1efe5fe02b Add device regression for independent stream audio and video workers 2026-10-21 01:38:50 +02:00
evgeny bed6fbffc9 Protect SoundTouch lookahead when catching up live stream audio 2026-10-21 01:38:50 +02:00
evgeny 9bb92ea083 Isolate Android live video decoding from audio preparation 2026-10-21 01:23:35 +02:00
evgeny 09eab37bc0 Feed Android stream mixer from prepared PCM without holding DSP lock 2026-10-21 01:18:56 +02:00
evgeny aea490d00b Mix partial stream PCM without copying stale buffer tails 2026-10-21 01:11:35 +02:00
evgeny e6a6ecaabb Release audio holds at video EOF and stop Android batches promptly 2026-10-21 00:15:34 +02:00
evgeny bd51c4920c Consume Android batches with independent track completion 2026-10-21 00:13:01 +02:00
evgeny 1fdfb78445 Expose viewer wake signals and complete audio independently on Android 2026-10-21 00:13:01 +02:00
evgeny fd5077d812 Batch Android viewer records and wake readers on data or stop 2026-10-21 00:13:01 +02:00
evgeny 28112250e5 Test bounded batches, track budgets, notifications and FIN 2026-10-20 23:34:57 +02:00