Class: shaka.msf.packaging.LocmafSegmenter

Constructor

new LocmafSegmenter(parsernon-null, isVideo)

Parameters:
Name Type Description
parser shaka.msf.LOCMAFParser
isVideo boolean
Implements:
Source:

Members

isVideo_ :boolean

Type:
  • boolean
Source:

Methods

push(objnon-null) → {Array<!shaka.extern.MsfSegment>}

Consumes one MoQT object and returns the segments it completed, which is usually none or one. Objects with an empty payload carry an object status rather than media and are delivered here too, because for some packagings they are the signal that a Group has ended.
Parameters:
Name Type Description
obj shaka.extern.MsfObject
Implements:
Source:
Returns:
Type
Array<!shaka.extern.MsfSegment>