-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
10 changed files
with
68 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,32 @@ | ||
# main config for srs. | ||
# @see full.conf for detail config. | ||
|
||
listen 1935; | ||
max_connections 1000; | ||
srs_log_tank file; | ||
srs_log_tank console; | ||
srs_log_file ./objs/srs.log; | ||
http_api { | ||
enabled on; | ||
listen 1985; | ||
raw_api { | ||
enabled on; | ||
allow_reload on; | ||
allow_query on; | ||
allow_update on; | ||
} | ||
} | ||
|
||
http_server { | ||
enabled on; | ||
listen 8080; | ||
dir ./objs/nginx/html; | ||
} | ||
rtc { | ||
|
||
http_api { | ||
enabled on; | ||
listen 9527; | ||
# candidate device ip: *(all interface), 192.168.1.1 ... | ||
candidate *; | ||
listen 1985; | ||
} | ||
stats { | ||
network 0; | ||
disk sda sdb xvda xvdb; | ||
} | ||
vhost __defaultVhost__ { | ||
http_remux { | ||
enabled on; | ||
mount [vhost]/[app]/[stream].flv; | ||
} | ||
rtc { | ||
enabled on; | ||
# Listen at udp://8000 | ||
listen 8000; | ||
# The * means using IP of network interface stats.network, | ||
# For example, if stats.network=0, then use IP of eth0 as candidate. | ||
# @see https://github.com/ossrs/srs/issues/307#issuecomment-599028124 | ||
candidate *; | ||
} | ||
|
||
vhost __defaultVhost__ { | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters