claude-code - 💡(How to fix) Fix In-chat microphone shows "recording" but captures no audio; no getUserMedia activity in renderer log [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#57883Fetched 2026-05-11 03:22:53
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

The microphone button in the Claude Code VSCode chat input enters a "recording" state (blue mic icon, "Stop recording" tooltip) but no audio is captured. No transcription appears. The renderer log shows no microphone-related activity at all when the button is clicked, suggesting the request never reaches the Electron browser layer.

Error Message

Grepping the renderer log for microphone|getUserMedia|NotAllowedError|NotFoundError|MediaStream|audio after clicking the mic button returns zero matches — no error, no permission denial, no getUserMedia attempt logged at all.

Root Cause

The microphone button in the Claude Code VSCode chat input enters a "recording" state (blue mic icon, "Stop recording" tooltip) but no audio is captured. No transcription appears. The renderer log shows no microphone-related activity at all when the button is clicked, suggesting the request never reaches the Electron browser layer.

Fix Action

Workaround

macOS Fn-Fn dictation inside the chat input still works as a substitute for the in-chat mic feature.

Code Example

$ grep -i -E "microphone|getUserMedia|NotAllowed|MediaStream|audio" \
    ~/Library/Application\ Support/Code/logs/<latest>/window1/renderer.log
(no output)
RAW_BUFFERClick to expand / collapse

Summary

The microphone button in the Claude Code VSCode chat input enters a "recording" state (blue mic icon, "Stop recording" tooltip) but no audio is captured. No transcription appears. The renderer log shows no microphone-related activity at all when the button is clicked, suggesting the request never reaches the Electron browser layer.

Environment

  • Claude Code VSCode extension: 2.1.138 (anthropic.claude-code-2.1.138-darwin-arm64)
  • VSCode: standard install at /Applications/Visual Studio Code.app
  • macOS: Darwin 25.3.0 (arm64)
  • Worked normally ~2 hours before the symptom began. No system updates, no extension updates, no audio device changes.

Reproduction

  1. Open Claude Code chat in VSCode
  2. Click the microphone icon in the message input
  3. Mic icon turns blue, "Stop recording" tooltip appears
  4. Speak
  5. Click Stop — no transcription appears, no text inserted

What I verified is NOT the cause

  • macOS mic permission for VSCode: granted (verified in System Settings → Privacy & Security → Microphone → Visual Studio Code = ON)
  • VSCode entitlements: codesign -d --entitlements :- confirms com.apple.security.device.audio-input is present
  • macOS audio stack: healthy. coreaudiod and audiomxd running. Mic captures audio fine in TextEdit dictation, Voice Memos, and other apps
  • Extension Host: healthy after VSCode restart. Claude Code extension shows 97ms activation time, all 9 installed extensions loading correctly
  • Fresh permission grant: ran tccutil reset Microphone com.microsoft.VSCode, restarted VSCode, the OS prompt re-appeared, clicked Allow — mic still doesn't work in Claude Code chat
  • VSCode/Mac restart: full Cmd+Q + reopen + macOS restart — symptom persists

Diagnostic logs

Grepping the renderer log for microphone|getUserMedia|NotAllowedError|NotFoundError|MediaStream|audio after clicking the mic button returns zero matches — no error, no permission denial, no getUserMedia attempt logged at all.

$ grep -i -E "microphone|getUserMedia|NotAllowed|MediaStream|audio" \
    ~/Library/Application\ Support/Code/logs/<latest>/window1/renderer.log
(no output)

The Claude Code extension log shows the chat session running normally (session resumed, permission rules applied) but no audio-related entries.

Hypothesis

The in-chat mic button's click handler may not be reaching navigator.mediaDevices.getUserMedia at all, OR the webview hosting the chat input is missing the mic permission delegation that the parent VSCode renderer has.

Workaround

macOS Fn-Fn dictation inside the chat input still works as a substitute for the in-chat mic feature.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix In-chat microphone shows "recording" but captures no audio; no getUserMedia activity in renderer log [1 comments, 2 participants]