bin/appsettings.json

{
  "ApplicationInsights": {
    "Enabled": true,
    // When set to true, the MilestonePSToolsYYYYMMDD.log file in C:\ProgramData\Milestone\MIPSDK\ will include a JSON copy of every telemetry item submitted to Azure.
    "IncludeInLogs": false,
    "ConnectionString": "InstrumentationKey=0ec7d4ee-5b3a-4db2-b83d-ccb675330317;IngestionEndpoint=https://westus2-2.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/;ApplicationId=3cb88710-7e4a-401f-aeae-6cd1deda67c0"
  },
  "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": false,
 
      // Instance property
      "UseRestApiWhenAvailable": false
    },
 
    // Number of WCF clients of a given type to generate. A value greater than 1 may improve performance in some cases, unless the operations are serialized by the management server.
    "ProxyPoolSize": 1,
 
    // Cache the root ManagementServer object and re-use it to take advantage of Configuration API object cache
    // Default is true
    "UseCachedManagementServer": true
  }
}