If you’re writing an app that uses the Ocularis SDK, you should instantiate the OCAdapter object this way:
// create OCAdapter from SDK
var type = Type.GetTypeFromProgID("OnSSI.OCAdapter.1", true);
INVRAdapter oc = (INVRAdapter)Activator.CreateInstance(type);
That way, all you’ll need is a reference to the OcularisInterface.dll and you won’t have to carry around a lot of drivers and DLL’s that are already in the SDK folder.
From time to time you may need to update the SDK redistributable to support new versions of the recorders and to get fixes for issues in older releases. The latest and official SDK redistributable is now available on the download page.
We’re porting the docs from the old wiki site to this one, piece by piece. A few more command have been added to the reference, samples will follow.
We’re changing the format of the SDK support page a bit. Instead of the older Wiki format, that was more of a reference, we are going to offer a tutorial based approach. The old Wiki is still alive at http://sdkwiki.onssi.com. We will update this page quite frequently over the next 12 months (2016), so be sure to check back often. You’ll find pages that are not complete, and pages may disappear from time to time, but that just adds to the excitement.
The most common integration is getting video into your own application. A very common approach is to offer a COM object that you can instantiate in your Windows based app. The object then handles mouse movements, decoding of the video, and displaying it on the screen. This method works fine in many cases, but there are areas where it doesn’t. If you want direct access to the video (the RAW coded video for example), you may be out of luck, and what if you want to do something on OSX, or in a web page?
To provide support for a wide range of scenarios, Ocularis offers a few ways for you to interact with us.
Another typical scenario is that you want to notify Ocularis of events that happen in your system, so that Ocularis may react to those events – perhaps by moving a camera to a PTZ preset.