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 CustomMixerSourceSettingsInheritance
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
widthint-
Output video width.
heightint-
Output video height.
frameRateVideoFrameRate-
Output video frame rate.
videoFormatVideoFormatX-
Output video pixel format.
Properties
AudioChannels
Gets or sets the number of output audio channels.
public int AudioChannels { get; set; }Property Value
AudioFormat
Gets or sets the output audio sample format.
public AudioFormatX AudioFormat { get; set; }Property Value
AudioSampleRate
Gets or sets the output audio sample rate in Hz.
public int AudioSampleRate { get; set; }Property Value
BlockOnPush
Gets or sets a value indicating whether appsrc should block when pushing data.
public bool BlockOnPush { get; set; }Property Value
DoTimestamp
Gets or sets a value indicating whether appsrc should auto-timestamp buffers.
public bool DoTimestamp { get; set; }Property Value
EnableAudio
Gets or sets a value indicating whether the block should expose and build an audio output.
public bool EnableAudio { get; set; }Property Value
EnablePacing
Gets or sets a value indicating whether worker threads should pace pushes to the target rate.
public bool EnablePacing { get; set; }Property Value
EnableThreadedPush
Gets or sets a value indicating whether to use internal worker threads for pushing data.
public bool EnableThreadedPush { get; set; }Property Value
FrameRate
Gets or sets the output video frame rate.
public VideoFrameRate FrameRate { get; set; }Property Value
GstQueueSettings
Gets or sets the GStreamer queue settings for video and audio outputs.
public TeeQueueSettings GstQueueSettings { get; set; }Property Value
Height
Gets or sets the output video height in pixels.
public int Height { get; set; }Property Value
IsLive
Gets or sets a value indicating whether appsrc operates in live mode.
public bool IsLive { get; set; }Property Value
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
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
ManagedQueueMaxBuffers
Gets or sets the maximum number of managed queue buffers per stream.
public int ManagedQueueMaxBuffers { get; set; }Property Value
ManagedQueueMaxBytes
Gets or sets the maximum managed queue size in bytes per stream.
public int ManagedQueueMaxBytes { get; set; }Property Value
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
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
VideoFormat
Gets or sets the output video pixel format.
public VideoFormatX VideoFormat { get; set; }Property Value
Width
Gets or sets the output video width in pixels.
public int Width { get; set; }