mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-08 16:18:50 +00:00
expiration tag note
This commit is contained in:
3
5E.md
3
5E.md
@@ -74,6 +74,7 @@ Each segment of the stream is a [NIP-94](94.md) event which describes where the
|
|||||||
["index", "1234"],
|
["index", "1234"],
|
||||||
["url", "https://example.com/1234.ts"],
|
["url", "https://example.com/1234.ts"],
|
||||||
["fallback", "https://another.com/1234.ts"],
|
["fallback", "https://another.com/1234.ts"],
|
||||||
|
["expiration", "1752752349"],
|
||||||
["service", "blossom"],
|
["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.
|
`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
|
## Implementors
|
||||||
|
|
||||||
### Consumers
|
### Consumers
|
||||||
|
|||||||
Reference in New Issue
Block a user