|
97 | 97 | - [ServerMessage.HlsPlayable](#fishjam-ServerMessage-HlsPlayable) |
98 | 98 | - [ServerMessage.HlsUploadCrashed](#fishjam-ServerMessage-HlsUploadCrashed) |
99 | 99 | - [ServerMessage.HlsUploaded](#fishjam-ServerMessage-HlsUploaded) |
| 100 | + - [ServerMessage.NotificationBatch](#fishjam-ServerMessage-NotificationBatch) |
100 | 101 | - [ServerMessage.PeerAdded](#fishjam-ServerMessage-PeerAdded) |
101 | 102 | - [ServerMessage.PeerConnected](#fishjam-ServerMessage-PeerConnected) |
102 | 103 | - [ServerMessage.PeerCrashed](#fishjam-ServerMessage-PeerCrashed) |
@@ -1363,6 +1364,7 @@ Defines any type of message passed between FJ and server peer |
1363 | 1364 | | viewer_disconnected | [ServerMessage.ViewerDisconnected](#fishjam-ServerMessage-ViewerDisconnected) | | | |
1364 | 1365 | | streamer_connected | [ServerMessage.StreamerConnected](#fishjam-ServerMessage-StreamerConnected) | | | |
1365 | 1366 | | streamer_disconnected | [ServerMessage.StreamerDisconnected](#fishjam-ServerMessage-StreamerDisconnected) | | | |
| 1367 | +| notification_batch | [ServerMessage.NotificationBatch](#fishjam-ServerMessage-NotificationBatch) | | Batch | |
1366 | 1368 | | stream_connected | [ServerMessage.StreamConnected](#fishjam-ServerMessage-StreamConnected) | | **Deprecated.** | |
1367 | 1369 | | stream_disconnected | [ServerMessage.StreamDisconnected](#fishjam-ServerMessage-StreamDisconnected) | | **Deprecated.** | |
1368 | 1370 | | hls_playable | [ServerMessage.HlsPlayable](#fishjam-ServerMessage-HlsPlayable) | | **Deprecated.** | |
@@ -1498,6 +1500,31 @@ Notification sent when the HLS recording is successfully uploaded to AWS S3 |
1498 | 1500 |
|
1499 | 1501 |
|
1500 | 1502 |
|
| 1503 | +<a name="fishjam-ServerMessage-NotificationBatch"></a> |
| 1504 | + |
| 1505 | +### ServerMessage.NotificationBatch |
| 1506 | +Carries multiple notifications in a single wire frame. |
| 1507 | + |
| 1508 | +Constraints (documented, not schema-enforced): |
| 1509 | + - Each element's `content` MUST be a notification variant — never |
| 1510 | + Authenticated, AuthRequest, SubscribeRequest, or SubscribeResponse. |
| 1511 | + - NotificationBatch MUST NOT be nested inside another NotificationBatch. |
| 1512 | + The schema technically permits this, but senders must not emit |
| 1513 | + recursive batches and receivers may treat them as a protocol violation. |
| 1514 | + - Notifications are delivered in array order; consumers must process |
| 1515 | + them in order. |
| 1516 | + - Sent only for webhooks, for peers that . |
| 1517 | + |
| 1518 | + |
| 1519 | +| Field | Type | Label | Description | |
| 1520 | +| ----- | ---- | ----- | ----------- | |
| 1521 | +| notifications | [ServerMessage](#fishjam-ServerMessage) | repeated | | |
| 1522 | + |
| 1523 | + |
| 1524 | + |
| 1525 | + |
| 1526 | + |
| 1527 | + |
1501 | 1528 | <a name="fishjam-ServerMessage-PeerAdded"></a> |
1502 | 1529 |
|
1503 | 1530 | ### ServerMessage.PeerAdded |
|
0 commit comments