Skip to content

Voice input from phone over bb Connect captures laptop microphone #4382

Open

Description

@brsbl

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: main at 9c9bae7f36a237c7e1b96de3d4c2186d13967686.
  • 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.

  1. Leave bb open on the laptop and connect to that bb from a phone through bb Connect.
  2. Open a prompt composer on the phone and start voice transcription there.
  3. 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 main commit, the prompt composer calls the browser's navigator.mediaDevices and records the returned stream. This describes the intended client-side path; it does not establish why the reporter hears the laptop:
    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 }:
    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 File in the transcription request; the inspected route does not choose a microphone or request audio from the laptop host:
    );
    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 main has 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

  1. added
    remote
    mobile
    on Sep 26, 2026
  2. added theissue type on Sep 26, 2026
  3. added
    connect
    no-repro
    on Sep 26, 2026
  4. bb-slop-cop commented on Sep 26, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Classification: 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/main checkouts; 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    connectmobileno-reproremote

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions