Skip to content

Commit 3367956

Browse files
committed
Threads-Hybrid: Support mulitple hybrid/stream servers
1. For hybrid RTMP/HTTP/RTC servers. 2. Config hybrids in threads. 3. Get hybrid server config with index.
1 parent 6e2de90 commit 3367956

File tree

3 files changed

+207
-106
lines changed

3 files changed

+207
-106
lines changed

trunk/conf/full.conf

+4
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ threads {
129129
# without proxy by hybrid(except the few head packets).
130130
# Default: off
131131
async_tunnel off;
132+
# The number of hybrid threads to use, MUST >=1.
133+
# Note that there MUST be same number of stream sections.
134+
# Default: 1
135+
hybrids 1;
132136
# CPU set for affinity, for example:
133137
# 0 means CPU0
134138
# 0-3 means CPU0, CPU1, CPU2

0 commit comments

Comments
 (0)