3.3.5.14 Processing a Sample Response
The structure and fields of the Sample Response message are specified in section 2.2.3.14.
After receiving this message, the server parses it to obtain the StreamIndex and the video sample data. The sample size is calculated by subtracting the sum of the size of the SHARED_MSG_HEADER (section 2.2.1) structure and the size of the StreamIndex field from the size of the message. Next, the server passes the sample data to applications.
Malformed and out-of-sequence messages are handled as specified in section 3.3.5.