Repository navigation
Description
Summary
When the reporter has bb open on a laptop and accesses the same bb through bb Connect on a phone, starting voice transcription from the phone picks up audio from the laptop rather than the phone. Voice input initiated on the phone should record from the phone's microphone.
Versions and environment
- Running bb server and reporting CLI:
0.44.1-nightly.36184725653.1(npm nightly). Source inspected:mainat9c9bae7f36a237c7e1b96de3d4c2186d13967686. - The server's primary host is Linux. The laptop is a separate connected MacBook Air host (Darwin
25.5.0, arm64); bb is open there while the phone connects through bb Connect. - Phone model, OS, browser versus bb mobile app, and the laptop app build have not yet been supplied.
- No agent provider is involved in microphone capture.
Steps to reproduce
These steps are based on the reporter's firsthand account; an independent run with the two physical devices has not been completed.
- Leave bb open on the laptop and connect to that bb from a phone through bb Connect.
- Open a prompt composer on the phone and start voice transcription there.
- Speak near the phone and compare what is captured with audio near the laptop.
The precise phone client and how the reporter distinguished the two microphones are still to be confirmed.
Expected vs actual
Expected: Voice transcription started on the phone records audio from the phone microphone.
Actual (reported): It picks up audio from the laptop microphone instead.
The reporter's TV was near the laptop, and the transcript sent from the phone matched the TV audio. This supports the reported laptop-microphone source. No verbatim transcript or recording was provided, and the phone's distance from the TV was not recorded, so the microphone source has not been independently isolated.
Evidence
- Reporter observation in bb thread
thr_hnf2px9bxn. - Follow-up in the same thread: "my tv is on and it matches the transcription that was sent" and "my tv is in near my laptop". The ambient audio source was near the laptop during the reported attempt.
- Live setup inspection: bb Connect was paired and connected with one remote client, the MacBook Air host was connected, and the server reported
voiceTranscriptionEnabled: true. The remote-client count does not identify which client made the recording. - At the inspected
maincommit, the prompt composer calls the browser'snavigator.mediaDevicesand records the returned stream. This describes the intended client-side path; it does not establish why the reporter hears the laptop:bb/apps/app/src/hooks/useVoiceInput.ts
Lines 263 to 281 in 9c9bae7
try { const stream = await requestAudioInputStream( navigator.mediaDevices, preferredAudioInputDeviceId, ); streamRef.current = stream; setStream(stream); chunksRef.current = []; startedAtMsRef.current = Date.now(); promptContextRef.current = options.getPromptContext?.(); shouldTranscribeRef.current = true; acceptedRecordingPendingRef.current = false; shouldHoldWakeLockRef.current = true; requestRecordingWakeLock(); const preferredMimeType = resolvePreferredAudioMimeType(); const recorder = preferredMimeType ? new MediaRecorder(stream, { mimeType: preferredMimeType }) : new MediaRecorder(stream); - The selected microphone is a browser-local preference with a default of
{ audio: true }:bb/apps/app/src/lib/audio-input-device-preference.ts
Lines 43 to 77 in 9c9bae7
export function buildAudioInputConstraints( preferredDeviceId: PreferredAudioInputDeviceId, ): MediaStreamConstraints { if (preferredDeviceId === null) { return { audio: true }; } return { audio: { deviceId: { exact: preferredDeviceId }, }, }; } export async function requestAudioInputStream( mediaDevices: Pick<MediaDevices, "getUserMedia">, preferredDeviceId: PreferredAudioInputDeviceId, ): Promise<MediaStream> { try { return await mediaDevices.getUserMedia( buildAudioInputConstraints(preferredDeviceId), ); } catch (error) { if ( preferredDeviceId === null || !(error instanceof DOMException) || ![ "OverconstrainedError", "NotFoundError", "DevicesNotFoundError", ].includes(error.name) ) { throw error; } return mediaDevices.getUserMedia({ audio: true }); - The server receives an audio
Filein the transcription request; the inspected route does not choose a microphone or request audio from the laptop host:bb/apps/server/src/routes/system.ts
Lines 631 to 644 in 9c9bae7
); post(routes.voiceTranscription, async (context) => { const formData = await context.req.formData(); const file = formData.get("file"); if (!(file instanceof File)) { throw new ApiError(400, "invalid_request", "Audio file is required"); } return context.json({ text: await transcribeVoiceInput(deps, { file, prompt: typeof formData.get("prompt") === "string" ? String(formData.get("prompt"))
What you ruled out
- Searched open and closed issues for bb Connect, phone/mobile voice input, transcription, and microphone capture; no matching issue was found.
- The existing voice-transcription navigation issue Voice transcription is lost when its composer unmounts #4236 concerns a lost transcript after leaving the composer, not the input device.
- Behavior on
mainhas not been independently verified with a physical phone and laptop.
Suggested priority and effort
Medium — if confirmed, remote voice input cannot reliably capture the phone user's speech. Typing remains available; no data loss was reported. Effort is unknown until the capture path is reproduced.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 26, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Bug · Priority Medium · Effort Medium. Labels:
remote,mobile,connect; reproduction label:no-repro.Report: https://get-bb.github.io/reports/issues/4382.html · Verdict: NOT REPRODUCED · Root-cause confidence: low.
Root cause: Unconfirmed. The current capture path requests audio from the initiating browser, then uploads the recorded file for transcription. A focused client-context test passed in two clean
origin/maincheckouts; neither run called the laptop media API.PR: None. The trusted base did not reproduce cross-device capture, and physical microphone-source isolation is still needed.