Good expiration time for streaming pre-signed Amazon Cloudfront URLs

If I create streaming distribution on Cloudfront to distribute video files to the player, what time period should I set for a pre-signed URL? In other words, can I make the url expire after 1 minute for a 20 minute video since streaming has already started? Or do I need to set it as more than the duration of the video?

I want the url to expire as soon as possible without compromising the user experience.

+4
source share
1 answer

You can set it for 1 min. Afaik it just means that the link is available for the moment when it was available for the first time, so the stream works fine if it is rmtp.

+3
source

Source: https://habr.com/ru/post/1415726/


All Articles