]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
IWYU-fix nageru/*.h.
[nageru] / nageru / flags.h
index 54e971a6b0ae2f78dc399d125e2d834e1d029b7c..7704410ec5d7f5feaadae43cd757a24b2a2f93a6 100644 (file)
@@ -8,6 +8,7 @@
 #include <vector>
 
 #include "defs.h"
+#include "shared/shared_defs.h"
 #include "ycbcr_interpretation.h"
 
 struct Flags {
@@ -83,6 +84,11 @@ struct Flags {
        bool use_zerocopy = false;  // Not user-settable.
        bool fullscreen = false;
        std::map<unsigned, unsigned> card_to_mjpeg_stream_export;  // If a card is not in the map, it is not exported.
+       std::string srt_destination_host;
+       std::string srt_destination_port;
+       std::string srt_streamid;
+       std::string srt_passphrase;
+       int srt_output_latency_ms = DEFAULT_SRT_OUTPUT_LATENCY_MS;
 };
 extern Flags global_flags;