Set up Amazon Kinesis Video Streams Producer SDK C++ (Raspberry Pi)

In this step, you will install Amazon Kinesis Video Streams Producer SDK C++ on your Raspberry Pi

Downloading the SDK

Execute the following commands in the Raspberry Pi terminal.

cd
git clone --recursive https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git

If you forgot to add --recursive to the command, execute the following command.

cd ~/amazon-kinesis-video-streams-producer-sdk-cpp
git submodule update --init

Building the SDK

This step will take about 20 to 30 minutes to complete. You may proceed with the Creating a Stream of 1-3-a while you are waiting.

The following command will download and build the dependent libraries. This command will take about 10 to 20 minutes to complete.

mkdir -p ~/amazon-kinesis-video-streams-producer-sdk-cpp/build
cd ~/amazon-kinesis-video-streams-producer-sdk-cpp/build
cmake -DBUILD_GSTREAMER_PLUGIN=ON ..

Then run the following command to build the SDK, which will take about 5 to 10 minutes.

make

Now that you have set up Amazon Kinesis Video Streams Producer SDK C++, let’s run the sample application.