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
GetStreamInformation
method has been added toSessionEnabledStreamManager
in 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.
- Restricted media 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.DateTimeType
has been aligned to all use the standard round-trip pattern (e.g. 2009-06-15T13:45:30.0000000Z). - In the 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.
- Added two entry points for reading what permissions you have on XProtect. The securityNamespaces entry point is 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 the effectivePermissions API). The effectivePermissions entry point is 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 object IDs the caller has read access to are returned.
Smart Client
-
ImageViewerAddOn
extended with propertyStreamId
providing access to reading and changing the selected stream. Similarly ViewItem instance items returned byConfiguration.GetItems
will containCurrentStreamId
readonly property in theProperties
dictionary.
Samples
The following samples have been changed:
-
Smart Client ImageViewerAddOn
has been extended with functionality that demonstrates reading and changing the selected stream of the currently selected camera view item. -
Demo Driver
has been extended with support for adaptive streaming. -
Config Updated
has 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 signalling were case-sensitive.
-
Calling
Save
method twice on sameConfigurationItems.View
object would cause anArgumentMIPException
to be thrown.