43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "../control/http/HttpControlServer.h"
|
|
#include "../logging/Logger.h"
|
|
#include "../telemetry/TelemetryHealthMonitor.h"
|
|
#include "../video/DeckLinkOutput.h"
|
|
#include "../video/DeckLinkOutputThread.h"
|
|
|
|
#include <chrono>
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
namespace RenderCadenceCompositor
|
|
{
|
|
struct AppConfig
|
|
{
|
|
DeckLinkOutputConfig deckLink;
|
|
DeckLinkOutputThreadConfig outputThread;
|
|
TelemetryHealthMonitorConfig telemetry;
|
|
LoggerConfig logging;
|
|
HttpControlServerConfig http;
|
|
std::string shaderLibrary = "shaders";
|
|
std::string oscBindAddress = "0.0.0.0";
|
|
unsigned short oscPort = 9000;
|
|
double oscSmoothing = 0.18;
|
|
std::string inputVideoFormat = "1080p";
|
|
std::string inputFrameRate = "59.94";
|
|
std::string outputVideoFormat = "1080p";
|
|
std::string outputFrameRate = "59.94";
|
|
bool autoReload = true;
|
|
std::size_t maxTemporalHistoryFrames = 12;
|
|
double previewFps = 30.0;
|
|
std::size_t warmupCompletedFrames = 8;
|
|
std::chrono::milliseconds warmupTimeout = std::chrono::seconds(3);
|
|
std::chrono::milliseconds startupSettle = std::chrono::seconds(5);
|
|
std::chrono::milliseconds prerollTimeout = std::chrono::seconds(3);
|
|
std::chrono::milliseconds prerollPoll = std::chrono::milliseconds(2);
|
|
std::string runtimeShaderId = "happy-accident";
|
|
};
|
|
|
|
AppConfig DefaultAppConfig();
|
|
}
|