The NdiReceiver component receives an NDI video stream and outputs it to a texture or renderer.
Configuration Options
- NDI Name: The name of the NDI source to receive. You can type the name manually or use the selector to pick from available sources.
- Target Texture: A Render Texture asset where the received frames will be copied.
- Target Renderer: A Renderer object whose texture property will be overridden by the incoming stream.
Scripting
You can extract metadata from the incoming stream using the .metadata C# property.
// Example: Extracting metadata via script
var receiver = GetComponent<NdiReceiver>();
string data = receiver.metadata;