Commit Graph
6 Commits
  • fix(audio): recover outputs created while the selected device was absent
    A devicechange previously cleared deviceMissing without applying the selected sink to players whose initial setSinkId failed. Retry those still-registered targets in the existing serialized output queue, and resolve readiness through their existing applied callback.
    
    Claude's report was reproduced before the correction. Nine focused checks cover replug, continued refusal, retirement and a later explicit device choice. Physical unplugging was not exercised.
  • fix(audio): report unavailable playback devices at the output owner
    Observe selected-device loss through the shared page owner and retain per-target rollback failures. Viewer and voice readiness follows the actual sink while the selected preference remains unchanged. Controlled unplug/replug and shared-context tests and the complete Web suite pass; physical audible output remains a separate acceptance check.
  • fix(playback): read output failure from the actual video sink
    PageSuppliedMedia wraps an HTMLVideoMedia player, so a source-level optional
    failure flag missed its underlying output. Query the shared playback-output
    owner with the actual video element and remove the extra media-adapter field.
    
    The wrapper regression fails on the previous candidate and passes with this
    change. The production 320-pixel preview exposes device recovery and preserves
    the chosen output; 100 focused tests and the full TypeScript check pass.
  • fix(playback): expose output device failures at the waiting player
    Track failed sinks at the shared output owner, so a healthy player does not
    inherit another player's failure. Reuse the playback-device selector in the
    waiting surface and keep the user's explicit choice until they change it.
    
    Detached sinks release their failure state. Device recovery and sibling output
    tests pass, and a 320-pixel production preview verifies one concise status and
    the existing device control. Static rendering has a client-capability snapshot.