Azure media streaming locators expiry

Viewed 229
2 Answers

You can put some logic in to check the the expiry dates of the ILocator and then delete it.

You can call ILocator.ExpirationDateTime.ToUniversalTime() to find the date/time that it will or did expire.

When a locator is expired you need to delete if it you are at the 100 locator limit before you can add a new one. You can also call ILocator.Update(DateTime newExpiryTime)

For more details, you can refer David's answer in this post.

Yes, expired streaming locators count towards the 100 locators per asset limit so you will need to actively clean the expired ones up if you are at risk of hitting this limit.

Related