5 #include <nx/kit/ini_config.h> 6 #include <nx/sdk/analytics/helpers/pixel_format.h> 9 namespace vms_server_plugins {
15 const std::string needUncompressedVideoFramesDescription =
16 "Respective capability in the manifest: one of " 17 + nx::sdk::analytics::allPixelFormatsToStdString(
", ") +
".\n" 18 "Empty means no such capability.";
22 NX_INI_FLAG(0, enableOutput,
"");
23 NX_INI_STRING(
"", needUncompressedVideoFrames, needUncompressedVideoFramesDescription.c_str());
24 NX_INI_FLAG(0, deviceDependent,
"Respective capability in the manifest.");
25 NX_INI_INT(-1, crashDeviceAgentOnFrameN,
26 "If >= 0, intentionally crash DeviceAgent on processing a frame with this index.");
28 NX_INI_FLAG(0, overrideSettingsModelInDeviceAgent,
29 "If set, Device Agents will declare its own settings model in their manifests.");
31 NX_INI_FLAG(1, needMetadata,
32 "If set, Engine will declare the corresponding stream type filter in the manifest.");
34 NX_INI_FLAG(0, visualizeMotion,
35 "If set, the Engine will visualize motion metadata via object bounding boxes (each\n" 36 "active motion grid cell is dispalyed as a separate object), regular object generation\n" 37 "is disabled in this case, so the correspondent DeviceAgent settings won't work. Use\n" 38 "carefully since this option can affect performance very much.");
40 NX_INI_STRING(
"primary", preferredStream,
41 "Preferred stream in the Engine manifest. Possible values: \"primary\", \"secondary\".");
43 NX_INI_STRING(
"http://internal.server/addPerson?trackId=", addPersonActionUrlPrefix,
44 "Prefix for the URL returned by addPerson action; track id will be appended to this " 47 NX_INI_FLAG(0, keepObjectBoundingBoxRotation,
48 "If set, Engine will declare the corresponding capability in the manifest.");
50 NX_INI_FLAG(0, usePluginAsSettingsOrigin,
51 "If set, Engine will declare the corresponding capability in the manifest.");
Definition: ini_config.h:76
Definition: stub_analytics_plugin_ini.h:13
static TestIni & ini()
Definition: ini_config_ut.cpp:43
Definition: apple_utils.h:6
IniConfig(const char *iniFile)
Definition: ini_config.cpp:606
void reload()
Definition: ini_config.cpp:661