Table of Contents

Class CustomMixerSourceSettings

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

Settings for the VisioForge.Core.MediaBlocks.Sources.CustomMixerSourceBlock. Defines fixed output caps for video and audio. Input data pushed to the block must match these caps exactly.

public class CustomMixerSourceSettings

Inheritance

Inherited Members

Constructors

CustomMixerSourceSettings()

Initializes a new instance of the VisioForge.Core.Types.X.Sources.CustomMixerSourceSettings class with default values.

public CustomMixerSourceSettings()

CustomMixerSourceSettings(int, int, VideoFrameRate, VideoFormatX)

Initializes a new instance of the VisioForge.Core.Types.X.Sources.CustomMixerSourceSettings class.

public CustomMixerSourceSettings(int width, int height, VideoFrameRate frameRate, VideoFormatX videoFormat = VideoFormatX.BGRA)

Parameters

width int

Output video width.

height int

Output video height.

frameRate VideoFrameRate

Output video frame rate.

videoFormat VideoFormatX

Output video pixel format.

Properties

AudioChannels

Gets or sets the number of output audio channels.

public int AudioChannels { get; set; }

Property Value

int

AudioFormat

Gets or sets the output audio sample format.

public AudioFormatX AudioFormat { get; set; }

Property Value

AudioFormatX

AudioSampleRate

Gets or sets the output audio sample rate in Hz.

public int AudioSampleRate { get; set; }

Property Value

int

BlockOnPush

Gets or sets a value indicating whether appsrc should block when pushing data.

public bool BlockOnPush { get; set; }

Property Value

bool

DoTimestamp

Gets or sets a value indicating whether appsrc should auto-timestamp buffers.

public bool DoTimestamp { get; set; }

Property Value

bool

EnableAudio

Gets or sets a value indicating whether the block should expose and build an audio output.

public bool EnableAudio { get; set; }

Property Value

bool

EnablePacing

Gets or sets a value indicating whether worker threads should pace pushes to the target rate.

public bool EnablePacing { get; set; }

Property Value

bool

EnableThreadedPush

Gets or sets a value indicating whether to use internal worker threads for pushing data.

public bool EnableThreadedPush { get; set; }

Property Value

bool

FrameRate

Gets or sets the output video frame rate.

public VideoFrameRate FrameRate { get; set; }

Property Value

VideoFrameRate

GstQueueSettings

Gets or sets the GStreamer queue settings for video and audio outputs.

public TeeQueueSettings GstQueueSettings { get; set; }

Property Value

TeeQueueSettings

Height

Gets or sets the output video height in pixels.

public int Height { get; set; }

Property Value

int

IsLive

Gets or sets a value indicating whether appsrc operates in live mode.

public bool IsLive { get; set; }

Property Value

bool

ManagedAudioQueueMaxBuffers

Gets or sets the maximum number of managed audio queue buffers. Overrides VisioForge.Core.Types.X.Sources.CustomMixerSourceSettings.ManagedQueueMaxBuffers when set to a positive value.

public int ManagedAudioQueueMaxBuffers { get; set; }

Property Value

int

ManagedAudioQueueMaxBytes

Gets or sets the maximum managed audio queue size in bytes. Overrides VisioForge.Core.Types.X.Sources.CustomMixerSourceSettings.ManagedQueueMaxBytes when set to a positive value.

public int ManagedAudioQueueMaxBytes { get; set; }

Property Value

int

ManagedQueueMaxBuffers

Gets or sets the maximum number of managed queue buffers per stream.

public int ManagedQueueMaxBuffers { get; set; }

Property Value

int

ManagedQueueMaxBytes

Gets or sets the maximum managed queue size in bytes per stream.

public int ManagedQueueMaxBytes { get; set; }

Property Value

int

ManagedVideoQueueMaxBuffers

Gets or sets the maximum number of managed video queue buffers. Overrides VisioForge.Core.Types.X.Sources.CustomMixerSourceSettings.ManagedQueueMaxBuffers when set to a positive value.

public int ManagedVideoQueueMaxBuffers { get; set; }

Property Value

int

ManagedVideoQueueMaxBytes

Gets or sets the maximum managed video queue size in bytes. Overrides VisioForge.Core.Types.X.Sources.CustomMixerSourceSettings.ManagedQueueMaxBytes when set to a positive value.

public int ManagedVideoQueueMaxBytes { get; set; }

Property Value

int

VideoFormat

Gets or sets the output video pixel format.

public VideoFormatX VideoFormat { get; set; }

Property Value

VideoFormatX

Width

Gets or sets the output video width in pixels.

public int Width { get; set; }

Property Value

int