Skip to content

Function: extractCta608DataFromSample() ​

ts
function extractCta608DataFromSample(
   raw, 
   startPos, 
   sampleSize
): number[][];

Defined in: extractCta608DataFromSample.ts:13

Extracts CEA-608 data from a given sample.

Parameters ​

raw ​

DataView

The DataView with media data

startPos ​

number

The start position within the DataView

sampleSize ​

number

The size of the sample in bytes

Returns ​

number[][]

fieldData array containing field 1 and field 2 data arrays

A Streaming Video Technology Alliance project.