Phase 2
This commit is contained in:
parent
bbc1f724e1
commit
0c16e913da
11 changed files with 277 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue