I was working on a use case to create a Live streaming application with ability to live stream from digital cameras,
more specifically 360 degree cameras. I thought it is going to be a really complex architecture but wanted to build something really quick to test. I looked at what AWS was offering in this space and found something interesting. A serverless Live streaming capability that scales with usage and with a pay as you go (or use) model. It made perfect sense for me and I was able to deploy the solution and test it out quickly, here's how:
Create the AWS serverless stack for Live streaming
This was the simplest, although I had to figure out few input variables for the cloudformation template. You have the reference template here: https://aws.amazon.com/solutions/implementations/live-streaming-on-aws/
I used the Live Streaming on AWS (not the one named Live Streaming on AWS with S3).
Take the cloud formation template, launch it in console, provide the CIDR block and any other information, follow the steps to finish stack creation. I chose RTMP Push as the input channel, since I was trying to live stream a 360 degree video, this might change based on your use case.
Once the stack is created, from cloud formation Outputs copy the RTMP url (or the value based on your input channel type)
Right now the channel will be OFF, this needs to be turned on after Step 2
Create a Live Stream from your laptop using OBS
Test it out
I would love for you to try this out and let me know your thoughts!
It was really helpful vishnu