Class: shaka.util.Scte35

Constructor

new Scte35()

Source:

Members

SCHEMES_ :Array<string>

@const
Type:
  • Array<string>
Source:

Methods

binaryPayload_(nodenon-null) → {Uint8Array}

Finds the base64 section, ignoring the producer's namespace prefix and how deeply it nested the element.
Parameters:
Name Type Description
node shaka.extern.xml.Node
Source:
Returns:
Type
Uint8Array

fromEmsg(emsg) → {shaka.extern.Scte35Event}

Parameters:
Name Type Description
emsg shaka.extern.EmsgInfo
Source:
Returns:
Type
shaka.extern.Scte35Event

fromHex(textnullable) → {Uint8Array}

Parameters:
Name Type Attributes Description
text string <nullable>
Source:
Returns:
Type
Uint8Array

fromRegion(region) → {shaka.extern.Scte35Event}

Parameters:
Name Type Description
region shaka.extern.TimelineRegionInfo
Source:
Returns:
Type
shaka.extern.Scte35Event

isScheme(scheme) → {boolean}

Parameters:
Name Type Description
scheme string
Source:
Returns:
Type
boolean