Coder Social home page Coder Social logo

docker-kvs-build's Introduction

Using Docker images for Producer SDK building:

Please follow the four steps below to get the Docker image for Producer SDK building.

Pre-requisite:

This requires docker is installed in your system.

Follow instructions to download and start Docker

Step 1: Build the docker image

Run the following command: docker build -t docker-kvs-build:latest .

This takes some time as it pulls all the dependencies in.

Step 2: Start the container

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

Step 3: Building the sample

cd sdk/ mkdir -p build cd build/ && rm -rf ./* && rm -rf ../open-source/* git pull --recurse-submodules cmake .. make

Step 4: Set these environment variables:

export AWS_SECRET_ACCESS_KEY=xxx
export AWS_ACCESS_KEY_ID=xxx
export AWS_DEFAULT_REGION=us-west-2	

Step 5: Start to put media

# 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.

docker-kvs-build's People

Contributors

awsa2ron avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.