Table of Contents

Enum CapsType

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

Specifies the type of media capabilities or stream content. This enumeration is used to categorize different types of media data, such as video, audio, or subtitles.

public enum CapsType

Fields

Video = 0

Represents video media capabilities or a video stream.

Audio = 1

Represents audio media capabilities or an audio stream.

Subtitle = 2

Represents subtitle media capabilities or a subtitle stream.

Other = 3

Represents other types of media capabilities or streams not explicitly categorized.

Examples

// Example of checking the type of a media stream.
// CapsType streamCapability = GetStreamCapability();
// switch (streamCapability)
// {
//     case CapsType.Video:
//         Console.WriteLine("This stream carries video data.");
//         break;
//     case CapsType.Audio:
//         Console.WriteLine("This stream carries audio data.");
//         break;
//     case CapsType.Subtitle:
//         Console.WriteLine("This stream carries subtitle data.");
//         break;
//     default:
//         Console.WriteLine("This stream carries other types of data.");
//         break;
// }

Remarks

This enum is commonly used in the MediaBlocks framework to define the type of data that a particular element or pad can handle.