Files
olcrtc/docs/client.example.yaml

76 lines
1.3 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://jitsi.etudevs.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
# Optional planned rebuild for long-running calls.
# lifecycle:
# max_session_duration: 6h
# Optional reliability shaping for encrypted wire messages.
# traffic:
# max_payload_size: 4096
# min_delay: 5ms
# max_delay: 30ms
# 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