Class LVCVideoAudioInput
Live Video Compositor video/audio input. Implements the LVCInput.
Implements
Inherited Members
Namespace: VisioForge.Core.LiveVideoCompositorV2
Assembly: VisioForge.Core.dll
Syntax
public class LVCVideoAudioInput : LVCInput, IDisposable
Constructors
LVCVideoAudioInput(string, LiveVideoCompositor, MediaBlock, VideoFrameInfoX, AudioInfoX, Rect, bool, MediaBlock, MediaBlock, bool, bool?)
Initializes a new instance of the LVCVideoAudioInput class.
Declaration
public LVCVideoAudioInput(string name, LiveVideoCompositor compositor, MediaBlock mainBlock, VideoFrameInfoX videoInfo, AudioInfoX audioInfo, Rect rect, bool autostart, MediaBlock processingVideoBlock = null, MediaBlock processingAudioBlock = null, bool live = true, bool? customSyncFlag = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| LiveVideoCompositor | compositor | The compositor. |
| MediaBlock | mainBlock | The main block. |
| VideoFrameInfoX | videoInfo | The video frame info (width, height and frame rate are required). |
| AudioInfoX | audioInfo | The audio info (format, channels and sample rate are required). |
| Rect | rect | The rectangle. |
| bool | autostart | if set to |
| MediaBlock | processingVideoBlock | The processing video block. |
| MediaBlock | processingAudioBlock | The processing audio block. |
| bool | live | if set to |
| bool? | customSyncFlag | The custom sync flag. |
LVCVideoAudioInput(string, MediaBlock, VideoFrameInfoX, AudioInfoX, Rect, bool, MediaBlock, MediaBlock, bool, bool?)
Initializes a new instance of the LVCVideoAudioInput class.
Declaration
public LVCVideoAudioInput(string name, MediaBlock mainBlock, VideoFrameInfoX videoInfo, AudioInfoX audioInfo, Rect rect, bool autostart, MediaBlock processingVideoBlock = null, MediaBlock processingAudioBlock = null, bool live = true, bool? customSyncFlag = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| MediaBlock | mainBlock | The main block. |
| VideoFrameInfoX | videoInfo | The video frame info (width, height and frame rate are required). |
| AudioInfoX | audioInfo | The audio info (format, channels and sample rate are required). |
| Rect | rect | The rectangle. |
| bool | autostart | if set to |
| MediaBlock | processingVideoBlock | The processing video block. |
| MediaBlock | processingAudioBlock | The processing audio block. |
| bool | live | if set to |
| bool? | customSyncFlag | The custom sync flag. |
Properties
AudioInfo
Gets the audio information.
Declaration
public AudioInfoX AudioInfo { get; }
Property Value
| Type | Description |
|---|---|
| AudioInfoX |
Rectangle
Gets or sets the rectangle. This property is ignored if the playback is started. Use the Input_VideoStream_Update method to update the rectangle during the playback.
Declaration
public Rect Rectangle { get; set; }
Property Value
| Type | Description |
|---|---|
| Rect | The rectangle. |
VideoInfo
Gets the video information.
Declaration
public VideoFrameInfoX VideoInfo { get; }
Property Value
| Type | Description |
|---|---|
| VideoFrameInfoX |
ZOrder
Gets or sets the z-order.
Declaration
public uint ZOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The z-order. |
Methods
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
|