Table of Contents

Class TextOverlaySourceBlock

Namespace
VisioForge.Core.MediaBlocks.Sources
Assembly
VisioForge.Core.dll

Text overlay source block that generates video with text overlay for fallback scenarios. Implements the VisioForge.Core.MediaBlocks.Sources.SourceMediaBlock.

public class TextOverlaySourceBlock : SourceMediaBlock, IMediaBlock, IDisposable

Inheritance

Implements

Inherited Members

Extension Methods

Constructors

TextOverlaySourceBlock(StaticTextFallbackSettings)

Initializes a new instance of the VisioForge.Core.MediaBlocks.Sources.TextOverlaySourceBlock class.

public TextOverlaySourceBlock(StaticTextFallbackSettings settings)

Parameters

settings StaticTextFallbackSettings

The text fallback settings.

Properties

Input

Gets the input pad (always null for source blocks).

public override MediaBlockPad Input { get; }

Property Value

MediaBlockPad

Output

Gets the output pad.

public override MediaBlockPad Output { get; }

Property Value

MediaBlockPad

Outputs

Gets the collection of output pads for this media block.

public override MediaBlockPad[] Outputs { get; }

Property Value

MediaBlockPad[]

Type

Gets the media block type.

public override MediaBlockType Type { get; }

Property Value

MediaBlockType

Methods

Build()

Creates the text overlay source pipeline.

public override bool Build()

Returns

bool

True if creation succeeded; otherwise, false.

Dispose(bool)

Releases resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

GetElement()

Gets the main GStreamer element.

public Element GetElement()

Returns

Element