The REQUEST_OK message is sent in response to PUBLISH, REQUEST_UPDATE, TRACK_STATUS, SUBSCRIBE_NAMESPACE, SUBSCRIBE_TRACKS and PUBLISH_NAMESPACE requests.
This document uses the shorthand PUBLISH_OK, REQUEST_UPDATE_OK, TRACK_STATUS_OK, SUBSCRIBE_NAMESPACE_OK, and PUBLISH_NAMESPACE_OK to refer to a REQUEST_OK sent in response to the corresponding request type.
REQUEST_OK Message {
Type (vi64) = 0x7,
Length (16),
Number of Parameters (vi64),
Parameters (..) ...,
Track Properties (..),
}
-
Parameters: The parameters are defined in Section 10.2.
-
Track Properties : A sequence of Properties. See Section 2.5. The length of Track Properties is the remaining length of the message after parsing all previous fields. Track Properties are populated in TRACK_STATUS_OK; they are empty in PUBLISH_OK, REQUEST_UPDATE_OK, SUBSCRIBE_NAMESPACE_OK and PUBLISH_NAMESPACE_OK. If an endpoint receives Track Properties in one of these messages it MUST close the session with a
PROTOCOL_VIOLATION.