nx_video_source_sdk  1.0
Video Source SDK
nx_video_source_sdk Documentation
This project demonstrates usage of camera integration plugin API to add AXIS camera support to mediaserver. Overrides built-in AXIS camera driver.
Build how-to
Use provided CMakeLists.txt project file to generate solution for your favorite build tool or IDE. It is Qt 5 project. Compiles to dynamic library. Tested on MS Windows 10 and Ubuntu 16.04.LTS
To build You MUST have Qt 5.0+ installed.
Warning
To build plugin using cmake on Ubuntu you need to install qtbase5-dev:
$sudo apt-get install qtbase5-dev
Qt is used here to simplify this sample only! It is not required to use Qt in real production plugin. Provided API uses c++ only (even STL is not required)

To build:

CD %SDK_DIR%/sample/axis_camera_plugin
qmake
nmake release (on ms windows)
make release (on linux)

On successful build You will find libaxis_camera_plugin.so (linux) or axis_camera_plugin.dll (mswin) in SDK_DIR%/sample/axis_camera_plugin/release directory

Usage
You MUST have mediaserver installed to use this plugin.
To use plugin simply put built library to mediaserver directory and restart server
Implements following camera integration interfaces:
Object life-time management: