Class PushVideoSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Push video source settings. Implements the VisioForge.Core.Types.X.Sources.IPushSourceSettings.
public class PushVideoSourceSettings : IPushSourceSettingsInheritance
Implements
Inherited Members
Constructors
PushVideoSourceSettings(int, int, VideoFrameRate, VideoFormatX)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.PushVideoSourceSettings class.
public PushVideoSourceSettings(int width, int height, VideoFrameRate frameRate, VideoFormatX format = VideoFormatX.RGB)Parameters
widthint-
The width.
heightint-
The height.
frameRateVideoFrameRate-
The frame rate.
formatVideoFormatX-
The format.
Properties
BlockPushData
Gets or sets a value indicating whether to block pushing data until it's read.
public bool BlockPushData { get; set; }Property Value
DoTimestamp
Gets or sets a value indicating whether to add timestamp.
public bool DoTimestamp { get; set; }Property Value
Format
Gets or sets the format.
public VideoFormatX Format { get; set; }Property Value
FrameRate
Gets or sets the frame rate.
public VideoFrameRate FrameRate { get; set; }Property Value
Height
Gets or sets the height.
public int Height { get; set; }Property Value
IsLive
Gets or sets a value indicating whether this instance is live.
public bool IsLive { get; set; }Property Value
PushFormat
Gets or sets the format.
public PushSourceFormat PushFormat { get; set; }Property Value
StreamType
Gets or sets the type of the stream.
public PushSourceStreamType StreamType { get; set; }Property Value
Width
Gets or sets the width.
public int Width { get; set; }Property Value
Methods
GetSourceType()
Gets the type of the source.
public PushSourceType GetSourceType()Returns
- PushSourceType
-
PushSourceType.