Replies: 15 comments
-
Thanks @ranman |
Beta Was this translation helpful? Give feedback.
-
why are the ec2role/iam credentials missing? Could we also get them added ? |
Beta Was this translation helpful? Give feedback.
-
@Deshke could you please elaborate what you mean by the ec2role/iam credentials missing? We recently discovered that our documentation was missing the credential integration information and we are in the process of updating the documentation. |
Beta Was this translation helpful? Give feedback.
-
@ranman this is a good suggestion to use the credentials from the standard aws file if the credentials have not been specified otherwise. Currently, there is a way to point to a file with credentials but the default AWS credentials file won't be loaded by default. |
Beta Was this translation helpful? Give feedback.
-
@MushMal sry, ec2roles are not supported anyway (why is that?) |
Beta Was this translation helpful? Give feedback.
-
any resolution on this? |
Beta Was this translation helpful? Give feedback.
-
@timurb we are working on it. No ETA yet. We will update the README as soon as we implement it. |
Beta Was this translation helpful? Give feedback.
-
We are still looking into this. Not ETA yet. Just wanted to update |
Beta Was this translation helpful? Give feedback.
-
Sorry, for pushing this. If i need to enter my session_token as a AWS Educate Account, how can I do it with kvssink when .aws\credentials isnt supported? |
Beta Was this translation helpful? Give feedback.
-
Can be done via env var: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/src/gstreamer/gstkvssink.cpp#L249 |
Beta Was this translation helpful? Give feedback.
-
@TheSilentHorizon Does what was suggested by @MushMal above suffice for you, or is there something more that you need? |
Beta Was this translation helpful? Give feedback.
-
@hassanctech @MushMal ec2 instance/iam roles are still not supported. |
Beta Was this translation helpful? Give feedback.
-
I wish I had seen this 3 days ago, I've been bashing my head trying to get kvssink to work with Cognito Identity Pools in Python In case anybody else is going through this:
then you call Gst.parse_launch , but without any key parameters - the README really needs updating to cover this. How amenable are the maintainers to users doing that? |
Beta Was this translation helpful? Give feedback.
-
We'd love your contribution! Feel free to open a PR. |
Beta Was this translation helpful? Give feedback.
-
Has there been any progress on this? I'm looking to stream video into KVS using an ECS task. It works for a while, but I then get an authentication error (presumably because my credentials time out) and the only way I've been able to address it so far is to restart GStreamer with new credentials each time it errors. This isn't ideal, and results in a gap in the stream as it restarts (and sometimes, it seems to just hang after bad credentials rather than exiting). I'm getting the credentials and running GStreamer/kvssink as follows.
It would be great if there was an easy way of using kvssink in this situation, where it would automatically get the latest credentials from the container, rather than having to run the above code in a loop! If this is already possible somehow, please do let me know. |
Beta Was this translation helpful? Give feedback.
-
The https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/tree/master/kinesis-video-gstreamer-plugin gstreamer plugin should support reading credentials from ~/.aws/credentials with profile support and similar - like the AWS C++ sdk.
It should also take a region as a parameter instead of having to set the AWS_DEFAULT_REGION environment variable.
It looks like this might be possible if I pass in aws_region into the sink? https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/kinesis-video-gstreamer-plugin/plugin-src/gstkvssink.cpp#L302
That isn't documented anywhere other than the code though.
Beta Was this translation helpful? Give feedback.
All reactions