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