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
Type | Name | Description |
---|---|---|
CaptionLine [] | lines |
delegate void OnTextDelegate
public delegate void OnTextDelegate(
string text
)
Parameters
Type | Name | Description |
---|---|---|
string | text |
void ParseAsync
public void ParseAsync(
IntPtr data,
uint dataSize
)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | data | |
uint | dataSize |
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
Enumerator | Value | Description |
---|---|---|
White | 0 | |
Green | ||
Blue | ||
Cyan | ||
Red | ||
Yellow | ||
Magenta | ||
Invalide |
CaptionDimension
Enumerator | Value | Description |
---|---|---|
MaxRows | 15 | |
MaxCols | 32 | |
MaxRowsPlus2 | 17 | |
MaxColsPlus2 | 34 |
CaptionStyle
Enumerator | Value | Description |
---|---|---|
Italics | 0x00000001 | |
Underline | 0x00000002 |