# safeLiveSrc

> **safeLiveSrc**(`src`): `string` \| `null`

Defined in: live.ts:47

Check a live player address and rebuild it from its checked parts.

Accepts only `https://<one label>.cloudflarestream.com/<alphanumeric
uid>/iframe`, with no credentials and no port. Of the query, only the
player switches `autoplay`, `muted` and `controls` with the value `true`
or `false` are kept; anything else is left out. Returns `null` for every
other input.

## Parameters

### src

`string` \| `null` \| `undefined`

## Returns

`string` \| `null`
