Files
olcrtc/docs/client.example.yaml

74 lines
1.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Пример клиентского конфига olcrtc
# Запуск: olcrtc client.yaml
mode: cnc
auth:
provider: jitsi # должен совпадать с сервером
# Для jitsi: полный URL комнаты (https://host/room или host/room).
# Должен совпадать с сервером.
room:
id: "https://meet.small-dm.ru/REPLACE_WITH_ROOM_NAME"
crypto:
# Можно использовать key_file: "./olcrtc.key", чтобы не хранить секрет прямо здесь.
key: "REPLACE_ME_WITH_64_HEX_CHARS" # должен совпадать с сервером
net:
transport: datachannel # должен совпадать с сервером
dns: "8.8.8.8:53"
liveness:
interval: 10s
timeout: 5s
failures: 3
# Необязательный плановый rebuild долгих звонков.
# lifecycle:
# max_session_duration: 6h
# Необязательный лимит/pacing для зашифрованных wire-сообщений.
# traffic:
# max_payload_size: 4096
# min_delay: 5ms
# max_delay: 30ms
# Локальный SOCKS5 listener для приложений.
socks:
host: "127.0.0.1"
port: 8808
user: "" # необязательная входящая auth
pass: ""
# Прямой engine-режим: используется только при auth.provider: none.
engine:
name: ""
url: ""
token: ""
vp8:
fps: 60
batch_size: 64
sei:
fps: 60
batch_size: 64
fragment_size: 900
ack_timeout_ms: 2000
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