V0.1.9 (#26)
* fix: prevent duplicate call link detection (#23) Co-authored-by: Maksim <maksim@MacBook-Pro-Maksim.local> * bot improvements (#25) Co-authored-by: Maksim <maksim@MBP-Maksim.lan> * headless vk video creator * add scroll to logs * allow peer reconnection * add todo about topology changes, kick stale peer to prevent SFU topology * unified relay for headless * remove relay binaries, extend build-go.sh to build them * refactor constants * limit headless resource usage * nuke everyone and yourself at sfu topology changes * add headless for creator * save bot enabled state * increment release version --------- Co-authored-by: Nevenuga <80585376+Nevenuga@users.noreply.github.com> Co-authored-by: Maksim <maksim@MacBook-Pro-Maksim.local> Co-authored-by: Maksim <maksim@MBP-Maksim.lan> Co-authored-by: kulikov <user@Mac.lan>
This commit is contained in:
37 files changed
+2589
-133
No files matched your search
@@ -126,10 +126,12 @@ Download and run the Electron app from [GitHub Releases](../../releases). It bun
|
||||
|
||||
1. Open the app
|
||||
2. Select tunnel mode (DC or Pion Video)
|
||||
3. Click "VK Call" or "Telemost"
|
||||
4. Log in, create a call
|
||||
3. Click "VK" or "Telemost"
|
||||
4. Log in, **create a new call** from the app
|
||||
5. Copy the join link, send it to the joiner
|
||||
|
||||
**Important:** The call must be created from within the Creator app. Joining an existing call from the app will not work - the JS hooks must be present from the moment the call starts.
|
||||
|
||||
### Joiner side (censored, Android)
|
||||
|
||||
1. Download and install `whitelist-bypass.apk` from [GitHub Releases](../../releases)
|
||||
@@ -189,6 +191,34 @@ The Go relay is split into platform-specific files:
|
||||
|
||||
This allows cross-compiling the relay for macOS/Windows/Linux without CGo or Android NDK.
|
||||
|
||||
### Headless creator
|
||||
|
||||
Pure Go creator that creates VK calls via API without a browser. No Electron, no JS hooks - Go Pion PeerConnection handles the DataChannel tunnel directly.
|
||||
|
||||
```sh
|
||||
# Build
|
||||
cd headless && go build -o headless-creator .
|
||||
|
||||
# Run
|
||||
./headless-creator --cookies cookies.json [--peer-id <vk_peer_id>] [--resources <mode>]
|
||||
```
|
||||
|
||||
- `--cookies` - path to VK cookies exported as JSON (`[{"name":"..","value":".."},...]`). Use the "Export Cookies" button in the Creator app to get this file
|
||||
- `--peer-id` - VK peer_id for the call (optional)
|
||||
- `--resources` - resource mode (see below)
|
||||
|
||||
**Resource modes:**
|
||||
|
||||
| Mode | read-buf | max-dc-buf | mem-limit | Use case |
|
||||
|---|---|---|---|---|
|
||||
| `moderate` | 16KB | 1MB | 64MB | Low memory environments, VPS |
|
||||
| `default` | 32KB | 4MB | 128MB | General use |
|
||||
| `unlimited` | 64KB | 8MB | 256MB | Maximum throughput |
|
||||
|
||||
- `read-buf` - TCP read buffer size. Smaller = more frequent backpressure checks, less bursty memory
|
||||
- `max-dc-buf` - pauses TCP reads when DataChannel buffered amount exceeds this. Prevents SCTP pending queue from growing unbounded
|
||||
- `mem-limit` - Go runtime soft memory limit (`debug.SetMemoryLimit`), makes GC more aggressive near the cap
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
Reference in new issue
Block a user