Skip to content

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 ​

readonly activateSwitching: bigint

0 pauses SSTS for the set; switching activates once the number of assigned tracks reaches this value.


algorithmId ​

readonly algorithmId: bigint


setRank ​

readonly setRank: number = 0

Degradation priority; lower values are protected first. Default 0.


setThroughputWeight ​

readonly setThroughputWeight: bigint

Relative bandwidth weight among same-rank sets, 1 through 10.


switchingSetId ​

readonly switchingSetId: bigint


throughputThresholdKbps ​

readonly throughputThresholdKbps: bigint


TYPE ​

readonly static TYPE: SwitchingSetAssignment = MessageParameterType.SwitchingSetAssignment

Methods ​

toKeyValuePair() ​

toKeyValuePair(): KeyValuePair

Returns ​

KeyValuePair

Implementation of ​

Parameter.toKeyValuePair


fromKeyValuePair() ​

static fromKeyValuePair(pair): SwitchingSetAssignment | undefined

Parameters ​

pair ​

KeyValuePair

Returns ​

SwitchingSetAssignment | undefined