From 7c587c37ea1999a11abdd0bfdc20453a6dd6b864 Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 17 Jul 2025 12:44:44 +0100 Subject: [PATCH] expiration tag note --- 5E.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/5E.md b/5E.md index d3acd00b..83e59887 100644 --- a/5E.md +++ b/5E.md @@ -74,6 +74,7 @@ Each segment of the stream is a [NIP-94](94.md) event which describes where the ["index", "1234"], ["url", "https://example.com/1234.ts"], ["fallback", "https://another.com/1234.ts"], + ["expiration", "1752752349"], ["service", "blossom"], ... ] @@ -88,6 +89,8 @@ Aside from the standard NIP-94 tags: `service` tag should be used for extended censorship resitance by looking up the appropriate server list (Blossom) of the uploader and checking for files on alternate servers. +An [NIP-40](40.md) `expiration` tag MAY be used to automatically clean up segments after a specified time, which is useful for live streams that are not intended to persist. Producers SHOULD also automatically delete segment files from file servers. + ## Implementors ### Consumers