Skip to content

Make remote voice audio playback explicit - #226

Merged
JulioMCruz merged 1 commit into
mainfrom
agent/voice-remote-audio
Aug 15, 2026
Merged

Make remote voice audio playback explicit#226
JulioMCruz merged 1 commit into
mainfrom
agent/voice-remote-audio

Conversation

@JulioMCruz

Copy link
Copy Markdown
Contributor

What changed

  • attach remote LiveKit audio to an explicit unmuted HTML audio element
  • enable autoplay and inline playback, hide controls, and call play() directly
  • expose only safe connected/playing/browser-permission status in the voice card
  • detach, pause, and remove remote audio on unsubscribe, failure, end, or unmount
  • add focused playback and cleanup regression tests

Why

Implicitly appending LiveKit's generated element did not make playback success or browser autoplay rejection observable and made lifecycle cleanup harder to prove.

Validation

  • typecheck and ESLint passed
  • 2 focused suites / 6 tests passed
  • production build generated all 51 routes with non-secret placeholder Firebase values
  • diff and secret scans passed

No real call, audio capture, credential operation, or deployment occurred.

@JulioMCruz
JulioMCruz marked this pull request as ready for review August 15, 2026 05:16
@JulioMCruz
JulioMCruz merged commit 038bf95 into main Aug 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant