update readme

This commit is contained in:
kulikov0 committed 2026-11-07 11:45:20 +01:00
1 parent 4ad375bf00
commit bb2b13e30c
2 files changed
+7 -7

No files matched your search

+4 -4
View File
@@ -220,7 +220,7 @@ Blink has no guest access and no password login. Run the creator or the joiner w
| `--write-file <path>` | yes | yes | yes | yes | yes | yes | append the active join link to this file (one link per line) |
| `--resources <mode>` | yes | yes | yes | yes | yes | yes | `default` / `moderate` / `unlimited` / `custom` (see below); DION has no `custom` |
| `--read-buf <bytes>` | yes | yes | yes | - | yes | yes | DC/RTP read buffer; only consulted with `--resources custom` |
| `--max-dc-buf <bytes>` | yes | - | - | - | - | - | DataChannel `BufferedAmountLowThreshold`; only with `--resources custom` |
| `--max-dc-buf <bytes>` | yes | - | yes | - | yes | yes | pause sending when the DataChannel buffered amount exceeds this; only with `--resources custom` |
| `--mem-limit <bytes>` | yes | yes | yes | - | - | yes | Go soft memory limit (`debug.SetMemoryLimit`); only with `--resources custom` |
The full per-platform flag list, including the upstream SOCKS5 and local network options, is in [docs/SETUP.md](docs/SETUP.md).
@@ -242,10 +242,10 @@ Mutually exclusive with the call-creation flags (`--peer-id` for VK; the others
#### Resource modes
| Mode | `read-buf` | `max-dc-buf` (VK) | `mem-limit` |
| Mode | `read-buf` | `max-dc-buf` | `mem-limit` |
|---|---|---|---|
| `moderate` | 16 KB | 1 MB | 64 MB |
| `default` | 32 KB | 4 MB | 128 MB |
| `default` | 32 KB | 1 MB | 128 MB |
| `unlimited`| 64 KB | 8 MB | 256 MB |
| `custom` | from `--read-buf` | from `--max-dc-buf` | from `--mem-limit` |
@@ -258,7 +258,7 @@ Mutually exclusive with the call-creation flags (`--peer-id` for VK; the others
```
- `read-buf` - TCP/DC read buffer size. Smaller = more frequent backpressure checks, less bursty memory
- `max-dc-buf` - pauses TCP reads when the DataChannel buffered amount exceeds this; only wired in VK (Pion `BufferedAmountLowThreshold`)
- `max-dc-buf` - pauses sending when the DataChannel buffered amount exceeds this, resumes at half of it; VK, WB Stream, Bitrix and Blink creators, joiners use 1 MB
- `mem-limit` - Go runtime soft memory limit; makes GC more aggressive near the cap
## License
+3 -3
View File
@@ -184,7 +184,7 @@ Creator и joiner должны входить **отдельно** - один в
| `--name <name>` | - | - | да | да | - | - | Отображаемое имя в комнате |
| `--resources <mode>` | да | да | да | да | да | да | `default` / `moderate` / `unlimited` / `custom`; у DION без `custom` |
| `--read-buf <bytes>` | да | да | да | - | да | да | Размер read-буфера, только с `--resources custom` |
| `--max-dc-buf <bytes>` | да | - | - | - | - | - | Порог `BufferedAmountLowThreshold` DC, только с `--resources custom` |
| `--max-dc-buf <bytes>` | да | - | да | - | да | да | Порог буфера DC: отправка ждёт, пока буфер выше порога; только с `--resources custom` |
| `--mem-limit <bytes>` | да | да | да | - | - | да | Soft memory limit Go рантайма, только с `--resources custom` |
| `--write-file <path>` | да | да | да | да | да | да | Файл, куда записывается активная ссылка на звонок |
| `--upstream-socks <host:port>` | да | да | да | да | да | да | Гнать трафик joiner-а через локальный SOCKS5 прокси, например VPN-клиент |
@@ -214,10 +214,10 @@ SOCKS5-инбаунд VPN-клиента должен поддерживать U
### Режимы ресурсов
| Режим | `read-buf` | `max-dc-buf` (VK) | `mem-limit` | Когда использовать |
| Режим | `read-buf` | `max-dc-buf` | `mem-limit` | Когда использовать |
|---|---|---|---|---|
| `moderate` | 16 KB | 1 MB | 64 MB | VPS с малой RAM |
| `default` | 32 KB | 4 MB | 128 MB | Обычное использование |
| `default` | 32 KB | 1 MB | 128 MB | Обычное использование |
| `unlimited`| 64 KB | 8 MB | 256 MB | Максимум пропускной способности (может троттлить из-за congestion control) |
| `custom` | из `--read-buf` | из `--max-dc-buf` | из `--mem-limit` | Тонкая настройка |