Introduction
Introduction to MIP SDK 2024 R2
Component integrations
-
Environment.AddServerOAuth(bool, Uri, ITokenCache, bool)method has been removed. UseEnvironment.AddServerOAuth(bool, Uri, IMipTokenCache, bool)instead.
Driver framework
-
Virtual
GetStreamInformationmethod has been added toSessionEnabledStreamManagerin order to support adaptive streaming. Override this method in order to provide information about current resolution provided by the stream.
Configuration API
- Mail notification profiles can now be added, updated, and removed, and mail server settings can be configured.
- Bookmarks can now be added, read, updated, and removed.
- Registered services can now be added, read, and removed.
- Task for removing a recording server has been added.
- Evidence lock profiles can now be added, updated, and removed.
- Underlying view can be read for a video wall monitor.
-
Items of type
ValueTypes.DateTimeTypehas been aligned to all use the standard round-trip pattern (e.g. 2009-06-15T13:45:30.0000000Z).
RESTful APIs
- RESTful Config API:
- Tasks for going to PTZ presets, activating, deactivating and triggering outputs, and getting and setting the absolute position of cameras have been added.
-
Two endpoints for reading what permissions you have on XProtect have been added:
The endpoint
/securityNamespacesis used to see what security namespaces are defined, e.g. what the ID is and what security actions exists and their bit position (as it is used in theeffectivePermissionsAPI).The endpoint
/effectivePermissionsis used to see what permissions the caller has, when combining the settings from the overall security settings and multiple role settings. The result is a dictionary of object IDs and a bitmask of permissions within the security namespace being asked for, e.g. 'cameras'. Only the object IDs the caller has read access to are returned. - The endpoint
/registeredServicesfor managing registered services has been added.
- RESTful APIs for tagging video sequences have been added:
- The endpoint
/bookmarksfor managing bookmarks. - The endpoint
/evidenceLocksfor managing evidence locks.
- The endpoint
- No longer in beta:
- RESTful Events API
- RESTful Alarms API
WebSocket APIs
- No longer in beta:
- WebSocket Messages API
Smart Client
-
ImageViewerAddOnextended with propertyStreamIdproviding access to reading and changing the selected stream. Similarly ViewItem instance items returned byConfiguration.GetItemswill containCurrentStreamIdreadonly property in thePropertiesdictionary.
Samples
The following samples have been changed:
-
Smart Client ImageViewerAddOnhas been extended with functionality that demonstrates reading and changing the selected stream of the currently selected camera view item. -
Demo Driverhas been extended with support for adaptive streaming. -
Config Updatedhas been removed. Instead use the Configuration Access sample. The Configuration Access sample shows the recommended method of keeping the configuration updated automatically in a MIP SDK application, automatically updating the configuration without requiring an restart.
Fixed issues
- Matching of HTTP headers for the WebRTC signaling were case-sensitive.
-
Calling
Savemethod twice on sameConfigurationItems.Viewobject would cause anArgumentMIPExceptionto be thrown.