Table of Contents

Class VideoPreviewControl

Namespace
VAST.Controls
Assembly
VAST.UI.dll

Provides a MAUI control for displaying video preview from capture devices or mixing sources.

public class VideoPreviewControl : View
Inheritance
VideoPreviewControl

Constructors

VideoPreviewControl()

Creates a new instance of VideoPreviewControl.

public VideoPreviewControl()

Fields

PreviewTypeProperty

Identifies the PreviewType bindable property.

public static readonly BindableProperty PreviewTypeProperty

Field Value

BindableProperty

RendererTypeProperty

Identifies the RendererType bindable property.

public static readonly BindableProperty RendererTypeProperty

Field Value

BindableProperty

RenderingStrategyProperty

Identifies the RenderingStrategy bindable property.

public static readonly BindableProperty RenderingStrategyProperty

Field Value

BindableProperty

Properties

IsReady

Gets whether the video renderer is ready to display video.

public bool IsReady { get; }

Property Value

bool

PreviewType

Gets or sets the type of video preview (capture or mixing).

public VideoPreviewType PreviewType { get; set; }

Property Value

VideoPreviewType

Renderer

Gets the video renderer associated with this control.

public IVideoRenderer Renderer { get; }

Property Value

IVideoRenderer

RendererType

Gets or sets the video renderer type.

public VideoRendererType RendererType { get; set; }

Property Value

VideoRendererType

RenderingStrategy

Gets or sets the rendering strategy (low latency or smooth).

public RenderingStrategy RenderingStrategy { get; set; }

Property Value

RenderingStrategy