Files
olcrtc/docs/client.example.yaml
2026-05-16 02:10:33 +03:00

66 lines
1.1 KiB
YAML

# olcrtc client config example
# Run with: olcrtc client.yaml
mode: cnc
link: direct
auth:
provider: jitsi # must match the server
# For jitsi: full conference URL (https://host/room or host/room).
# Must match the server.
room:
id: "https://meet.cryptopro.ru/REPLACE_WITH_ROOM_NAME"
crypto:
# Or use key_file: "./olcrtc.key" to keep the secret out of this file.
key: "REPLACE_ME_WITH_64_HEX_CHARS" # must match the server
net:
transport: datachannel # must match the server
dns: "8.8.8.8:53"
liveness:
interval: 10s
timeout: 5s
failures: 3
# Local SOCKS5 listener exposed to applications
socks:
host: "127.0.0.1"
port: 8808
user: "" # optional inbound auth
pass: ""
# Direct engine mode — only when auth.provider is "none"
engine:
name: ""
url: ""
token: ""
vp8:
fps: 25
batch_size: 1
sei:
fps: 20
batch_size: 1
fragment_size: 900
ack_timeout_ms: 3000
video:
width: 1920
height: 1080
fps: 30
bitrate: "2M"
hw: none
codec: qrcode
qr_size: 0
qr_recovery: low
tile_module: 4
tile_rs: 20
data: data
debug: false