Constructor
new ContentSteeringManager(playerInterface)
Parameters:
- Implements:
- Source:
Members
bannedLocations_ :Map.<string, number>
Type:
- Source:
baseUris_ :Array.<string>
Type:
- Source:
defaultPathwayId_ :string
Type:
- Source:
lastPathwayUsed_ :string
Type:
- Source:
lastTTL_ :number
Default to 5 minutes. Value in seconds.
Type:
- Source:
locations_ :Map.<(string|number), !Map.<string, string>>
Type:
-
Map.<(string|number), !Map.<string, string>>
- Source:
manifestType_ :string
Type:
- Source:
pathwayPriority_ :Array.<string>
Type:
- Source:
Methods
addLocation(streamId, pathwayId, uri)
Parameters:
Name |
Type |
Description |
streamId |
string
|
number
|
|
pathwayId |
string
|
|
uri |
string
|
|
- Source:
addQueryParams_()
- Source:
banLocation(uri)
Parameters:
Name |
Type |
Description |
uri |
string
|
|
- Source:
clearPreviousLocations()
Clear the previous locations added.
- Source:
destroy() → {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.
- Implements:
- Source:
Returns:
-
Type
-
Promise
getLocations(streamId) → {Array.<string>}
Get the base locations ordered according the priority.
Parameters:
Name |
Type |
Description |
streamId |
string
|
number
|
|
- Source:
Returns:
-
Type
-
Array.<string>
processManifest_(manifest, finalManifestUri)
Parameters:
- Source:
requestInfo(uri) → {Promise}
Request the Content Steering info.
Parameters:
Name |
Type |
Description |
uri |
string
|
|
- Source:
Returns:
-
Type
-
Promise
setBaseUris(baseUrisnon-null)
Parameters:
Name |
Type |
Description |
baseUris |
Array.<string>
|
|
- Source:
setDefaultPathwayId(defaultPathwayIdnullable)
Parameters:
Name |
Type |
Attributes |
Description |
defaultPathwayId |
string
|
<nullable>
|
|
- Source:
setManifestType(manifestType)
Parameters:
Name |
Type |
Description |
manifestType |
string
|
|
- Source:
Type Definitions
PathawayClone
Type:
Properties:
- Source:
SteeringManifest
Contains information about the Steering Manifest
Type:
Properties:
- Source:
UriReplacement
Type:
Properties:
Name |
Type |
Description |
HOST |
string
|
|
- Source: