VisioForge (c) 2025

Search Results for

    Class CustomMediaBlockSettings

    Custom media block settings.

    Inheritance
    object
    CustomMediaBlockSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.X.Special
    Assembly: VisioForge.Core.dll
    Syntax
    public class CustomMediaBlockSettings

    Constructors

    CustomMediaBlockSettings(string)

    Initializes a new instance of the CustomMediaBlockSettings class.

    Declaration
    public CustomMediaBlockSettings(string elementName)
    Parameters
    Type Name Description
    string elementName

    Name of the GStreamer or Media Blocks SDK element.

    Fields

    Pads

    The pads.

    Declaration
    public List<CustomMediaBlockPad> Pads
    Field Value
    Type Description
    List<CustomMediaBlockPad>

    Properties

    ElementName

    Gets the name of the element. To make a custom GStreamer Bin, add [ ] to the string, like "[ videotestsrc ! videoconvert ]".

    Declaration
    public string ElementName { get; }
    Property Value
    Type Description
    string

    The name of the element.

    ElementParams

    Gets the element parameters.

    Declaration
    public Dictionary<string, object> ElementParams { get; }
    Property Value
    Type Description
    Dictionary<string, object>

    The element parameters.

    ListProperties

    True to list properties after creation to Debug window.

    Declaration
    public bool ListProperties { get; set; }
    Property Value
    Type Description
    bool

    UsePadAddedEvent

    Gets or sets a value indicating whether to use pad added event for dynamically created GStreamer pads.

    Declaration
    public bool UsePadAddedEvent { get; set; }
    Property Value
    Type Description
    bool

    true if use pad added event; otherwise, false.