Interface: shaka.extern.MsfSegmenter

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
Source:
Returns:
Type
Array<!shaka.extern.MsfSegment>

release()

Frees whatever the segmenter holds. Called once, when the parser drops the segmenter: its stream is closed, its subscription is replaced after a seek, push() failed, or the parser stops. push() is not called after it. Implementing this is optional.
Source: