I think what I want to do is utilize MediaStore as a backend to MediaPackage, but it's possible mediaPackage has everything I need I just haven't been able to find any answers.
What I'm looking for is a way to record live video, and have it available for playback. I was looking at this solution from AWS for livestreaming, and while it is close to what I want I want to store the video for playback at a later date as well as broadcast the video live.
My customer also wants the ability to upload videos that were not live recorded, so I think what I want to do is add MediaStore between the lambda function and MediaPackage, so I can upload videos to MediaStore manually or setup a channel within MediaStore for live streams. Then I can have MeidaPackage reference the MediaStore to create the different file formats for consumption. The problem is that MediaPackage doesn't accept a MediaStore endpiont, only an S3 endpoint.
Any advice? TTIA