Skip to content

Commit

Permalink
Threads-Hybrid: Support mulitple hybrid/stream servers
Browse files Browse the repository at this point in the history
1. For hybrid RTMP/HTTP/RTC servers.
2. Config hybrids in threads.
3. Get hybrid server config with index.
  • Loading branch information
winlinvip committed Apr 26, 2021
1 parent 6e2de90 commit 3367956
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 106 deletions.
4 changes: 4 additions & 0 deletions trunk/conf/full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ threads {
# without proxy by hybrid(except the few head packets).
# Default: off
async_tunnel off;
# The number of hybrid threads to use, MUST >=1.
# Note that there MUST be same number of stream sections.
# Default: 1
hybrids 1;
# CPU set for affinity, for example:
# 0 means CPU0
# 0-3 means CPU0, CPU1, CPU2
Expand Down
Loading

0 comments on commit 3367956

Please sign in to comment.