Files
olcrtc/docs/examples/server/server.wbstream.vp8channel.yaml
2026-05-25 19:30:35 +04:00

40 lines
1.0 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.
# Серверный конфиг: wbstream + vp8channel
# Запуск: olcrtc docs/examples/server/server.wbstream.vp8channel.yaml
mode: srv
auth:
provider: wbstream
# Для wbstream: Room ID, который вернул сервис.
# Должен совпадать с клиентом.
room:
id: "REPLACE_WITH_WB_ROOM_ID"
crypto:
# 32 байта в hex (64 символа). Сгенерировать: openssl rand -hex 32
# Можно использовать key_file: "./olcrtc.key", чтобы не хранить секрет прямо здесь.
key: "REPLACE_ME_WITH_64_HEX_CHARS" # должен совпадать с клиентом
net:
transport: vp8channel
dns: "8.8.8.8:53"
liveness:
interval: 10s
timeout: 5s
failures: 3
socks:
proxy_addr: "" # например "127.0.0.1"
proxy_port: 0 # например 1080
proxy_user: "" # необязательная auth для upstream-прокси (RFC 1929)
proxy_pass: ""
vp8:
fps: 60
batch_size: 64
data: data
debug: false