Move default port into wivrn_config.h

This commit is contained in:
Patrick Nicolas
2025-10-05 20:26:07 +02:00
parent b81d010841
commit 39b7c6c45a
6 changed files with 8 additions and 6 deletions
+6
View File
@@ -19,6 +19,12 @@
#pragma once
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
} // namespace wivrn
#cmakedefine01 WIVRN_USE_NVENC
#cmakedefine01 WIVRN_USE_VAAPI
#cmakedefine01 WIVRN_USE_VULKAN_ENCODE
-3
View File
@@ -38,9 +38,6 @@
namespace wivrn
{
// Default port for server to listen, both TCP and UDP
static const int default_port = 9757;
static constexpr int protocol_revision = 2;
enum class device_id : uint8_t