expiration tag note

This commit is contained in:
Kieran 2025-07-17 12:44:44 +01:00
parent 8509025e27
commit 7c587c37ea
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941
1 changed files with 3 additions and 0 deletions

3
5E.md
View File

@ -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