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

Incorrect AWS REGION #7

Closed
ghost opened this issue Dec 6, 2017 · 5 comments
Closed

Incorrect AWS REGION #7

ghost opened this issue Dec 6, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 6, 2017

Hi,
The GStreamer sample C++ application creates the Kinesis Video stream in US-West-2, even if I set the AWS_DEFAULT_REGION to us-east-1. The region parameter in credentials file is also set to us-east-1.
$echo $AWS_DEFAULT_REGION
us-east-1
$ ./kinesis_video_gstreamer_sample_app home-driveway
creates the stream in us-west-2.
How do I override this. I would like to create the stream in us-east-1

Thanks
Babu Srinivasan

@ghost
Copy link
Author

ghost commented Dec 6, 2017

Looks like the values are hard coded in
./kinesis-video-producer/src/DefaultCallbackProvider.h
./kinesis-video-producer/src/DefaultCallbackProvider.cpp
I think we should read the value from the environment variable $AWS_DEFAULT_REGION

Thanks
Babu Srinivasan

@MushMal
Copy link
Contributor

MushMal commented Dec 6, 2017

Sorry for the delayed reply. Indeed, the regions are hard-coded for both the integration unit tests and the sample gstreamer application. This is a great suggestion though to use env variables - just like the credentials. We will implement this ASAP

@MushMal
Copy link
Contributor

MushMal commented Dec 6, 2017

The latest commit contains this fix

@MushMal MushMal closed this as completed Dec 6, 2017
@ghost
Copy link
Author

ghost commented Dec 7, 2017 via email

@ghost
Copy link
Author

ghost commented Dec 7, 2017 via email

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

No branches or pull requests

1 participant