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

Allow disabling X11 desktop capturing independently. #107

Merged
merged 1 commit into from Sep 14, 2022
Merged

Allow disabling X11 desktop capturing independently. #107

merged 1 commit into from Sep 14, 2022

Conversation

rakino
Copy link
Contributor

@rakino rakino commented Sep 9, 2022

Squashed commit of the following:

commit 253b09a07520a3cecb3b88b2b7e8889ab3d9158d
Author: Hilton Chain hako@ultrarare.space
Date: Fri Sep 9 22:13:15 2022 +0800

Adapt the patch with cmake_dependent_option.

commit f6631bb43f353c9eafe1b1aba093e116518aa12a
Author: Esteve Varela Colominas esteve.varela@gmail.com
Date: Sun, 27 Jun 2021 23:57:04 +0200

Add -DTG_OWT_USE_X11

Allows disabling X11 desktop capturing independently of pipewire support, for
the few people that run wayland without any X11 support whatsoever.

This setup is untested, but supported by the GNI build system, see:
* src/modules/desktop_capture/BUILD.gn (option rtc_use_x11_extensions)

Toggling the WEBRTC_USE_X11 define also affects some files under
src/modules/audio_device, but that falls under "X11 support", regardless...

Use cmake_dependent_option to better declare variables that relate on other variables

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
Squashed commit of the following:

commit 253b09a07520a3cecb3b88b2b7e8889ab3d9158d
Author: Hilton Chain <hako@ultrarare.space>
Date:   Fri Sep 9 22:13:15 2022 +0800

    Adapt the patch with cmake_dependent_option.

commit f6631bb43f353c9eafe1b1aba093e116518aa12a
Author: Esteve Varela Colominas <esteve.varela@gmail.com>
Date:   Sun, 27 Jun 2021 23:57:04 +0200

    Add -DTG_OWT_USE_X11

    Allows disabling X11 desktop capturing independently of pipewire support, for
    the few people that run wayland without any X11 support whatsoever.

    This setup is untested, but supported by the GNI build system, see:
    * src/modules/desktop_capture/BUILD.gn (option rtc_use_x11_extensions)

    Toggling the WEBRTC_USE_X11 define also affects some files under
    src/modules/audio_device, but that falls under "X11 support", regardless...

    Use cmake_dependent_option to better declare variables that relate on other variables
@john-preston john-preston merged commit 621f3da into desktop-app:master Sep 14, 2022
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.

None yet

4 participants