init

Function init 

Source
pub fn init() -> Result<&'static VideoStreamLibrary, Error>
Expand description

Initialize the VideoStream library by loading libvideostream.so

This must be called before using any other VideoStream functions. Returns an error if the library cannot be loaded.

The environment variable VIDEOSTREAM_LIBRARY can be used to specify a custom path to the library. If not set, searches standard system paths.