125 lines
8.0 KiB
Markdown
125 lines
8.0 KiB
Markdown
# Android 0.7.2 playback diagnostic candidate
|
|
|
|
Baseline: clean/pushed `3458a9b03e636bdc910713c3832774b0322322aa`.
|
|
The user reports no visible dance and about one second of dance audio on code19.
|
|
This is **not a confirmed fix for that phone episode**. Code19's held-body layer
|
|
ownership and idle rotation repairs remain in place. Host presentation callbacks
|
|
are not evidence of Android GPU visibility or installed-phone playback.
|
|
|
|
## Current evidence
|
|
|
|
The last finite read-only query at 2026-10-13 11:36:47 Asia/Shanghai found zero
|
|
`/debug/report` entries. The latest remote debug-log timestamp remains11:12:13.668.
|
|
Earlier11:12:08 metadata contained the frozen pin's HELLO accepted, but has no
|
|
versionCode/episode binding. It cannot establish that the user's reported dance
|
|
received a plan or started. No user's conversation, recording, camera image or
|
|
landmarks were inspected. USB is unavailable; no installation was attempted.
|
|
|
|
Gateway0.8.0 remains healthy, Qwen3.8-27b/json_schema/AsiaShanghai. Canonical
|
|
`gateway.py`, `action_protocol.py` and `reviewed_action_packs.json` hashes match
|
|
previous checks. No deployment/restart or time/provider/TTS/model change.
|
|
|
|
## Diagnostic changes
|
|
|
|
- The real Android MediaPlayer/TextureView adapter now records fixed preparation,
|
|
start, native rendering-start, latched first-frame, native end, validated end,
|
|
close/release and failure enums with epoch, elapsed time, currentPosition,
|
|
actual texture PTS and alpha. Rendering-start info does not reveal the layer or
|
|
count as a surface frame. The existing exact-PTS/first-frame/final-frame/minimum
|
|
duration/release/return-A gates are preserved.
|
|
- The previously generic failure now distinguishes `first_frame_not_zero`,
|
|
`timestamp_not_indexed`, `timestamp_regressed`, `native_ended_missing_final`,
|
|
`duration_early`, dimensions/prepare/start/native/release failure. These branches
|
|
are reproducible with production adapter callbacks; none is yet tied to the
|
|
phone episode. TextureView can skip displayed frames or use a different clock;
|
|
device timestamps are needed before changing admission policy.
|
|
- Normal TTS activity logs accepted versus inactive/action-owner/stale-generation/
|
|
old-turn/blocked/drained, with actual AudioTrack head, written count and audible
|
|
flag. The compositor snapshot records the visible slot's body frame/PTS/loop,
|
|
mouth phase/aperture/selected level/opacity/generation after draw/swap. Hidden
|
|
prepared slots cannot masquerade as visible mouth presentation. Swap callback
|
|
evidence is still not a phone screenshot or perceptual measurement.
|
|
- Action cancellation records background, disconnect, server cancel, new turn,
|
|
audio-focus unavailable, settings cancel or stop-voice. Existing capture-stop,
|
|
media release, completion and after-reply semantics are unchanged.
|
|
- Settings offer **离线播放检查(停止当前会话)**. It stops voice/camera, waits for actual recorder cleanup confirmation, and opens
|
|
the existing sensor-free Activity branch. Settings there offer舞蹈01/02/停止舞蹈
|
|
and explicit发送诊断报告. These controls use the same actual production
|
|
binding/View/music player, legal approach and return A. Synthetic expression
|
|
intents pause during dance. Background/disposal cancels and fences callbacks.
|
|
No network action, fabricated recording confirmation, microphone/camera capture,
|
|
after-reply, or LLM call occurs. A requested local dance is not proof it played;
|
|
the settings status/explicit report exposes actual player/layer failures.
|
|
|
|
All added diagnostics use fixed enums/ids/numbers, a500-entry bounded ring, state
|
|
changes and10s summaries; no frame-level ring writes, raw PCM/chat/model text or
|
|
secrets. Reports include app versionCode, mode, frozen pin/admission, current
|
|
owner, native playback and visible mouth state. Offline report submission uses
|
|
empty camera/face diagnostic snapshots and never accesses uninitialized sensor
|
|
or voice controllers. Main screen remains avatar plus gear.
|
|
|
|
## Frozen assets and release boundaries
|
|
|
|
Index pin: `987e125a7d7a2cde99121b5f5246c82f4dbe36c4899d3d49eaffd1a68bafb887`.
|
|
All3222 runtime references and every packaged avatar byte must equal code18 and
|
|
code19. Existing white-clothed identity, five bodies, eight own-mouth bridges,
|
|
thirteen edges, two real music dances and mouth gap1.1 source pixels are unchanged.
|
|
No new visual imports or asset generation. Owner ledger remains21 submitted,
|
|
known video$4.16, image/rate fees unknown; this step0 paid/AI/inference calls.
|
|
Code19/18/17/16 rollback artifacts remain intact.
|
|
|
|
Build purpose is explicit `-PavatarPlaybackDiagnostic=true`, frozen full graph,
|
|
code>=20, version0.7.2. Publisher `--playback-diagnostic` verifies exact media bytes,
|
|
external pin, reviewed action registry, arm64/min26/target34, same debug certificate,
|
|
compiled pin, occupied-version prevention and downloaded HTTP bytes. It does not
|
|
rewrite asset admission to naturalness-approved.
|
|
|
|
## Validation
|
|
|
|
Production adapter/offline controller tests cover exact failure enums, native-info
|
|
without latch, single failure/release, stale callbacks, early end rejection,
|
|
cancel/background and both local assets through the actual View/binding/renderer/
|
|
player callbacks (100 assertions). Existing action record-stop, held-body layer
|
|
ownership, return A, after-once, idle/new-turn and bridge-own mouth suites remain
|
|
required. Full JVM/UI, packaging, five-body software GLES, gateway archive-stage
|
|
and exact APK loader/callback results are recorded below after publication.
|
|
Instrumentation compiles only. Real-device codec/GPU/surface, AudioRecord stop,
|
|
AudioTrack audibility, music listening, naturalness and perceptual latency are
|
|
**not_run**. No new inference probe or device installation.
|
|
|
|
The shortest next observation is settings→离线播放检查→舞蹈01 or02; close the sheet
|
|
to view the actor, reopen settings and explicitly send the diagnostic. This
|
|
separates native-media visibility from normal HELLO/plan/drain/capture-stop gates.
|
|
For the normal conversation issue, a report from that mode is needed as well;
|
|
no attribution from another device/turn or old version is made.
|
|
|
|
## Published diagnostic candidate
|
|
|
|
- Version0.7.2/code20, `com.gorios.lanvoice`, arm64/min26/target34.
|
|
- APK: http://192.168.31.124:8080/lan-voice-v072-playback-diagnostic-code20-arm64-debug.apk
|
|
- SHA256: `c9789ece23d32b6a9ea2f91f219f06f26b55eb1d5ab890dafb1bff7654825a46`.
|
|
Matching checksum URL is the APK URL plus`.sha256`; both HTTP bodies verified.
|
|
- Certificate SHA256:
|
|
`b9608336bc1ed1de3269bb4594f9fe718daaa5439511c5187aa385d2b799dcf1`.
|
|
- Implementation commit: `f9c45a3c4e35e5a608ddba27970682dd572031b7`.
|
|
- Actual bundle production parser/hash/decode admission passed:5bodies,8own-mouth
|
|
transitions,13edges,2actions,3222runtime files, RGBA10,911,120 bytes. Every
|
|
packaged avatar byte was also compared directly with code19 and code18.
|
|
- Nine JVM/UI suites pass;30 packaging safety tests pass;200 five-body software
|
|
GLES goldens pass; gateway stage98 total:97 pass and1 existing Silero-model
|
|
artifact skip. `applied=false`: no live source/config/deployment change.
|
|
- Added100 native/offline callback assertions and6 recorder-cleanup transition
|
|
assertions pass. Existing1288 View/media callback assertions,289 bridge TALK
|
|
cases,27 idle cases,17 full graph assertions and2367 dynamic frame/level checks
|
|
pass. App/instrumentation compile; instrumentation execution isnot_run.
|
|
- Exact APK production loader/View callback replay passes happy/sad own-body paths,
|
|
both neutral idle variant legal returns across new turns, and241-frame ACTION
|
|
layer retention with held-body callbacks, native completion/release and actual
|
|
returnframe96. Media codec/EGL, native surface callbacks and recording
|
|
confirmation are doubles. This doesnotprove Android playback or user-visible
|
|
dance; the phone symptom remains unassigned until an episode-bound report.
|
|
|
|
Ignored evidence: `logs/action-emotion/playback-diagnostic-072/`, including bundle,
|
|
APK replay, five GLES reports and gateway stage result. No evidence media/logs or
|
|
binary APK enter Git. No device install, inference/asset generation or paid call.
|