Amazon Kinesis Video Streams
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Step 3: Run and Verify the Code

To run and verify the code for the C++ Producer Library procedure, do the following:

  1. See Prerequisites for credential, certificate, and build requirements.

  2. Build the project by using the /kinesis-video-native-build/install-script script. Running the install script installs the following open source dependencies:


    To configure log4cplus, set the following value in PlatformUtils.h to point to your logging function:

    #define __LOG(p1, p2, p3, ...) printf(p3, ##__VA_ARGS__)
  3. The executable is built in kinesis-video-native-build/start. Launch it to run the unit test and kick off dummy frame streaming.

  4. To enable verbose logs, define the HEAP_DEBUG and LOG_STREAMING C-defines by uncommenting the appropriate lines in CMakeList.txt.

You can monitor the progress of the test suite in the debug output in your IDE. You can also monitor the traffic on your stream by watching the metrics that are associated with your stream in the Amazon CloudWatch console, such as PutMedia.IncomingBytes.


Because the test harness only sends frames of empty bytes, the console doesn't display the data as a video stream.