The subscriber sends a PUBLISH_NAMESPACE_ERROR control message for tracks that failed authorization.
PUBLISH_NAMESPACE_ERROR Message {
Type (i) = 0x8,
Length (16),
Request ID (i),
Error Code (i),
Error Reason (Reason Phrase)
}
-
Request ID: The Request ID of the PUBLISH_NAMESPACE this message is replying to Section 9.23.
-
Error Code: Identifies an integer error code for publish namespace failure.
-
Error Reason: Provides the reason for publish namespace error. See Section 1.4.3.
The application SHOULD use a relevant error code in PUBLISH_NAMESPACE_ERROR, as defined below:
- INTERNAL_ERROR (0x0):
-
An implementation specific or generic error occurred.
- UNAUTHORIZED (0x1):
-
The subscriber is not authorized to announce the given namespace.
- TIMEOUT (0x2):
-
The announce could not be completed before an implementation specific timeout.
- NOT_SUPPORTED (0x3):
-
The endpoint does not support the PUBLISH_NAMESPACE method.
- UNINTERESTED (0x4):
-
The namespace is not of interest to the endpoint.
- MALFORMED_AUTH_TOKEN (0x10):
-
Invalid Auth Token serialization during registration (see Section 9.2.1.1).
- EXPIRED_AUTH_TOKEN (0x12):
-
Authorization token has expired (Section 9.2.1.1).