Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/featherbear/flutter_ndi

[Android] Flutter FFI bindings and wrapper for NewTek NDI
https://github.com/featherbear/flutter_ndi

flutter ndi

Last synced: about 2 months ago
JSON representation

[Android] Flutter FFI bindings and wrapper for NewTek NDI

Awesome Lists containing this project

README

        

# flutter-ndi

Foreign Function Interface bindings for NewTek NDI.

> Read more: https://featherbear.cc/blog/post/andi-ndi-tools-for-android/

## Setup

Because of licensing, I'm not allowed to include some of the NDI SDK components inside this repository, so you'll have to source it yourself!

0) Install Dart/Flutter and [LLVM](https://pub.dev/packages/ffigen#installing-llvm)
1) Download the [NDI Advanced SDK](https://www.ndi.tv/sdk/) (for Android)
* Note: Only the NDI Advanced SDK is available for Android
2) Add the library files into their respective `android/src/main/jniLibs/` directory
* See _Expected Structure_ below
3) Remove `union` references in `lib/ndi/includes/Processing.NDI.structs.h`
4) `dart run ffigen`

Expected Structure

```
\---jniLibs
+---arm64-v8a
| libndi.so
| libndi_bonjour_license.txt
| libndi_licenses.txt
|
+---armeabi-v7a
| libndi.so
| libndi_bonjour_license.txt
| libndi_licenses.txt
|
+---x86
| libndi.so
| libndi_bonjour_license.txt
| libndi_licenses.txt
|
\---x86_64
libndi.so
libndi_bonjour_license.txt
libndi_licenses.txt
```

---

## Usage

This is a _library_ and not a standalone application - and is intendeded to be used as a dependency for other projects.
See [aNDI](https://github.com/featherbear/aNDI)

---

## License

This software is licensed under the MIT license, as can be viewed [here](LICENSE.md).