Browse through the questions and answers listed below or filter and sort to narrow down your results.
Best setup to broadcast live stream (video+chat) from webcam
I'm looking to build out web-based live streaming capabilities & video chat client for my application, similar to the twitch but not as heavy or highly trafficked. While I've looked at some of the many services offered by AWS, there's just so many (MediaLive, IVS, Kinesis etc) that it's hard to know which service or combo of services would be the best fit and so I'm looking for some general guidance from anyone who has experience setting this up, or if there are existing guides that may be of help. In general, here are my requirements - Broadcasters should be able to broadcast via their webcam/media device in the browser (ie. via getUserMedia) - Broadcasts will be 1 to many, with only the broadcaster streaming video and likely an average of 20-30 audience members consuming the stream - Audience members would use a separate front end client, which should also be web based - I would like to be able to include a user/chat function, so that users can chat globally, thus will need live 2-way data stream capabilities, but not sure if this is best handled by the media streaming service itself, web sockets, WebRTC etc I could possibly utilize existing JS libraries to capture media as well as a viewing/chat application or even develop my own, but I'm also wondering if there are AWS recommended JS libraries or guides that can aid in this as well. hope someone can help me get started, thanks!
How to efficiently retrieve tokens from Cognito while using amplify with react-native ?
I am creating an app using Amplify with react-native. For backend, I am using **Cognito token** for current user using `Auth.currentSession()`. The issue with this approach is that every time i need to call backend server, I need to call `Auth.currentSession()`. Is there any other approach I can use apart from increasing token validity ?
Cognito custom authentication flow - initiateAuth giving error
Cloudfront CSP headers limited to 1784 characters
Hello all, Recently (November 2nd 2021) AWS Cloudfront started supporting CORS Headers directly, without use of a lambda (https://forums.aws.amazon.com/ann.jspa?annID=8973). Unfortunately, that does not seem to support more than 1784 characters for the CSP (Content Security Policy) header. The error (from the API using Terraform) if I'm trying to set a bigger than 1784 CSP Header is: ``` Error: error creating CloudFront Response Headers Policy (anthony-test-web-response-headers-policy): InvalidArgument: The parameter Content-Security-Policy contains header value that is too big. status code: 400, request id: xxx-xxxx-xxxxxx ``` In the website I wish to deploy using CloudFront, I rather need 3x times that limit - Nginx running on EC2 is actually totally OK with such a big CSP header. Currently I'm thinking on how I can reduce my existing CSP header; but I really wish AWS Cloud Front had a bigger limit. Any explanation why? Is it a bug I should report to AWS team? Thanks
Restrict Access to Webpage with Amplify & Cognito
Running Safari browser testing in AWS
We are currently running UI tests against our application in our AWS Account against Chrome, Edge and Firefox browsers using Selenium Grid running on ECS. We would like to also run tests against the Safari browser. As Safari can't run on Docker we can't use ECS. AWS Device Farm also does not currently support Safari. We are investigating other options to run tests against Safari such as using a Safari Selenium node running on EC2 (running MacOS). Does anyone have any experience with running tests against the Safari browser in AWS?