Skip to content

Add mock microphone audio injection snippet for recording app testing - #88

Open
damienatmabl wants to merge 1 commit into
mainfrom
mcp/add-mock-microphone-audio-injection-snip-014acf0d
Open

Add mock microphone audio injection snippet for recording app testing#88
damienatmabl wants to merge 1 commit into
mainfrom
mcp/add-mock-microphone-audio-injection-snip-014acf0d

Conversation

@damienatmabl

Copy link
Copy Markdown

Injects a synthetic audio stream into navigator.mediaDevices.getUserMedia so that recording applications receive a valid audio signal during automated tests — without needing a real microphone or actual speech. Generates a short sine wave tone as a WAV blob, wraps it in a MediaStream, and overrides getUserMedia before the app calls it. Useful for testing audio setup flows (e.g. speaking tests) where the app records and analyzes mic input.


Opened via Superfab by emma.barbera@mabl.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant