Constructor
new LocSegmenter(parsernon-null, isVideo)
Parameters:
| Name | Type | Description |
|---|---|---|
parser |
shaka.msf.LOCParser | |
isVideo |
boolean |
- Implements:
- Source:
Members
Methods
isIndependent_(objnon-null, frameMarkingnullable) → {boolean}
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
obj |
shaka.extern.MsfObject | ||
frameMarking |
boolean |
<nullable> |
The I bit of the object's Video Frame Marking, or null when it carries none. |
- Source:
Returns:
- Type
- boolean
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>
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.
- Implements:
- Source: