Disable WebRTC on Windows. It seems to conflict with parts of the Windows SDK.

This commit is contained in:
Julian Groß 2025-03-30 14:46:10 +02:00
parent f8a0520a79
commit 5a93ba1d06

View file

@ -4,7 +4,7 @@
//
// Copyright 2019 High Fidelity, Inc.
// Copyright 2021 Vircadia contributors.
// Copyright 2023 Overte e.V.
// Copyright 2023-2025 Overte e.V.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
@ -26,13 +26,14 @@
# define WEBRTC_POSIX 1
# define WEBRTC_LEGACY 1
#elif defined(Q_OS_WIN)
# define WEBRTC_AUDIO 1
# define WEBRTC_DATA_CHANNELS 1
# define WEBRTC_WIN 1
# define NOMINMAX 1
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
#endif
// Our WebRTC binary package seem to be broken on newer Windows SDKs.
// # define WEBRTC_AUDIO 1
// # define WEBRTC_DATA_CHANNELS 1
// # define WEBRTC_WIN 1
// # define NOMINMAX 1
// #ifndef WIN32_LEAN_AND_MEAN
// # define WIN32_LEAN_AND_MEAN 1
// #endif
#elif defined(Q_OS_ANDROID)
// I don't yet have a working libwebrtc for android
// # define WEBRTC_AUDIO 1