2022-08-22 14:04:13 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2022-09-20 13:45:27 +00:00
|
|
|
constexpr const char *VIRTUAL_CAM_ID = "virtualcam_output";
|
|
|
|
|
2022-08-22 14:04:13 +00:00
|
|
|
enum VCamOutputType {
|
2022-11-15 09:00:41 +00:00
|
|
|
Invalid,
|
2022-08-22 14:04:13 +00:00
|
|
|
SceneOutput,
|
|
|
|
SourceOutput,
|
2022-11-15 09:00:41 +00:00
|
|
|
ProgramView,
|
|
|
|
PreviewOutput,
|
2022-08-22 14:04:13 +00:00
|
|
|
};
|
|
|
|
|
2022-11-15 09:00:41 +00:00
|
|
|
// Kept for config upgrade
|
2022-08-22 14:04:13 +00:00
|
|
|
enum VCamInternalType {
|
|
|
|
Default,
|
|
|
|
Preview,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct VCamConfig {
|
2022-11-15 09:00:41 +00:00
|
|
|
VCamOutputType type = VCamOutputType::ProgramView;
|
2022-08-22 14:04:13 +00:00
|
|
|
std::string scene;
|
|
|
|
std::string source;
|
|
|
|
};
|