bin/appsettings.json

{
  "mip": {
 
    // VideoOS.Platform.EnvironmentManager.Instance
    "environmentManager": {
 
      // VideoOS.Platform.EnvironmentManager.Instance.EnvironmentOptions
      "environmentOptions": [
        { // Determines the log file prefix at C:\ProgramData\<CompanyNameFolder>\MIPSDK\<LogPrefix>yyyyMMdd.log
          "name": "LogPrefix",
          "value": "MilestonePSTools"
        },
        { // Used by the standalone MIP Environment to define if live streams should be shared among multiple users, e.g. JPEGLiveSource, BitmapLiveSource - when possible.
          // Default is "Yes".
          "name": "ToolkitFork",
          "value": "Yes"
        },
        { // Used by standalone MIP Environment to identify is server identification should use Ping. For application connecting over the internet, this should be changed to a "No".
          // Default is "Yes" from MIPSDK 4.0.
          "name": "UsePing",
          "value": "No"
        },
        { // Determines if sending and posting messages should be carried out on the top level user control.
          // Default is "Yes".
          "name": "UseControlForMessaging",
          "value": "Yes"
        },
        { // Determines path to MIPSDK folder under C:\ProgramData\ for logging purposes.
          "name": "CompanyNameFolder",
          "value": "Milestone"
        },
        { // Defines the number of threads to be used while decoding. The value is formatted as:
          // "4,1" - defining that 4 threads is to be used when just one stream is active, while 1 thread is used if more streams are active.
          "name": "SoftwareDecodingThreads",
          "value": "2,2"
        },
        { // unit: seconds
          "name": "ConnectionCheckTimeout",
          "value": "5"
        },
        { // unit: seconds
          "name": "ConfigurationChangeCheckInterval",
          "value": "300"
        },
        { // Auto, AutoNvidia, Off, OnlyIntel, OnlyNvidia
          "name": "HardwareDecodingMode",
          "value": "Auto"
        }
      ],
      // MIPSDK logging is either errors-only, or debug. When this value is set to false, you will only see errors in the log file.
      "debugLoggingEnabled": true
    },
 
    // VideoOS.Platform.SDK.EnvironmentProperties
    "environmentProperties": {
      "TraceLogin": true,
      "EnableConfigurationRefresh": true,
      "ConfigurationRefreshIntervalInMs": 5000,
      "KeepLoginServerUriScheme": true
    },
 
    // VideoOS.Platform.Proxy.ConfigApi.ConfigurationApiManager
    "ConfigurationApiManager": {
      // Static properties
      "BypassApiGateway": true,
      "EnableDebugLogging": true,
 
      // Instance property
      "UseRestApiWhenAvailable": false
    },
 
    // Cache the root ManagementServer object and re-use it to take advantage of Configuration API object cache
    // Default is true
    "UseCachedManagementServer": true
  }
}