Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Bluetooth support #418

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Conversation

WizardCM
Copy link
Member

@WizardCM WizardCM commented Aug 5, 2023

Description

The integrated browser is not supposed to be a fully featured web browser, but rather provide support for modern web standards that can be integrated neatly into an overlay or the UI via a panel.

WebBluetooth requires additional system permissions (especially on macOS) and can potentially cause OBS to crash if those permissions are denied or missing. That's not ideal either.

Motivation and Context

@gxalpha ran into a crash on their local builds when certain browser panels attempted to request Bluetooth permission because the Info.plist for OBS does not list Bluetooth. CI builds (at the moment) seem to query the OS correctly and a system-level request Bluetooth permission, however there is no reason we can think of why the browser currently should have access to Bluetooth.

How Has This Been Tested?

  • Launch OBS on macOS in a local dev environment

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

The integrated browser is not supposed to be a fully featured web
browser, but rather provide support for modern web standards that can
be integrated neatly into an overlay or the UI via a panel.

WebBluetooth requires additional system permissions (especially on
macOS) and can potentially cause OBS to crash if those permissions are
denied. That's not ideal either.
@WizardCM WizardCM added the Bug Fix Non-breaking change which fixes an issue label Aug 5, 2023
@Lain-B Lain-B merged commit 7854c69 into obsproject:master Aug 6, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants