A publisher sends a SUBSCRIBE_ERROR control message in response to a failed SUBSCRIBE.
SUBSCRIBE_ERROR
{
Type (i) = 0x5,
Length (i),
Subscribe ID (i),
Error Code (i),
Reason Phrase Length (i),
Reason Phrase (..),
Track Alias (i),
}
-
Subscribe ID: Subscription Identifier as defined in Section 6.4.
-
Error Code: Identifies an integer error code for subscription failure.
-
Reason Phrase: Provides the reason for subscription error.
-
Track Alias: When Error Code is 'Retry Track Alias', the subscriber SHOULD re-issue the SUBSCRIBE with this Track Alias instead. If this Track Alias is already in use, the subscriber MUST close the connection with a Duplicate Track Alias error (Section 3.5).