Table of Contents

Enum VideoStreamType

Namespace
VisioForge.Core.Types
Assembly
VisioForge.Core.dll

Defines the type of a video stream, typically used in frame grabber events or when managing multiple video sources. This enumeration helps distinguish between main video, preview, capture, and Picture-in-Picture (PIP) streams.

public enum VideoStreamType

Fields

Unknown = 0

The video stream type is unknown or not specified.

Main = 1

Represents the primary video stream, typically used for both preview and capture.

Preview = 2

Represents a video stream specifically used for preview purposes.

Capture = 3

Represents a video stream specifically used for video capture or recording.

Still = 4

Represents still frames or snapshots captured from a video stream.

PIP1 = 5

Represents the first Picture-In-Picture (PIP) video stream.

PIP2 = 6

Represents the second Picture-In-Picture (PIP) video stream.

PIP3 = 7

Represents the third Picture-In-Picture (PIP) video stream.

PIP4 = 8

Represents the fourth Picture-In-Picture (PIP) video stream.

PIP5 = 9

Represents the fifth Picture-In-Picture (PIP) video stream.

PIP6 = 10

Represents the sixth Picture-In-Picture (PIP) video stream.

PIP7 = 11

Represents the seventh Picture-In-Picture (PIP) video stream.

PIP8 = 12

Represents the eighth Picture-In-Picture (PIP) video stream.

FFMPEGVideo = 13

Represents a video stream processed by FFmpeg.

FFMPEGAudio = 14

Represents an audio stream processed by FFmpeg.

MediaPlayerCache = 15

Represents a cached frame from the Media Player SDK.

StatusOverlay = 16

Represents a stream used for displaying status overlays.

Remarks

When working with video processing or display, identifying the stream type is essential for applying correct logic, such as routing frames to different renderers, applying specific effects, or handling streams with different quality settings. Main stream is typically used for both preview and recording in simple scenarios. Preview and Capture streams allow separate paths for display and recording, enabling different resolutions or quality settings. Still stream is used for snapshot/photo capture, often with higher resolution than video streams. PIP1 through PIP6 support multiple video overlay streams for Picture-in-Picture functionality, useful in video conferencing, security monitoring, or multi-camera recording. The distinction between stream types enables efficient resource management and flexible video processing architectures. Applications can subscribe to specific stream types to receive only the frames they need.