2 releases

0.1.2 Mar 17, 2024
0.1.1 Mar 17, 2024

#6 in #ndi


Used in rsllm

MIT/Apache

645KB
1.5K SLoC

Rust NDI SDK

NDI SDK wrapper for use in Rust. This aims to be an easy to use and safe wrapper around the official C SDK.

Note: This is very incomplete, but is working. The examples currently follow the official examples as closely as possible

Installation

To use the library, you need the so files from the official SDK. The library will search a few locations for the so files. It will try the local directory, the environment variable NDI_RUNTIME_DIR_V3 (as recommended by the sdk), then the system default search paths.

For the examples, placing the so files into a lib folder in the repository will cause them to be found and used.

Usage

See the examples for more information.

The library can be linked as a dependency, or dynamically. The same api is exposed in both cases for simplicity.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies