Commit Graph
120 Commits
Author SHA1 Message Date
evgeny 66d6364227 Guard Android radio configuration with worker-owned tasks 2026-10-27 22:41:30 +01:00
evgeny 10fbe70b0e Own queued Android phone state data within the worker lifetime 2026-10-27 21:23:18 +01:00
evgeny 57aca2496c Queue Android activity updates while holding the worker lifetime lock 2026-10-27 20:07:51 +01:00
evgeny ec782e3d23 Keep worker callbacks atomic and verify failed shutdown preserves owners 2026-10-27 19:16:30 +01:00
evgeny 27bd358389 Keep Android shutdown independent of a retiring service 2026-10-27 18:55:29 +01:00
evgeny 4c501b1999 Own Android worker threads until cleanup and join finish 2026-10-27 18:52:46 +01:00
evgeny 22b5010141 Recreate the Android core when regenerating its identity 2026-10-27 18:05:06 +01:00
evgeny 4d937e30d8 Persist Android identities atomically before updating config 2026-10-27 17:51:41 +01:00
evgeny 26e09382d2 Preserve documentation audit and Android bridge fixes 2026-10-27 13:17:22 +01:00
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 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 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 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 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 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
evgeny 76e3f45203 Use independent shared viewers in the Android native bridge 2026-10-20 16:58:25 +02:00
evgeny 38318bbbc7 Track live stream catalogues independently for each owner 2026-10-20 16:27:10 +02:00
evgeny 5622b9dab9 feat(chat): add local DM deletion and improve Android member list
Delete local conversations atomically, retain replay protection and sequence counters, and guard asynchronous media work by history generation. Add Android avatar menu and confirmation, persistent file cleanup, and regression coverage.

Fix unnamed member wire padding and compact Android member action spacing.

Validation: 158 core tests passed; targeted DM tests, desktop build, Android unit tests and debug APK build passed.
2026-10-18 02:04:05 +02:00
evgeny c006dd5915 Add Android native control for source audio state 2026-10-16 01:51:37 +02:00
evgeny 69537ddb2d Bind shared call video port to desktop and Android core lifetime 2026-10-14 22:36:03 +02:00
evgeny cb66ec56a8 Use shared media opening in desktop and Android viewers 2026-10-14 16:30:38 +02:00
evgeny dd3ba0ca14 Prepare one Android media response per player request 2026-10-14 13:36:38 +02:00
evgeny a6b3ae27a1 Use the shared publisher in Android and desktop stream bridges 2026-10-14 02:34:16 +02:00
evgeny 6a53703e21 Report codec capabilities and document the expanded Android media header 2026-10-14 01:45:50 +02:00
evgeny 3b494a22ba Initialize the publication media format with the selected codec 2026-10-14 01:09:30 +02:00
evgeny 434bb2cff4 Publish bounded 100 ms send telemetry from the Android media actor 2026-10-14 01:08:20 +02:00
evgeny 431a12280b Discard stale playback snapshots before reseeking a media cursor 2026-10-13 23:39:45 +02:00
evgeny b4999d03ba Observe actual silent device intervals when adapting playback history 2026-10-13 23:26:55 +02:00
evgeny ee31410210 Switch Android media delivery to demand reads from the shared RS ring 2026-10-13 22:53:13 +02:00
evgeny c5ab37ba66 Size Android publisher buffers for the signed batch format 2026-10-13 20:09:14 +02:00
evgeny 57add435ea Describe stereo Opus in live media blocks 2026-10-13 14:14:24 +02:00
evgeny f275db1616 Add stream camera controls and preserve playback on changes 2026-10-13 01:00:53 +02:00
evgeny 5394ae4f9f Require selected epochs and verify multiple live publishers 2026-10-12 22:28:15 +02:00
evgeny e5685ffdac Remove obsolete Android stream polling and simplify lifecycle tests 2026-10-12 22:20:28 +02:00
evgeny 97e2fd934f Watch Android stream sources and validate selected epochs 2026-10-12 21:58:56 +02:00
evgeny 614dc5ad2e Fix Android external network monitoring and startup readiness
Select frontend network callbacks for auto_sockets=android instead of opening a denied netlink monitor. Preserve monitor descriptor ownership, keep native monitoring failures fatal, and release caller config on failed Android core creation and restart.

Register ConnectivityManager before requesting startup, report readiness after SERVICE_STARTED, and refresh addresses after initialization with serialized updates and generation checks. Add regression coverage for denied netlink, socket failures, address updates, and fd=0 preservation. Record the separate cancellation issue for startup before readiness.

Validation: full check.sh passed, including proxy/burst/load integrations. Clean Android build installed successfully on SM-A525F and Q8; logcat confirms both cores initialized and entered the poll loop with external monitoring and post-start address refresh.
2026-10-12 16:01:26 +02:00
evgeny e7a8101b11 Close viewers on malformed media and release terminal owners immediately 2026-10-12 11:46:13 +02:00
evgeny 6c32adbff8 Reject overlapping core ownership of Android stream handles 2026-10-12 11:26:27 +02:00
evgeny 2d06c1b0b6 Mute local preview and clear Android media queues at detach 2026-10-12 07:22:43 +02:00
evgeny 33dd8e214d Preserve stream control events when discarding delayed media 2026-10-12 02:42:01 +02:00
evgeny 884dcf73cc Build verified live source snapshots in the core thread 2026-10-12 02:27:44 +02:00
evgeny 8d86d84ec7 Bind Android media queues to core lifetime and source epochs 2026-10-12 01:50:07 +02:00
evgeny e963451f84 Include Android streaming bridge and refine malformed wire tests 2026-10-12 01:49:40 +02:00
evgeny 902c9c82c1 Bridge Android live streams through bounded session queues 2026-10-12 01:49:07 +02:00
evgeny 9dc0c2deed tests: accelerate standby phases and group connection retries 2026-10-10 15:06:56 +02:00
evgeny 961ebe6cea android: pass reply context through video preparation 2026-10-08 10:29:29 +02:00
evgeny 29c00d8335 android: preserve reply context while recording voice 2026-10-08 10:29:29 +02:00