---
url: https://docs.moqtail.dev/ts/api/model/classes/SstsAlgorithms.md
---
# Class: SstsAlgorithms

The sender-side track switching (SSTS) algorithms this endpoint supports.

PROVISIONAL: sender-side track switching is not an adopted extension, so
this option has no codepoint in the registry the conformance fixture tracks
(`dev/conformance/draft22`) and is never asserted against it. An empty list
— or the absence of the option — prohibits the use of SSTS.

## Implements

* [`Parameter`](../interfaces/Parameter.md)

## Constructors

### Constructor

> **new SstsAlgorithms**(`algorithms`): `SstsAlgorithms`

#### Parameters

##### algorithms

`bigint`\[]

#### Returns

`SstsAlgorithms`

## Properties

### algorithms

> `readonly` **algorithms**: `bigint`\[]

***

### TYPE

> `readonly` `static` **TYPE**: [`SstsAlgorithms`](../enumerations/SetupOptionType.md#sstsalgorithms) = `SetupOptionType.SstsAlgorithms`

## Methods

### toKeyValuePair()

> **toKeyValuePair**(): [`KeyValuePair`](KeyValuePair.md)

#### Returns

[`KeyValuePair`](KeyValuePair.md)

#### Implementation of

[`Parameter`](../interfaces/Parameter.md).[`toKeyValuePair`](../interfaces/Parameter.md#tokeyvaluepair)

***

### fromKeyValuePair()

> `static` **fromKeyValuePair**(`pair`): `SstsAlgorithms` | `undefined`

#### Parameters

##### pair

[`KeyValuePair`](KeyValuePair.md)

#### Returns

`SstsAlgorithms` | `undefined`
