The subscriber sends an ANNOUNCE_ERROR control message for tracks that failed authorization.
ANNOUNCE_ERROR Message {
Type (i) = 0x8,
Length (16),
Request ID (i),
Error Code (i),
Error Reason (Reason Phrase)
}
-
Request ID: The Request ID of the ANNOUNCE this message is replying to Section 8.22.
-
Error Code: Identifies an integer error code for announcement failure.
-
Error Reason: Provides the reason for announcement error. See Section 1.3.3.
The application SHOULD use a relevant error code in ANNOUNCE_ERROR, as defined below:
| Code | Reason |
|---|---|
| 0x0 | Internal Error |
| 0x1 | Unauthorized |
| 0x2 | Timeout |
| 0x3 | Not Supported |
| 0x4 | Uninterested |
| 0x10 | Malformed Auth Token |
| 0x12 | Expired Auth Token |
-
Internal Error - An implementation specific or generic error occurred.
-
Unauthorized - The subscriber is not authorized to announce the given namespace.
-
Timeout - The announce could not be completed before an implementation specific timeout.
-
Not Supported - The endpoint does not support the ANNOUNCE method.
-
Uninterested - The namespace is not of interest to the endpoint.
-
Malformed Auth Token - Invalid Auth Token serialization during registration (see Section 8.2.1.1).
-
Expired Auth Token - Authorization token has expired Section 8.2.1.1).