Class VideoMixerSourceSettings
Video mixer source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class VideoMixerSourceSettings : IVideoCaptureBaseVideoSourceSettings, IMediaPlayerBaseSourceSettings, IVideoSourceSettings, IMediaBlockSettings
Constructors
VideoMixerSourceSettings()
Initializes a new instance of the VideoMixerSourceSettings class.
Declaration
public VideoMixerSourceSettings()
VideoMixerSourceSettings(int, int, VideoFrameRate)
Initializes a new instance of the VideoMixerSourceSettings class.
Declaration
public VideoMixerSourceSettings(int width, int height, VideoFrameRate frameRate)
Parameters
Type | Name | Description |
---|---|---|
int | width | The width. |
int | height | The height. |
VideoFrameRate | frameRate | The frame rate. |
Properties
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int | The count. |
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. |
Width
Gets or sets the width.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int | The width. |
Methods
Add(IVideoMixerSource, int, int, int, int)
Adds the specified source.
Declaration
public void Add(IVideoMixerSource source, int left, int top, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
IVideoMixerSource | source | The source. |
int | left | The left. |
int | top | The top. |
int | width | The width. |
int | height | The height. |
Add(IVideoMixerSource, Rect)
Adds the specified source.
Declaration
public void Add(IVideoMixerSource source, Rect rect)
Parameters
Type | Name | Description |
---|---|---|
IVideoMixerSource | source | The source. |
Rect | rect | The rectangle. |
Clear()
Clears this instance.
Declaration
public void Clear()
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
Get(int)
Gets the specified source.
Declaration
public Tuple<IVideoMixerSource, Rect> Get(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id | The identifier. |
Returns
Type | Description |
---|---|
Tuple<IVideoMixerSource, Rect> | Tuple<IVideoMixerSource, Rect>. |
ReadInfoAsync()
Reads the information asynchronous.
Declaration
public Task<MediaFileInfo> ReadInfoAsync()
Returns
Type | Description |
---|---|
Task<MediaFileInfo> | Task<MediaFileInfo>. |
Remove(IVideoMixerSource)
Removes the specified source.
Declaration
public void Remove(IVideoMixerSource source)
Parameters
Type | Name | Description |
---|---|---|
IVideoMixerSource | source | The source. |
RemoveAt(int)
Removes the specified source.
Declaration
public void RemoveAt(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id | The identifier. |