Extends
Methods
(export) destroy() → (non-null) {Promise}
Request that this object be destroyed, releasing all resources and shutting
down all operations. Returns a Promise which is resolved when destruction
is complete. This Promise should never be rejected.
- Inherited From:
- Source:
Returns:
- Type
- Promise
getPeriodIndex(time) → {number}
Get the period for the given time.
Parameters:
Name | Type | Description |
---|---|---|
time |
number |
- Source:
Returns:
- Type
- number
isBufferedToEnd(bufferedEnd) → {boolean}
Check if we have buffered to the end of the content given the current end
of the buffered range.
Parameters:
Name | Type | Description |
---|---|---|
bufferedEnd |
number |
- Source:
Returns:
- Type
- boolean