---
url: https://docs.moqtail.dev/ts/api/player/functions/formatMsfUrl.md
---
# Function: formatMsfUrl()

> **formatMsfUrl**(`url`, `namespace`, `track`): `string`

Builds an MSF URL from a `moqt://authority/path[?query]` session URL and a full track name.

## Parameters

### url

`string`

### namespace

[`Tuple`](../../model/classes/Tuple.md)

### track

`string` | `Uint8Array`<`ArrayBufferLike`>

## Returns

`string`
