Phase 2
Some checks failed
ci-bundle.yml / Phase 2 (push) Failing after 0s
ci-copr.yml / Phase 2 (push) Failing after 0s
ci-homebrew.yml / Phase 2 (push) Failing after 0s

This commit is contained in:
Joey Yakimowich-Payne 2026-02-11 13:44:02 -07:00
commit 0c16e913da
11 changed files with 277 additions and 0 deletions

View file

@ -5,10 +5,13 @@
#pragma once
// standard includes
#include <string>
#include <utility>
#include <vector>
// lib includes
#include <boost/asio.hpp>
#include <nlohmann/json.hpp>
// local includes
#include "audio.h"
@ -20,8 +23,14 @@ namespace stream {
constexpr auto CONTROL_PORT = 10;
constexpr auto AUDIO_STREAM_PORT = 11;
constexpr uint64_t KB_ACTIVE_WINDOW_MS = 500;
constexpr uint64_t MOUSE_ACTIVE_WINDOW_MS = 500;
constexpr uint64_t GAMEPAD_ACTIVE_WINDOW_MS = 500;
struct session_t;
nlohmann::json get_active_sessions_info();
struct config_t {
audio::config_t audio;
video::config_t monitor;