Commit c500c79
committed
feat: add Share Screen functionality and enhance participant control features
- Implemented Share Screen button in ViewerPage that navigates to presenter mode.
- Updated ViewerContent to include Share Screen button with appropriate navigation.
- Enhanced LiveKit token generation to allow authenticated participants to publish in SFU mode.
- Added tests for new Share Screen functionality and participant control updates.
- Created new API routes for managing participant control and transferring host roles.
- Updated HostSessionPage to handle host transfer and moderation actions based on user roles.
- Improved session management and error handling in various API routes.
- Refactored chat and participant components to support new features and improve type safety.1 parent a3716a0 commit c500c79
18 files changed
Lines changed: 917 additions & 161 deletions
File tree
- apps
- desktop/src/renderer
- components
- capture
- routes
- web/src
- app
- api
- livekit/token
- sessions/[sessionId]/participants/[participantId]
- control
- host
- host/[id]
- session/[id]
- components
- chat
- participants
Lines changed: 37 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 260 | + | |
269 | 261 | | |
270 | 262 | | |
271 | 263 | | |
| |||
353 | 345 | | |
354 | 346 | | |
355 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
356 | 383 | | |
357 | 384 | | |
358 | 385 | | |
| |||
Lines changed: 70 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
129 | 144 | | |
130 | 145 | | |
131 | 146 | | |
| |||
150 | 165 | | |
151 | 166 | | |
152 | 167 | | |
153 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
154 | 175 | | |
155 | 176 | | |
156 | 177 | | |
| |||
215 | 236 | | |
216 | 237 | | |
217 | 238 | | |
218 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
219 | 272 | | |
220 | | - | |
| 273 | + | |
221 | 274 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
225 | 278 | | |
226 | | - | |
| 279 | + | |
227 | 280 | | |
228 | 281 | | |
229 | | - | |
| 282 | + | |
230 | 283 | | |
231 | 284 | | |
232 | | - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
233 | 288 | | |
234 | | - | |
| 289 | + | |
235 | 290 | | |
236 | | - | |
237 | | - | |
238 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
239 | 294 | | |
240 | | - | |
| 295 | + | |
241 | 296 | | |
242 | 297 | | |
243 | | - | |
| 298 | + | |
244 | 299 | | |
245 | 300 | | |
246 | 301 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 302 | | |
263 | 303 | | |
264 | 304 | | |
| |||
0 commit comments