Methods
isInterstitialRegion(region) → {boolean}
Whether the given DASH region is an interstitial handled by this parser:
an alternative-MPD insert/replace event.
Parameters:
| Name | Type | Description |
|---|---|---|
region |
shaka.extern.TimelineRegionInfo |
Returns:
- Type
- boolean
parseAlternativeMpd_(region) → {shaka.extern.AdInterstitial}
Parameters:
| Name | Type | Description |
|---|---|---|
region |
shaka.extern.TimelineRegionInfo |
Returns:
parseRegion(region) → {shaka.extern.AdInterstitial}
Parses a DASH interstitial region (alternative MPD) into an interstitial.
Returns null if the region is not a valid interstitial. Callers should
gate this with isInterstitialRegion.
Parameters:
| Name | Type | Description |
|---|---|---|
region |
shaka.extern.TimelineRegionInfo |