GithubHelp home page GithubHelp logo

featherbear / flutter_ndi Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 7.0 209 KB

[Android] Flutter FFI bindings and wrapper for NewTek NDI

License: MIT License

Dart 3.28% Java 1.02% Swift 0.15% Objective-C 0.20% CMake 0.24% C++ 0.75% C 94.10% Ruby 0.26%
flutter ndi

flutter_ndi's Introduction

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!

  1. Install Dart/Flutter and LLVM
  2. Download the NDI Advanced SDK (for Android)
  • Note: Only the NDI Advanced SDK is available for Android
  1. Add the library files into their respective android/src/main/jniLibs/<architecture> directory
    • See Expected Structure below
  2. Remove union references in lib/ndi/includes/Processing.NDI.structs.h
  3. 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


License

This software is licensed under the MIT license, as can be viewed here.

flutter_ndi's People

Contributors

featherbear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter_ndi's Issues

Undefined class NativeLibrary, can't understand how this should work

Hello,
I would really like to use this but there are a lot of holes in the documentation on the way to use it :)

  • Is this repo a full project that can run as standalone (after ffigen) or is it just the lib generation ?
  • If it's not the full project, what action is needed after ffigen, which files to copy to my actual project ?
  • It seems that NativeLibrary is not (or not anymore) a defined class in FFI, I couldn't understand how to be able to use it. Is this a version problem or am I missing something ?

Thank you very much

NDI Sender functions ?

Hello,
I'm looking to send NDI, not receive, and it seems that your plugin has a focus on receiving, there is only one function for sending.
Is there any way / example / hints to do that ?

Thank you !

NDI Sending crash

After spending some time fiddling around, I finally got something to half work (the received texture on the PC side is weird as f* but something's passing through !)
I get a crash just after frames are received in the NDI Studio monitor. If nobody is actually receiving frames, it seems ok

Anyway, if you manage to get a sample sender working that would be AWESOME !!

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.