A publisher sends a SUBSCRIBE_OK as the first response message on the bidi stream for successful subscriptions.
SUBSCRIBE_OK Message {
Type (vi64) = 0x4,
Length (16),
Track Alias (vi64),
Number of Parameters (vi64),
Parameters (..) ...,
Track Properties (..),
}
-
Track Alias: The identifer used for this track in Subgroups or Datagrams (see Section 10.1). The same Track Alias MUST NOT be used by a publisher to refer to two different Tracks simultaneously in the same session. If a subscriber receives a SUBSCRIBE_OK that uses the same Track Alias as a different track with an
Establishedsubscription, it MUST close the session with errorDUPLICATE_TRACK_ALIAS. -
Parameters: The parameters are defined in Section 9.3.
-
Track Properties : A sequence of Properties. See Section 2.5.