Brohammad / Brohammad/VoxForge

Browser test for microphone-triggered barge-in

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
4
Forks
1
Avg merge
5d 13m
Merged PRs (30d)
10

Description

## Summary

Pipeline interruption during TTS is unit-tested. Known limitation: microphone-triggered barge-in is not in Playwright.

## Context

- `docs/release/known-limitations.md`
- `src/voxforge/modules/livekit_gateway/application/session_runner.py`
- `tests/` unit coverage for TTS interruption / barge-in metrics
- Public demo Start talking path

## Scope

- [ ] Playwright (or feature test with fake media) that starts TTS, then injects mic/audio interrupt
- [ ] Assert interrupt is recorded (UI indicator or API/session flag)
- [ ] Must run in CI without a physical mic (use fake devices / Playwright permissions)

## Acceptance criteria

Document how to grant fake-audio in CI; skip cleanly if unsupported rather than flake.

Contributor guide

Open the contributing guide

Research direction

Start with src/voxforge/modules/livekit_gateway/application/session_runner.py and the existing tests/ coverage for TTS interruption and barge-in metrics. Review the public demo Start talking path and the Playwright setup, then run the relevant tests before adding fake microphone input. Done means CI reliably records the interrupt, documents fake-audio permissions, and skips cleanly when unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, python
Domain
audio-video-rtc, ci-cd, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.