Introduction
Introduction to MIP SDK 2022 R2
MIPSDK General
- As previously announced, the MIP SDK Installers are no longer released, and going forward new versions of the various components of the MIP SDK will only be made available at developer.milestonesys.com, NuGet.org, GitHub and download.milestonesys.com. The 2022 R1 installers will, however, remain available on our website and remain supported throughout the usual 3-year lifetime.
- MIP rule actions can now also be used as Stop actions when configuring rules in either Management Client or Configuration API. Also, they can now be used in time interval based rules.
VideoOS.Platform.Data.AnalyticsObject
now includes a Data field. Use the Data field to store additional details of the AnalyticsObject. The Data field can contain any string, for example a JSON object with multiple parameters. The size limit is set to the maximum of the SQL Server.
API Gateway
- Breaking change: We have unfortunately discovered that in certain parts of the REST API, booleans will be treated as strings, meaning that the values when provided as input would have to be enclosed in quotation marks and also would be returned in this form. As this is not in compliance with the standard, and also not following the
openapi.yaml
file we provide, we have decided to change it to use true/false without the quotation marks.
Configuration API
- Support for reading all available event types has been added and can be found under
/EventTypeGroupFolder
Smart Client
- New message
SmartClient.AddToExportCommand
has been added, allowing to add sequences to the Exports workspace with optional confirmation toasts.
Samples
The following samples have been added:
- Raw video source retriever sample has been added, demonstrating how to get recorded raw video frames using
RawVideoSource
.
- OAuth login flow sample has been added, showing how to sign in to XProtect when users are defined in an external provider.
The following samples have been changed:
- Several Smart Client samples have been rewritten to use WPF instead of WinForms as we recommend using WPF for both performance and rendering reasons. The remaining Smart Client samples will also be rewritten in the coming months.
- The Message Tester plug-in sample has been updated to include the new message
SmartClient.AddToExportCommand
, demonstrating how to add sequences to the Exports workspace.
- Fixed an issue where the
TriggerAnalyticsEventXML
sample (version 2022 R1) would send analytics event without time zone information causing the server to use UTC where the sample uses the local timezone.
Fixed issues
- F1 support did not work in Visual Studio 2022. This has been fixed in the MIP SDK Tools.
- Running multiple edge retrieval transfers in parallel could cause exceptions.
- ImageViewerControl and ImageViewerWpfControl in standalone environment did not grey out the image when the current time was between recordings.
- It was not possible through the Configuration API to specify a generic event as a source for an alarm definition.
- If a rule existed with an action to set a Smart Wall to show a camera with the current layout it would cause the Configuration API to not return any items when querying for children under /RuleFolder.