Class: shaka.offline.DownloadInfo

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

estimateId :number

Type:
  • number
Source:

groupId :number

Type:
  • number
Source:

isInitSegment :boolean

Type:
  • boolean
Source:

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

getRefId() → {string}

Source:
Returns:
Type
string

makeSegmentRequest(config) → {shaka.extern.Request}

Parameters:
Name Type Description
config shaka.extern.PlayerConfiguration
Source:
Returns:
Type
shaka.extern.Request