mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
Disable WebRTC on Windows. It seems to conflict with parts of the Windows SDK.
This commit is contained in:
parent
f8a0520a79
commit
5a93ba1d06
1 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue