Go bindings for the NDI SDK by NewTek
In order to use these bindings the NDI SDK must first be installed for your system from NewTek directly.
This should appear on the path as ndi.4 and should be discoverable by standard build tools.
To check this is working, try a couple of the examples in the examples folder.
VideoFrameThas been deprecated, please avoid using itVideoFrameV2Tis its replacement, but the(C) line_stride_in_bytesattribute commonly used in the examples is not available for Go to bind to due to being in a union.- Some examples such as
Send_Latencyupdate the frame attributes in place to reduce overhead and memory allocations. If this is done,frame.Free()must be called before the frame is reused else copied attributes will not be updated.