# TrackReplacement

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay/media/interfaces/trackreplacement/

Defined in: [relay-sdks/ts/src/replaceable-track.ts:54](https://github.com/caprids/relay-sdks/blob/main/ts/src/replaceable-track.ts#L54)

What [ReplaceableTrack.replace](https://www.caprid.com/docs/reference/typescript/caprid/relay/media/interfaces/replaceabletrack/#replace) did.

## Properties

### from

```ts
from: string;
```

Defined in: [relay-sdks/ts/src/replaceable-track.ts:56](https://github.com/caprids/relay-sdks/blob/main/ts/src/replaceable-track.ts#L56)

The track replaced, now closed.

***

### replacements

```ts
replacements: number;
```

Defined in: [relay-sdks/ts/src/replaceable-track.ts:60](https://github.com/caprids/relay-sdks/blob/main/ts/src/replaceable-track.ts#L60)

How many times the track has been replaced, this time included: 1 for the first replacement.

***

### to

```ts
to: string;
```

Defined in: [relay-sdks/ts/src/replaceable-track.ts:58](https://github.com/caprids/relay-sdks/blob/main/ts/src/replaceable-track.ts#L58)

The new track, listed in the catalog in its place.
