You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 53.md
+21-28Lines changed: 21 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ Live Activities
6
6
7
7
`draft``optional`
8
8
9
-
Service providers want to offer live activities to the Nostr network in such a way that participants can easily log and query by clients. This NIP describes a general framework to advertise the involvement of pubkeys in such live activities.
9
+
This NIP introduces event kinds to advertise live spaces and the participation of pubkeys in them.
10
10
11
-
## Concepts
11
+
## Live Streaming
12
12
13
-
### Live Event
13
+
A special event with `kind:30311` "Live Streaming Event" is defined as an _addressable event_ whose tags advertise the content and participats of a live stream.
14
14
15
-
A special event with `kind:30311` "Live Event" is defined as an _addressable event_ of public `p` tags. Each `p` tag SHOULD have a **displayable** marker name for the current role (e.g. `Host`, `Speaker`, `Participant`) of the user in the event and the relay information MAY be empty. This event will be constantly updated as participants join and leave the activity.
15
+
Each `p` tag SHOULD have a **displayable** marker name for the current role (e.g. `Host`, `Speaker`, `Participant`) of the user in the event and the relay information MAY be empty. This event will be constantly updated as participants join and leave the activity.
16
16
17
17
For example:
18
18
@@ -69,7 +69,7 @@ Event `kind:1311` is live chat's channel message. Clients MUST include the `a` t
69
69
{
70
70
"kind":1311,
71
71
"tags": [
72
-
["a", "30311:<Community event author pubkey>:<d-identifier of the community>", "<Optional relay url>", "root"],
72
+
["a", "30311:<Community event author pubkey>:<d-identifier of the community>", "<Optional relay url>"],
73
73
],
74
74
"content":"Zaps to live streams is beautiful.",
75
75
// other fields...
@@ -84,13 +84,9 @@ Event `kind:1311` is live chat's channel message. Clients MUST include the `a` t
84
84
85
85
Hosts may choose to pin one or more live chat messages by updating the `pinned` tags in the live event kind `30311`.
86
86
87
-
##Use Cases
87
+
### Examples
88
88
89
-
Common use cases include meeting rooms/workshops, watch-together activities, or event spaces, such as [zap.stream](https://zap.stream).
90
-
91
-
## Example
92
-
93
-
### Live Streaming
89
+
#### Live Streaming
94
90
95
91
```json
96
92
{
@@ -114,7 +110,7 @@ Common use cases include meeting rooms/workshops, watch-together activities, or
114
110
}
115
111
```
116
112
117
-
### Live Streaming chat message
113
+
####Live Streaming chat message
118
114
119
115
```json
120
116
{
@@ -130,18 +126,13 @@ Common use cases include meeting rooms/workshops, watch-together activities, or
130
126
}
131
127
```
132
128
133
-
## Interactive Rooms and Meetings
134
-
-----
135
-
136
-
`draft``optional`
129
+
## Meeting Spaces
137
130
138
-
Service providers want to offer Interactive Rooms to the Nostr network in such a way that participants can easily log and query by clients. This NIP describes a general framework to advertise rooms and their associated events.
131
+
Meeting spaces contain one or more video/audio rooms where users can join and participate in the streaming.
139
132
140
-
##Concepts
133
+
### Meeting Space Event (kind:30312)
141
134
142
-
### Interactive Room (kind:30312)
143
-
144
-
A special event with `kind:30312` "Interactive Room" defines the configuration and properties of a virtual interactive space. Each room has a unique identifier and can host multiple events/meetings.
135
+
A special event with `kind:30312` "Space Host" defines the configuration and properties of a virtual interactive space. Each space has a unique identifier and can host multiple events/meetings.
145
136
146
137
```jsonc
147
138
{
@@ -162,19 +153,20 @@ A special event with `kind:30312` "Interactive Room" defines the configuration a
162
153
}
163
154
```
164
155
165
-
Room properties:
156
+
Space properties:
166
157
* MUST be either open, private or closed. Closed means the room is not in operation.
167
158
* MAY specify access control policy for private rooms (e.g. invite-only, payment required)
168
159
* MAY persist when not in use
169
160
* MUST have at least one provider with "Host" role
170
161
* MAY have multiple providers with different roles
162
+
171
163
Provider roles (p tags):
172
164
* Host: Full room management capabilities
173
165
* Moderator: Room moderation capabilities
174
166
* Speaker: Allowed to present/speak
175
167
* Optional proof field for role verification
176
168
177
-
### Room Meeting (kind:30313)
169
+
### Meeting Room Events (kind:30313)
178
170
179
171
A special event with kind:30313 represents a scheduled or ongoing meeting within a room. It MUST reference its parent room using the d tag.
180
172
@@ -183,7 +175,7 @@ A special event with kind:30313 represents a scheduled or ongoing meeting within
0 commit comments