1.3.5 Video Capture sequence

This sequence occurs on the device channel. The server uses this sequence to receive video data from the video capture device on the client associated with this channel. First, the server sends an Activate Device Request (section 2.2.3.3), if it did not do so yet, to ensure that the device is ready for use. Next, the server sends a Start Streams Request (section 2.2.3.11) to select the video stream(s) to produce video samples and to select the current stream format for each stream. Then, for each stream the server starts sending Sample Requests (section 2.2.3.13). For each Sample Request, when a new sample is ready, the client sends back a Sample Response (section 2.2.3.14) containing the video sample. When the server does not require any more video data, it sends a Stop Streams Request (section 2.2.3.12). At the end of the sequence, the server sends a Deactivate Device Request (section 2.2.3.4) to allow the client to free resources associated with the device.

Figure 5: Video Capture sequence