§9.15.

PUBLISH_ERROR

The subscriber sends a PUBLISH_ERROR control message to reject a subscription initiated by PUBLISH.

PUBLISH_ERROR Message {
  Type (i) = 0x1F,
  Length (i),
  Request ID (i),
  Error Code (i),
  Error Reason (Reason Phrase),
}
Figure 17: MOQT PUBLISH_ERROR Message
  • Request ID: The Request ID of the PUBLISH this message is replying to Section 9.13.

  • Error Code: Identifies an integer error code for failure.

  • Error Reason: Provides the reason for subscription error. See Section 1.4.3.

The application SHOULD use a relevant error code in PUBLISH_ERROR, as defined below:

INTERNAL_ERROR (0x0):

An implementation specific or generic error occurred.

UNAUTHORIZED (0x1):

The publisher is not authorized to publish the given namespace or track.

TIMEOUT (0x2):

The subscription could not be established before an implementation specific timeout.

NOT_SUPPORTED (0x3):

The endpoint does not support the PUBLISH method.

UNINTERESTED (0x4):

The namespace or track is not of interest to the endpoint.

This is one section of the MoQT specification, rendered per-section for quick reference and citation. The authoritative text is draft-ietf-moq-transport-14 at the IETF.