Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
feat: updae to pub/sub pc (two-pc)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgojin committed Nov 27, 2020
1 parent b56f2c2 commit 9f0c2a2
Show file tree
Hide file tree
Showing 12 changed files with 761 additions and 289 deletions.
20 changes: 17 additions & 3 deletions configs/docker/sfu.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ pprof = ":6062"
# data center id
dc = "dc1"

[log]
level = "info"

[etcd]
# ["ip:port", "ip:port"]
addrs = ["etcd:2379"]

[nats]
url = "nats://nats:4222"

[sfu]
# Ballast size in MiB, will allocate memory to reduce the GC trigger upto 2x the
# size of ballast. Be aware that the ballast should be less than the half of memory
# available.
ballast = 0

[router]
# Limit the remb bandwidth in kbps
# zero means no limits
Expand All @@ -39,6 +42,13 @@ enabletemporallayer = false
# username = "awsome"
# credential = "awsome"

# sdp semantics:
# "unified-plan"
# "plan-b"
# "unified-plan-with-fallback"
sdpsemantics = "unified-plan"

[webrtc.candidates]
# In case you're deploying ion-sfu on a server which is configured with
# a 1:1 NAT (e.g., Amazon EC2), you might want to also specify the public
# address of the machine using the setting below. This will result in
Expand All @@ -49,3 +59,7 @@ enabletemporallayer = false
# if the sfu is deployed in a DMZ between two 1-1 NAT for internal and
# external users.
# nat1to1 = ["1.2.3.4"]
# icelite = true

[log]
level = "info"
Loading

0 comments on commit 9f0c2a2

Please sign in to comment.