Please follow the four steps below to get the Docker image for Producer SDK building.
This requires docker is installed in your system.
Follow instructions to download and start Docker
Run the following command:
docker build -t docker-kvs-build:latest .
This takes some time as it pulls all the dependencies in.
Run the following command to start the kinesis video sdk building container.
sudo docker run --rm -it -v <kvs-source-code-path>:/home/kvs/sdk docker-kvs-build:latest
cd sdk/ mkdir -p build cd build/ && rm -rf ./* && rm -rf ../open-source/* git pull --recurse-submodules cmake .. make
export AWS_SECRET_ACCESS_KEY=xxx
export AWS_ACCESS_KEY_ID=xxx
export AWS_DEFAULT_REGION=us-west-2
# Put media to "my-kvs-stream" on KVS for 600 seconds.
./kvsAacAudioVideoStreamingSample my-kvs-stream 600
Note: KVS will create "my-kvs-stream" automatically once received video data.