Building a Media Playlist API with Python and AWS Lambda - Episode 183
In this video, I dive into creating a Python-based AWS Lambda function to generate media playlists (HLS `.m3u8` files). We explore setting up an HTTP API via API Gateway, handling path parameters for stream IDs, and troubleshooting common challenges during development, such as working with DynamoDB queries and Boto3 limitations.
I walk through the logic for processing data, including parsing DynamoDB responses, structuring metadata, and ensuring the system handles errors effectively using Python exceptions. I also share insights about modern development workflows, coding practices in Python, and my preferences for programming languages like TypeScript and Rust for various projects.
Later in the video, I discuss plans for integrating this functionality into a front-end video editor and the backend architecture, considering authentication, CloudFront integration, and API access paths. Join me as I work through setting up a seamless development loop involving deployment to AWS, testing Lambda updates, and debugging DynamoDB configurations.
Whether you're interested in API development, working with AWS Lambda, or just curious about how this all ties together in practice, you'll find this video educational and engaging.
🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs