Add recording to Shared Memory
This commit is contained in:
1 parent
bb7d08abff
commit
a30643ddc7
24 files changed
+14583
-20
No files matched your search
@@ -140,6 +140,9 @@ void AppConfig::load_from_env(const char* env_path) {
|
||||
if (!vs_s.empty()) video_segment_sec = std::stoi(vs_s);
|
||||
auto ofps_s = get_env("OUTPUT_FPS");
|
||||
if (!ofps_s.empty()) output_fps = std::stoi(ofps_s);
|
||||
auto rds_s = get_env("RECORD_DELAY_SECONDS");
|
||||
if (!rds_s.empty()) record_delay_seconds = std::stof(rds_s);
|
||||
record_shm_dir = get_env("RECORD_SHM_DIR", record_shm_dir);
|
||||
|
||||
auto lse_s = get_env("LIVE_STREAM_ENABLED");
|
||||
live_stream_enabled = (lse_s == "true");
|
||||
|
||||
Reference in new issue
Block a user