# LocFrame

URL: https://www.caprid.com/docs/reference/typescript/caprid/moq-mediabunny/interfaces/locframe/

Defined in: moq-media/dist/webcodecs.d.ts:15

One encoded frame ready to publish as a LOC object: `write(payload, { properties })`.

## Properties

### key

```ts
key: boolean;
```

Defined in: moq-media/dist/webcodecs.d.ts:21

Whether the frame is a key frame; start a new group on one.

***

### payload

```ts
payload: Uint8Array;
```

Defined in: moq-media/dist/webcodecs.d.ts:17

Chunk helpers copy these bytes; packet adapters may borrow them. Keep stable until the write completes.

***

### properties

```ts
properties: KeyValuePair[];
```

Defined in: moq-media/dist/webcodecs.d.ts:23

The LOC object properties: Timestamp and Timescale, plus decoder configuration on key frames when supplied.

***

### timestampUs

```ts
timestampUs: number;
```

Defined in: moq-media/dist/webcodecs.d.ts:19

Presentation time in microseconds, after any timestamp offset.
