upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran <kieran@harkin.me>2025-07-17 12:27:50 +0100
committerKieran <kieran@harkin.me>2025-07-17 12:28:42 +0100
commit5f33a3d341bae5fa200f3d7551e13a2ff520104b (patch)
tree15e0d61260ea0adb9efabcc0e6586645019ac2d5
parent39fbfb5ada692dcbec0a699e82bd963ebda583c5 (diff)
minor updates
-rw-r--r--5E.md13
-rw-r--r--README.md3
2 files changed, 9 insertions, 7 deletions
diff --git a/5E.md b/5E.md
index badecae..b4b7075 100644
--- a/5E.md
+++ b/5E.md
@@ -42,11 +42,10 @@ Example:
42 "m video/mp4", 42 "m video/mp4",
43 "d 1080p-fmp4" 43 "d 1080p-fmp4"
44 ], 44 ],
45 ["t", "hashtag"] 45 ["t", "hashtag"],
46 ["starts", "<unix timestamp in seconds>"],
47 ["ends", "<unix timestamp in seconds>"],
48 ["relays", "wss://one.com", "wss://two.com", /*...*/], 46 ["relays", "wss://one.com", "wss://two.com", /*...*/],
49 ["pinned", "<event id of pinned live chat message>"], 47 ["pinned", "<event id of pinned live chat message>"],
48 ["goal", "<event id of stream goal>"]
50 ], 49 ],
51 "content": "", 50 "content": "",
52 // other fields... 51 // other fields...
@@ -96,11 +95,11 @@ Clients wishing to implement a player should use [MSE](https://developer.mozilla
96 95
97Other services MAY provide a compatability layer with [NIP-53](53.md) live streams by producing HLS playlists over a N94 Stream. 96Other services MAY provide a compatability layer with [NIP-53](53.md) live streams by producing HLS playlists over a N94 Stream.
98 97
99Clients SHOULD follow only a single variant by using a filter like this: 98Clients SHOULD listen for new segments using a filter like this:
100 99
101`{"kinds":[1063],"#e":["<id-of-kind-5053>"],"#d":["1080p"],"limit":10}` 100`{"kinds":[1063],"#e":["<id-of-kind-1053>"],"limit":10}`
102 101
103Leaving the subscription open will allow clients to be notified immediately as segments are published and can fetch those segments and append them to the player buffer. 102Leaving the subscription open will allow clients to be notified immediately as segments are published and can fetch those segments and append them to the player buffer, enabling live playback without delays.
104 103
105### Producers 104### Producers
106 105
@@ -116,4 +115,4 @@ Using `expiration` tags on N94 segments and deleting segment files from servers
116 115
117### Producer 116### Producer
118 117
119[zap-stream-core](https://github.com/v0l/zap-stream-core/blob/ccb2add6073e5bb68191c42613c34f66583e34fc/crates/zap-stream/src/overseer.rs#L340-L380) 118[n94](https://github.com/v0l/zap-stream-core/tree/main/crates/n94)
diff --git a/README.md b/README.md
index ff7e9bb..4ec5342 100644
--- a/README.md
+++ b/README.md
@@ -102,9 +102,11 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
102- [NIP-96: HTTP File Storage Integration](96.md) 102- [NIP-96: HTTP File Storage Integration](96.md)
103- [NIP-98: HTTP Auth](98.md) 103- [NIP-98: HTTP Auth](98.md)
104- [NIP-99: Classified Listings](99.md) 104- [NIP-99: Classified Listings](99.md)
105- [NIP-5E: Nostr Live Streams](5E.md)
105- [NIP-B0: Web Bookmarks](B0.md) 106- [NIP-B0: Web Bookmarks](B0.md)
106- [NIP-B7: Blossom](B7.md) 107- [NIP-B7: Blossom](B7.md)
107- [NIP-C0: Code Snippets](C0.md) 108- [NIP-C0: Code Snippets](C0.md)
109- [NIP-7D: Threads](7D.md)
108- [NIP-C7: Chats](C7.md) 110- [NIP-C7: Chats](C7.md)
109 111
110## Event Kinds 112## Event Kinds
@@ -147,6 +149,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
147| `1021` | Bid | [15](15.md) | 149| `1021` | Bid | [15](15.md) |
148| `1022` | Bid confirmation | [15](15.md) | 150| `1022` | Bid confirmation | [15](15.md) |
149| `1040` | OpenTimestamps | [03](03.md) | 151| `1040` | OpenTimestamps | [03](03.md) |
152| `1053` | Live Stream | [5E](5E.md) |
150| `1059` | Gift Wrap | [59](59.md) | 153| `1059` | Gift Wrap | [59](59.md) |
151| `1063` | File Metadata | [94](94.md) | 154| `1063` | File Metadata | [94](94.md) |
152| `1068` | Poll | [88](88.md) | 155| `1068` | Poll | [88](88.md) |