Class: SwitchingSetAssignment
Assigns a subscription to an SSTS (sender-side track switching) switching set. Carried on SUBSCRIBE and on the PUBLISH_OK of a pushed track.
PROVISIONAL: sender-side track switching is not an adopted extension, so this parameter has no codepoint in the registry the conformance fixture tracks (dev/conformance/draft22) and is never asserted against it. Id 0 is the default allocation every implementation runs; other ids select an algorithm specific to one implementation.
Implements
Constructors
Constructor
new SwitchingSetAssignment(
switchingSetId,algorithmId,throughputThresholdKbps,setThroughputWeight,activateSwitching,setRank?):SwitchingSetAssignment
Parameters
switchingSetId
bigint
algorithmId
bigint
throughputThresholdKbps
bigint
setThroughputWeight
bigint
Relative bandwidth weight among same-rank sets, 1 through 10.
activateSwitching
bigint
0 pauses SSTS for the set; switching activates once the number of assigned tracks reaches this value.
setRank?
number = 0
Degradation priority; lower values are protected first. Default 0.
Returns
SwitchingSetAssignment
Properties
activateSwitching
readonlyactivateSwitching:bigint
0 pauses SSTS for the set; switching activates once the number of assigned tracks reaches this value.
algorithmId
readonlyalgorithmId:bigint
setRank
readonlysetRank:number=0
Degradation priority; lower values are protected first. Default 0.
setThroughputWeight
readonlysetThroughputWeight:bigint
Relative bandwidth weight among same-rank sets, 1 through 10.
switchingSetId
readonlyswitchingSetId:bigint
throughputThresholdKbps
readonlythroughputThresholdKbps:bigint
TYPE
readonlystaticTYPE:SwitchingSetAssignment=MessageParameterType.SwitchingSetAssignment
Methods
toKeyValuePair()
toKeyValuePair():
KeyValuePair
Returns
Implementation of
fromKeyValuePair()
staticfromKeyValuePair(pair):SwitchingSetAssignment|undefined
Parameters
pair
Returns
SwitchingSetAssignment | undefined