Actually follow user's choice for broadcasting encoder support when first connecting with headless mode

This commit is contained in:
Yukino Song
2025-01-02 03:55:23 +08:00
parent ae4dfeaac0
commit d19906b7a5
2 changed files with 9 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
#include "logging.h"
#include "nvhttp.h"
#include "rtsp.h"
#include "video.h"
#include "utility.h"
#include "platform/common.h"
@@ -1231,6 +1232,9 @@ namespace config {
std::cout << "Warning: Unrecognized configurable option ["sv << var << ']' << std::endl;
}
}
::video::active_hevc_mode = video.hevc_mode;
::video::active_av1_mode = video.av1_mode;
}
int