From 535366b90c170691842311a3898a3d83d744ef75 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 02:32:59 +0200 Subject: refactor(node): move video streaming out of webrtc_server StreamingMixin in transport/webrtc/apps/streaming.py: stream credit, handover, the transcode slots and _stream_video_inner, moved unchanged. Co-Authored-By: Claude Opus 5.5 --- docs/MESHBAY_NODE_PROTOCOL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/MESHBAY_NODE_PROTOCOL.md') diff --git a/docs/MESHBAY_NODE_PROTOCOL.md b/docs/MESHBAY_NODE_PROTOCOL.md index c3db019..4e0983d 100644 --- a/docs/MESHBAY_NODE_PROTOCOL.md +++ b/docs/MESHBAY_NODE_PROTOCOL.md @@ -2307,12 +2307,12 @@ LP(x) = uint32be(len(x)) || x every field, no exceptions | `MAX_LEASELESS_IN_FLIGHT` / `LEASELESS_IDLE_SECS` | 12 files / 60 s | ” | | `TRANSFER_SWEEP_SECS` | 15 s | `webrtc_server.py` | | Lease watchdog (client) | 60 s, then re-ask | `transport.js` | -| `STREAM_SEGMENT_SIZE` | 256 KiB | `webrtc_server.py` | +| `STREAM_SEGMENT_SIZE` | 256 KiB | `webrtc/apps/streaming.py` | | `STREAM_MAX_CREDIT` | 256 | ” | | `STREAM_CREDIT_TIMEOUT` / `_POLL` | 120 s / 3 s | ” | | Client stream credits | 24 | `transport.js` | -| `MAX_CONCURRENT_TRANSCODES` | 8 | `webrtc_server.py` | -| Link preview rate | 15/conn, 60/node per 60 s; cache 1 h × 256 | ” | +| `MAX_CONCURRENT_TRANSCODES` | 8 | `webrtc/apps/streaming.py` | +| Link preview rate | 15/conn, 60/node per 60 s; cache 1 h × 256 | `webrtc_server.py` | | ICE gathering deadline | 4 s | `transport.js` | | Signaling: max SDP, pending per user, rate | 16 KiB, 3, 30/min, 15 s answer timeout | `api/signaling.py` | | GEK | 256-bit, node CSPRNG | `crypto.py` | -- cgit v1.2.3