Ndilibdotnet2
You must manage pixel data marshaling (e.g., using byte[] pinned with GCHandle ). 5. Receiving Video (Receiver) 5.1 Find Sources var sources = NDIlib.find_get_current_sources(IntPtr findInstance); foreach (var source in sources)
// Copy frame data (videoFrame.p_data, line_stride, etc.) // Don't forget to call NDIlib.recv_free_video_v2(receiver, ref videoFrame) ndilibdotnet2
Console.WriteLine("Failed to initialize NDI"); return; You must manage pixel data marshaling (e
Console.WriteLine($"source.p_ndi_name @ source.ip_address"); Console.WriteLine($"source.p_ndi_name @ source.ip_address")
// Your code here
NDIlib.send_send_video_v2(sender, ref frame);
static void Main()