Skip to content

GrantSparks/grafton-ndi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grafton-ndi

Unofficial idiomatic Rust bindings for the NDI 6 SDK.

Usage

See our blog article on how to use the NDI SDK with Rust.

Requirements

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.

Installation

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

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

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss what you would like to change.

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.

About

Rust bindings for the NDI SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages