---
url: https://docs.moqtail.dev/ts/api/model/classes/PublishSkipped.md
---
# Class: PublishSkipped

PUBLISH_SKIPPED (0xF): a publisher tells the peer it cannot send the PUBLISH that
would start a subscription to a track under a SUBSCRIBE_TRACKS namespace.

Sent on the SUBSCRIBE_TRACKS response stream, so only the namespace suffix after that
subscription's prefix is carried.

## Constructors

### Constructor

> **new PublishSkipped**(`trackNamespaceSuffix`, `trackName`): `PublishSkipped`

#### Parameters

##### trackNamespaceSuffix

[`Tuple`](Tuple.md)

##### trackName

`Uint8Array`

#### Returns

`PublishSkipped`

## Properties

### trackName

> `readonly` **trackName**: `Uint8Array`

***

### trackNamespaceSuffix

> `readonly` **trackNamespaceSuffix**: [`Tuple`](Tuple.md)

## Methods

### getType()

> **getType**(): [`ControlMessageType`](../enumerations/ControlMessageType.md)

#### Returns

[`ControlMessageType`](../enumerations/ControlMessageType.md)

***

### serialize()

> **serialize**(): [`FrozenByteBuffer`](FrozenByteBuffer.md)

#### Returns

[`FrozenByteBuffer`](FrozenByteBuffer.md)

***

### parsePayload()

> `static` **parsePayload**(`buf`): `PublishSkipped`

#### Parameters

##### buf

[`BaseByteBuffer`](BaseByteBuffer.md)

#### Returns

`PublishSkipped`
