Skip to content

SwitchedInfo

Defined in: relay-sdks/ts/src/switchable.ts:64

What onSwitched receives and switchTo resolves with.

from: string;

Defined in: relay-sdks/ts/src/switchable.ts:66

The track that was active before the cutover.


subscribed: SubscribeOk;

Defined in: relay-sdks/ts/src/switchable.ts:70

The new subscription’s acceptance info.


to: string;

Defined in: relay-sdks/ts/src/switchable.ts:68

The track now active; the same as from when only the parameters changed.