You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: source/agent/audio/agent.toml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,14 @@ max_load = 0.85 #default: 0.85
23
23
host = "localhost"#default: "localhost"
24
24
port = 5672#default: 5672
25
25
26
+
[capacity]
27
+
#The ISP list this agent is able to handle.
28
+
#If the ISP list is set to be non-empty, only the creating token requests with preference.ips being matched with one element of this list will be scheduled to this agent.
29
+
isps = [] #default: [], which means all ISPs.
30
+
#The region list this agent prefers to handle
31
+
#If the region list is set to be non-empty, the creating token requests with preference.region being matched with one element of this list will be priorly scheduled to this agent.
32
+
regions = [] #default: [], which means all regions.
33
+
26
34
[internal]
27
35
#The IP address used for internal-cluster media spreading. Will use the IP got from the 'network_interface' item if 'ip_address' is not specified or equal to "".
Copy file name to clipboardExpand all lines: source/agent/streaming/agent.toml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,13 @@ max_load = 0.85 #default: 0.85
21
21
#The bandwidth of network-interface used for RTSP/RTMP connections.
22
22
network_max_scale = 1000#unit: Mbps
23
23
24
+
[capacity]
25
+
#The ISP list this agent is able to handle.
26
+
#If the ISP list is set to be non-empty, only the creating token requests with preference.ips being matched with one element of this list will be scheduled to this agent.
27
+
isps = [] #default: [], which means all ISPs.
28
+
#The region list this agent prefers to handle
29
+
#If the region list is set to be non-empty, the creating token requests with preference.region being matched with one element of this list will be priorly scheduled to this agent.
30
+
regions = [] #default: [], which means all regions.
#The max CPU/GPU load under which this worker can take new tasks.
19
19
max_load = 0.85#default: 0.85
20
20
21
+
[capacity]
22
+
#The ISP list this agent is able to handle.
23
+
#If the ISP list is set to be non-empty, only the creating token requests with preference.ips being matched with one element of this list will be scheduled to this agent.
24
+
isps = [] #default: [], which means all ISPs.
25
+
#The region list this agent prefers to handle
26
+
#If the region list is set to be non-empty, the creating token requests with preference.region being matched with one element of this list will be priorly scheduled to this agent.
27
+
regions = [] #default: [], which means all regions.
0 commit comments