Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI instructions #14

Closed
rnzsgh opened this issue Dec 29, 2017 · 2 comments
Closed

CLI instructions #14

rnzsgh opened this issue Dec 29, 2017 · 2 comments

Comments

@rnzsgh
Copy link

rnzsgh commented Dec 29, 2017

Please create CLI instructions; not everyone uses an IDE. Thanks!

After compiling the C++ producer SDK, these are the steps I took:

sudo apt-get install maven

#!/bin/bash

mvn package

jar_files=$(mktemp)

mvn -Dmdep.outputFile=$jar_files dependency:build-classpath

export LD_LIBRARY_PATH=/home/ubuntu/amazon-kinesis-video-streams-producer-sdk-cpp/downloads/local/lib:$LD_LIBRARY_PATH

classpath_values=$(cat $jar_files)

java -classpath target/kinesisvideo-java-demo-1.0-SNAPSHOT.jar:$classpath_values
-Daws.accessKeyId=ACCESS_KEY
-Daws.secretKey=SECRET_KEY
-Djava.library.path=/home/ubuntu/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build
com.amazonaws.kinesisvideo.demoapp.DemoAppMain

rm -Rf $jar_files

@zhiyua-git
Copy link
Contributor

Thanks for the information, I will update README to include CLI instruction soon.

@unicornss
Copy link
Contributor

Closing this as we have updated the Readme to include CLI instructions. Thanks for the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants