Class VideoMixerSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Video mixer source settings.
public class VideoMixerSourceSettings : IVideoCaptureBaseVideoSourceSettings, IMediaPlayerBaseSourceSettings, IVideoSourceSettings, IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
VideoMixerSourceSettings(int, int, VideoFrameRate)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.VideoMixerSourceSettings class.
public VideoMixerSourceSettings(int width, int height, VideoFrameRate frameRate)Parameters
widthint-
The width.
heightint-
The height.
frameRateVideoFrameRate-
The frame rate.
VideoMixerSourceSettings()
Initializes a new instance of the VisioForge.Core.Types.X.Sources.VideoMixerSourceSettings class.
public VideoMixerSourceSettings()Properties
Count
Gets the count.
public int Count { get; }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
MixerType
Gets or sets the type of video mixer to be used for processing video streams.
public VideoMixerType MixerType { get; set; }Property Value
Width
Gets or sets the width.
public int Width { get; set; }Property Value
Methods
Add(IVideoMixerSource, Rect, ChromaKeySettingsX)
Adds the specified source.
public void Add(IVideoMixerSource source, Rect rect, ChromaKeySettingsX chromaKeySettings = null)Parameters
sourceIVideoMixerSource-
The source.
rectRect-
The rectangle.
chromaKeySettingsChromaKeySettingsX-
The chroma key settings.
Add(IVideoMixerSource, int, int, int, int, ChromaKeySettingsX)
Adds the specified source.
public void Add(IVideoMixerSource source, int left, int top, int width, int height, ChromaKeySettingsX chromaKeySettings = null)Parameters
sourceIVideoMixerSource-
The source.
leftint-
The left.
topint-
The top.
widthint-
The width.
heightint-
The height.
chromaKeySettingsChromaKeySettingsX-
The chroma key settings.
Clear()
Clears this instance.
public void Clear()CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
Get(int)
Gets the specified source.
public Tuple<IVideoMixerSource, Rect, ChromaKeySettingsX> Get(int id)Parameters
idint-
The identifier.
Returns
- Tuple<IVideoMixerSource, Rect, ChromaKeySettingsX>
-
Tuple<IVideoMixerSource, Rect>.
ReadInfoAsync()
Reads the information asynchronous.
public Task<MediaFileInfo> ReadInfoAsync()Returns
- Task<MediaFileInfo>
-
Task<MediaFileInfo>.
Remove(IVideoMixerSource)
Removes the specified source.
public void Remove(IVideoMixerSource source)Parameters
sourceIVideoMixerSource-
The source.
RemoveAt(int)
Removes the specified source.
public void RemoveAt(int id)Parameters
idint-
The identifier.