Constructor
new V1StorageCell()
- Implements:
- Source:
Methods
(private, static) convertPeriod_(old) → {shaka.extern.PeriodDB}
Parameters:
Name | Type | Description |
---|---|---|
old |
shaka.extern.PeriodDBV1 |
Returns:
(private, static) convertSegment_(old) → {shaka.extern.SegmentDB}
Parameters:
Name | Type | Description |
---|---|---|
old |
shaka.extern.SegmentDBV1 |
Returns:
(private, static) convertStream_(old) → {shaka.extern.StreamDB}
Parameters:
Name | Type | Description |
---|---|---|
old |
shaka.extern.StreamDBV1 |
Returns:
(private, static) fillMissingVariants_(period)
Take a period and check if the streams need to have variants generated.
Before Shaka Player moved to its variants model, there were no variants.
This will fill missing variants into the given object.
Parameters:
Name | Type | Description |
---|---|---|
period |
shaka.extern.PeriodDBV1 |
(private, static) getKeyFromSegmentUri_(uri) → {number}
Parameters:
Name | Type | Description |
---|---|---|
uri |
string |
Returns:
- Type
- number
convertManifest(old) → {shaka.extern.ManifestDB}
Parameters:
Name | Type | Description |
---|---|---|
old |
shaka.extern.ManifestDBV1 |
Returns:
convertSegmentData(old) → {shaka.extern.SegmentDataDB}
Parameters:
Name | Type | Description |
---|---|---|
old |
shaka.extern.SegmentDataDBV1 |
Returns:
updateManifestExpiration(key, expiration) → (non-null) {Promise}
Replace the expiration time of the manifest stored under |key| with
|newExpiration|. If no manifest is found under |key| then this should
act as a no-op.
Parameters:
Name | Type | Description |
---|---|---|
key |
number | |
expiration |
number |
- Implements:
- Source:
Returns:
- Type
- Promise