Files
baji-vc/docs/PLAYBACK_DIAGNOSTIC_072.md
T

6.0 KiB

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.