mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-05-26 23:19:47 +00:00
50 lines
823 B
YAML
50 lines
823 B
YAML
# olcrtc failover config example
|
|
# Use the same profile order on both peers.
|
|
|
|
mode: srv
|
|
link: direct
|
|
|
|
crypto:
|
|
key_file: "./olcrtc.key"
|
|
|
|
net:
|
|
dns: "1.1.1.1:53"
|
|
|
|
liveness:
|
|
interval: 10s
|
|
timeout: 5s
|
|
failures: 3
|
|
|
|
# Optional planned rebuild for each active profile.
|
|
# lifecycle:
|
|
# max_session_duration: 6h
|
|
|
|
# Optional reliability shaping for encrypted wire messages.
|
|
# traffic:
|
|
# max_payload_size: 4096
|
|
# min_delay: 5ms
|
|
# max_delay: 30ms
|
|
|
|
data: data
|
|
|
|
profiles:
|
|
- name: wb-vp8
|
|
auth:
|
|
provider: wbstream
|
|
room:
|
|
id: "REPLACE_WITH_WB_ROOM_ID"
|
|
net:
|
|
transport: vp8channel
|
|
|
|
- name: jitsi-datachannel
|
|
auth:
|
|
provider: jitsi
|
|
room:
|
|
id: "https://meet.example.org/REPLACE_WITH_ROOM_NAME"
|
|
net:
|
|
transport: datachannel
|
|
|
|
failover:
|
|
retry_delay: 2s
|
|
max_cycles: 0
|