Unofficial idiomatic Rust bindings for the NDI 6 SDK.
See our blog article on how to use the NDI SDK with Rust.
This library has been developed and tested on Windows 10, but it should work on other platforms easily enough (please contribute!). You need to have the NDI 6 SDK installed for your platform. After installation, make sure your library path (or system PATH on Windows) includes the NDI library binaries location, (e.g., %NDI_SDK_DIR%\Bin\x64
for Windows PATH).
You also need to install Rust bindgen according to the instructions here.
Add this to your Cargo.toml
:
[dependencies]
grafton-ndi = "*"
Ensure that you have set up the environment variables correctly for your NDI SDK installation.
Examples inspired by the official NDI 6 SDK examples can be found in the examples
directory. To run them, you will need to have the NDI SDK installed and in your PATH.
To run an example, use the following command:
cargo run --example NDIlib_Find
Contributions are welcome! Please submit a pull request or open an issue to discuss what you would like to change.
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.