2.2.3.15 Sample Error Response

The Sample Error Response is sent by the client over a device channel if an error occurred while producing a video sample and there is at least one outstanding Sample Request (section 2.2.3.13) message.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header

StreamIndex

ErrorCode

...

Header (2 bytes): A SHARED_MSG_HEADER (section 2.2.1) structure. The Version field MUST be set to the same value as in the Select Version Response (section 2.2.2.2) message. The MessageId field MUST be set to SampleErrorResponse (19).

StreamIndex (1 byte): An 8-bit unsigned integer containing the index of the stream from which a sample was requested. This index MUST match the index in the STREAM_DESCRIPTION array returned in the Stream List Response (section 2.2.3.6) message.

ErrorCode (4 bytes): A 32-bit unsigned integer containing one of the error codes listed in section 2.2.3.2.