diff --git a/docs/specs/media-player-controller.md b/docs/specs/media-player-controller.md index 956a8218..8ca5446a 100644 --- a/docs/specs/media-player-controller.md +++ b/docs/specs/media-player-controller.md @@ -66,6 +66,47 @@ produced a regression: routing transcoded seeks to a reload path turned "seek does nothing" into "seek jumps to zero", because the reload path's own seek was broken in the same way. **Symptom fixes in this area compound.** +## The background-audio handoff is an unconfirmed state swap + +Diagnosed on a device, 2026-08-23, and the likeliest explanation for "audio +keeps playing after I leave the player" — the report this whole line of work +started from. + +`enter_background_audio` and `exit_background_audio` in `PlayerController` are +pure bookkeeping: they flip a boolean and set or clear a base offset. Neither +confirms that the audio stream actually opened, nor that the webview `