Table of Contents

Class AppBridgeVideoSinkSettings

Namespace
VisioForge.Core.Types.X.Bridge
Assembly
VisioForge.Core.dll

Settings for AppBridge video sink block. This sink uses GStreamer's appsink element to capture video buffers and pass them directly to a linked AppBridge video source in another pipeline.

public class AppBridgeVideoSinkSettings

Inheritance

Inherited Members

Constructors

AppBridgeVideoSinkSettings(string, VideoFrameInfoX)

Initializes a new instance of the VisioForge.Core.Types.X.Bridge.AppBridgeVideoSinkSettings class.

public AppBridgeVideoSinkSettings(string channel, VideoFrameInfoX info = null)

Parameters

channel string

The channel name for matching with a source.

info VideoFrameInfoX

Optional video format information.

Properties

Channel

Gets the channel name used to match this sink with a corresponding source. Sinks and sources with the same channel name are automatically linked. For security, use VisioForge.Core.Types.X.Bridge.AppBridgeVideoSinkSettings.GenerateUniqueChannel(System.String) to create unpredictable channel names.

public string Channel { get; }

Property Value

string

Drop

Gets or sets whether to drop old buffers when the queue is full. Default is true to prevent latency buildup when source is not connected.

public bool Drop { get; set; }

Property Value

bool

Info

Gets or sets the video format information. If specified, a capsfilter will be added to convert video to this format.

public VideoFrameInfoX Info { get; set; }

Property Value

VideoFrameInfoX

MaxBuffers

Gets or sets the maximum number of buffers to queue in the appsink. When this limit is reached, older buffers may be dropped if Drop is true. Default is 1 for minimal latency. Set to 0 for unlimited.

public uint MaxBuffers { get; set; }

Property Value

uint

Sync

Gets or sets whether the appsink should synchronize to the pipeline clock. For live sources like Decklink output, this should be false to let the downstream pipeline handle timing. Default is false.

public bool Sync { get; set; }

Property Value

bool

Methods

GenerateUniqueChannel(string)

Generates a unique channel name using a GUID. Use this method to create secure channel names that cannot be guessed or intercepted.

public static string GenerateUniqueChannel(string prefix = "video")

Parameters

prefix string

Optional prefix for the channel name.

Returns

string

A unique channel name.