LVC video view output
The LVCVideoViewOutput
class is used to add video view to the LVC pipeline. You can use it to display the video on the screen.
Usage
When creating an LVCVideoViewOutput
object, you must specify the VideoView
to be used.
Sample code
var name = "[VideoView] Preview";
var videoRendererOutput = new LVCVideoViewOutput(name, _compositor, VideoView1, true);
await _compositor.Output_AddAsync(videoRendererOutput);
VideoView1 is a VideoView
object that is used to display the video. Each platform / UI framework has its own VideoView
implementation.
You can add several LVCVideoViewOutput
objects to the LVC pipeline to display the video on different displays.