Skip to content

fix: defer to CEF default media permission handling (fix #15905) - #15906

Open
Waquo wants to merge 1 commit into
tauri-apps:feat/ceffrom
Waquo:fix-cef-media-permissions
Open

fix: defer to CEF default media permission handling (fix #15905)#15906
Waquo wants to merge 1 commit into
tauri-apps:feat/ceffrom
Waquo:fix-cef-media-permissions

Conversation

@Waquo

@Waquo Waquo commented Aug 21, 2026

Copy link
Copy Markdown

Trying to bypass media permissions resulted in enumerateDevices() always returning a redacted list.
Deferring to CEF default behavior results in a permission prompt and works correctly.
This patch drops --enable-media-stream which prevents permission handlers from being called. Permission handlers then just return 0 to delegate to CEF defaults.

Fixes #15905

Trying to bypass media permissions resulted in enumerateDevices() always
returning a redacted list.
Deferring to CEF default behavior results in a permission prompt and
works correctly.
This patch drops `--enable-media-stream` which prevents permission
handlers from being called. Permission handlers then just return 0 to
delegate to CEF defaults.
@Waquo
Waquo requested a review from a team as a code owner August 21, 2026 21:27
@Waquo

Waquo commented Aug 21, 2026

Copy link
Copy Markdown
Author

FYI: I have not been able to successfully complete a run of cargo test for any branch of Tauri on my machine. Might not have enough RAM.

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

Labels

scope: cef issues specific to the CEF based runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants