By hernun
I am using a Space API on DO and AWS s3 through a PHP library. I have a private folder of ts segments and a m3u8 list. I use a signed Url to serve the m3u8, but can’t figured out how to access the ts fragments listed on the m3u8 file. I do certainly not want give public access to the stored files. Thanks for any suggestion.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
To serve your ts fragments without providing public access, you could generate signed URLs for each of your ts fragments, similar to how you’re serving your m3u8 list.
Generally speaking, your application would serve the m3u8 file which contains the signed URLs of the ts fragments, thus allowing authorized users to access the fragments while keeping them private.
DigitalOcean Spaces API Documentation
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.