Chrome – WebRTC media-devices //Query Media Devices async function getConnectedDevices(type) { const devices = await navigator.mediaDevices.enumerateDevices(); return devices.filter(device => device.kind
Author: Yvonne Lu
AWS Firehose to S3 Prefix
https://github.com/aws-samples/aws-blog-firehose-custom-prefixes-for-s3-objects Destination configuration default Intermediate S3 prefix (Optional) To use the default prefix for Amazon S3 objects, leave this option
nodejs async examples
Calling async function from sync: async function wait() { await new Promise(resolve => setTimeout(resolve, 1000)); return 10; } function f()
Twilio Programmable Voice
Voice Insights Get Conference participants from conference insights curl -G https://insights.twilio.com/v1/Conferences/{{conf sid}}/Participants -u accountsid:token Voice SDK connectivity requirements https://www.twilio.com/docs/voice/sdks/network-connectivity-requirements#signalling-connectivity-requirements “Voice
Twilio Migration Conversation API
Replacing the chat widget for 2.0: Example webchat REACT app Another webchat UI sample Get Started with Flex Conversations Handle
AWS Stream from DDB to Datalake
Streaming Amazon DynamoDB data into a centralized data lake We use an AWS Key Management Service (AWS KMS) key for server-side encryption
Twilio Event Stream
Trust that your events will be queued if your system goes down and delivered as soon as they’re back up
AWS Serverless Notes YAML…etc
Serverless guide This is slightly different than regular cloudformation yaml file syntax. To include other files in the main yaml
Lambda and SQS
Here’s how to avoid lambda throttling when lambda concurrency is limited: The maximum concurrency setting limits the number of concurrent
Securely Calling AWS Lambda from React
Use API Gateway Lambda authorizers A Lambda authorizer is useful if you want to implement a custom authorization scheme that