Removed Git history due to personal info

This commit is contained in:
loki
2019-12-03 20:23:33 +01:00
commit ae29230f59
30 changed files with 3754 additions and 0 deletions

34
config.h Normal file
View File

@@ -0,0 +1,34 @@
#ifndef SUNSHINE_CONFIG_H
#define SUNSHINE_CONFIG_H
#include <chrono>
#include <string>
namespace config {
struct video_t {
// ffmpeg params
int max_b_frames;
int gop_size;
int crf; // higher == more compression and less quality
};
struct stream_t {
std::chrono::milliseconds ping_timeout;
};
struct nvhttp_t {
std::string pkey; // must be 2048 bits
std::string cert; // must be signed with a key of 2048 bits
std::string unique_id; //UUID
std::string file_devices;
std::string external_ip;
};
extern video_t video;
extern stream_t stream;
extern nvhttp_t nvhttp;
}
#endif