Class: shaka.msf.packaging.CmafSegmenter

Constructor

new CmafSegmenter(timescale)

Parameters:
Name Type Description
timescale number
Implements:
Source:

Members

timescale_ :number

Type:
  • number
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>