forked from ossrs/srs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e52327
commit b7d82f1
Showing
4 changed files
with
76 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# the config for srs to forward | ||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward | ||
# @see full.conf for detail config. | ||
|
||
listen 1935; | ||
max_connections 1000; | ||
pid ./objs/srs.master.pid; | ||
daemon off; | ||
srs_log_tank console; | ||
rtmps { | ||
enabled on; | ||
listen 1943; | ||
key ./conf/server.key; | ||
cert ./conf/server.crt; | ||
} | ||
vhost __defaultVhost__ { | ||
forward { | ||
rtmps on; | ||
enabled on; | ||
destination 127.0.0.1:19430; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# the config for srs to forward | ||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward | ||
# @see full.conf for detail config. | ||
|
||
listen 19350; | ||
max_connections 1000; | ||
pid ./objs/srs.slave.pid; | ||
daemon off; | ||
srs_log_tank console; | ||
rtmps { | ||
enabled on; | ||
listen 19430; | ||
key ./conf/server.key; | ||
cert ./conf/server.crt; | ||
} | ||
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 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
listen 1935; | ||
max_connections 1000; | ||
daemon off; | ||
srs_log_tank console; | ||
rtmps { | ||
enabled on; | ||
listen 1943; | ||
key ./conf/server.key; | ||
cert ./conf/server.crt; | ||
} | ||
vhost __defaultVhost__ { | ||
} |