Skip to main content
Version: 20 Mar 2024

ParserCEA608

CEA608 Parser. More...

Detailed Description

public class ParserCEA608; 

Details*

Media player script that allows playback of a streaming video (either from file or web URL) This script will update the main texture parameter of the Renderer attached as a sibling with the video frame from playback. Audio is also handled through this class and will playback audio from the file.


Public Methods

delegate void OnCaptionLinesDelegate

public delegate void OnCaptionLinesDelegate(
CaptionLine [] lines
)

Parameters

TypeNameDescription
CaptionLine []lines

delegate void OnTextDelegate

public delegate void OnTextDelegate(
string text
)

Parameters

TypeNameDescription
stringtext

void ParseAsync

public void ParseAsync(
IntPtr data,
uint dataSize
)

Parameters

TypeNameDescription
IntPtrdata
uintdataSize

ParserCEA608

public ParserCEA608()

Public Attributes

Mime


public const string Mime = "text/cea-608";


Public Events

OnCaptionLines

public OnCaptionLinesDelegate OnCaptionLines()

OnText

public OnTextDelegate OnText()

Public Enums

CaptionColor

EnumeratorValueDescription
White0
Green
Blue
Cyan
Red
Yellow
Magenta
Invalide

CaptionDimension

EnumeratorValueDescription
MaxRows15
MaxCols32
MaxRowsPlus217
MaxColsPlus234

CaptionStyle

EnumeratorValueDescription
Italics0x00000001
Underline0x00000002