Methods
createSegmentRequest(urisnon-null, startnullable, endnullable, retryParameters, streamDataCallbacknullable) → {shaka.extern.Request}
Create a request message for a segment. Providing |start| and |end|
will set the byte range. A non-zero start must be provided for |end| to
be used.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
uris |
Array.<string> | ||
start |
number |
<nullable> |
|
end |
number |
<nullable> |
|
retryParameters |
shaka.extern.RetryParameters | ||
streamDataCallback |
?function(BufferSource):!Promise= |
<nullable> |
- Source:
Returns:
- Type
- shaka.extern.Request