Skip to content

[desktop] 🤖 fix: allow approved remote microphone access - #4108

Open
coadler wants to merge 2 commits into
mainfrom
remote-microphone-kegp
Open

[desktop] 🤖 fix: allow approved remote microphone access#4108
coadler wants to merge 2 commits into
mainfrom
remote-microphone-kegp

Conversation

@coadler

@coadler coadler commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Allow user-approved microphone access from active remote Electron app windows.

  • Show a native Allow/Deny dialog for each audio-only request. Default to Deny.
  • Check OS microphone access after approval. Add the required macOS packaging metadata.
  • Cancel pending requests on navigation, window closure, renderer termination, and disconnect.
  • Keep camera, mixed media, subframe, authentication popup, attachment, and unrelated-origin requests denied.
  • Preserve Chromium secure-context checks, HTTP warnings, session isolation, sandboxing, clipboard behavior, and local backend access.

Background

This follows #4101, which now exists on main. Voice input continues to use browser getUserMedia({ audio: true }).
Remote pages receive no privileged local APIs.

Risks

Native microphone access depends on OS privacy settings. Permission denial does not persist in Xum, so users can retry.


Generated with xum • Model: openai:gpt-6-astra • Thinking: high • Cost: $9.10

Require native consent for audio-only requests from active remote app windows.
Cancel stale permission requests and preserve remote session isolation.

---

_Generated with `xum` • Model: `openai:gpt-6-astra` • Thinking: `high` • Cost: `$9.10`_

<!-- mux-attribution: model=openai:gpt-6-astra thinking=high costs=9.10 -->
@coadler

coadler commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

This comment has been minimized.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: e9631c6871

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Require focus before a request, then recheck connection and document identity after approval.

---

_Generated with `xum` • Model: `openai:gpt-6-astra` • Thinking: `high` • Cost: `$9.10`_

<!-- mux-attribution: model=openai:gpt-6-astra thinking=high costs=9.10 -->
@coadler

coadler commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 29ff6c4804

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

This comment has been minimized.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant