Interface for objects that represent streamable content
Methods
pause() → {Promise}
Pauses the streaming.
Returns:
resolved when done.
- Type
- Promise
resume() → {Promise}
Resumes the streaming.
Returns:
resolved when done.
- Type
- Promise
start(timeInMs, loop) → {Promise}
Starts the streaming.
Parameters:
Name | Type | Description |
---|---|---|
timeInMs |
number | timestamp to start from |
loop |
boolean | if true the streamable will restart after finishing |
Returns:
resolved when done.
- Type
- Promise
stop() → {Promise}
Stops the streaming.
Returns:
resolved when done.
- Type
- Promise