This code example is part of the C simple examples demonstrate how to easily use the SDK to include code snippets that access the camera into your applications using C API.

rs-color streams color and prints the frame information.

The sample demonstrates how to use C API to stream color data and prints some frame information such as frame number, timestamp, time of arrival, timestamp domain and a first 10 bytes of the frame data.


Source Code

Check rs-color.c for the C code.