Constructor
new DownloadInfo(ref, estimateId, groupId, isInitSegment)
Parameters:
Name | Type | Description |
---|---|---|
ref |
shaka.media.SegmentReference | shaka.media.InitSegmentReference | |
estimateId |
number | |
groupId |
number | |
isInitSegment |
boolean |
- Source:
Members
Methods
idForSegmentRef(ref) → {string}
Creates an ID that encapsulates all important information in the ref, which
can then be used to check for equality.
Parameters:
Name | Type | Description |
---|---|---|
ref |
shaka.media.SegmentReference | shaka.media.InitSegmentReference |
- Source:
Returns:
- Type
- string
makeSegmentRequest(config) → {shaka.extern.Request}
Parameters:
Name | Type | Description |
---|---|---|
config |
shaka.extern.PlayerConfiguration |
- Source:
Returns:
- Type
- shaka.extern.Request