- Newest
- Most votes
- Most comments
Thank you for your question about streaming video from your ESP32 camera to Amazon Kinesis Video Streams. After reviewing the official AWS documentation on Kinesis Video Streams Producer Libraries, given your current setup, you may need to adjust your approach:
-
Instead of sending individual base64 encoded images via MQTT, consider implementing the C++ Producer Library directly on your ESP32.
-
If you prefer to keep your current setup with Lambda, you'll need to find a way to convert your series of images into a supported video format before sending to Kinesis Video Streams.
-
The direct use of the PutMedia API, as you're currently attempting, is not covered in the Producer SDK documentation. The libraries are designed to abstract away these low-level details.
For implementation details and code examples, refer to the "Kinesis Video Streams Producer SDK" section in the documentation. https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-sdk.html
If you decide to use the C++ Producer Library, you'll find guidelines for building and running the library in the documentation.
Remember, the Producer Libraries are designed to handle much of the complexity of streaming to Kinesis Video Streams. If you continue to face issues, you might want to reconsider your overall architecture to more closely align with the intended use of these libraries.
Relevant content
- Accepted Answerasked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago