mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #149, RTMP/HTTP support bind to <[ip:]port>. 2.0.148
This commit is contained in:
parent
fcab17741c
commit
b6feb0742f
12 changed files with 148 additions and 83 deletions
|
@ -3,7 +3,9 @@
|
|||
#############################################################################################
|
||||
# RTMP sections
|
||||
#############################################################################################
|
||||
# the rtmp listen ports, split by space.
|
||||
# the rtmp listen ports, split by space, each listen entry is <[ip:]port>
|
||||
# for example, 192.168.1.100:1935 10.10.10.100:1935
|
||||
# where the ip is optional, default to 0.0.0.0, that is 1935 equals to 0.0.0.0:1935
|
||||
listen 1935;
|
||||
# the pid file
|
||||
# to ensure only one process can use a pid file
|
||||
|
@ -106,7 +108,9 @@ http_api {
|
|||
# whether http api is enabled.
|
||||
# default: off
|
||||
enabled on;
|
||||
# the http api port
|
||||
# the http api listen entry is <[ip:]port>
|
||||
# for example, 192.168.1.100:1985
|
||||
# where the ip is optional, default to 0.0.0.0, that is 1985 equals to 0.0.0.0:1985
|
||||
# default: 1985
|
||||
listen 1985;
|
||||
# whether enable crossdomain request.
|
||||
|
@ -127,7 +131,9 @@ http_server {
|
|||
# whether http streaming service is enabled.
|
||||
# default: off
|
||||
enabled on;
|
||||
# the http streaming port
|
||||
# the http streaming listen entry is <[ip:]port>
|
||||
# for example, 192.168.1.100:8080
|
||||
# where the ip is optional, default to 0.0.0.0, that is 8080 equals to 0.0.0.0:8080
|
||||
# @remark, if use lower port, for instance 80, user must start srs by root.
|
||||
# default: 8080
|
||||
listen 8080;
|
||||
|
@ -162,6 +168,7 @@ stream_caster {
|
|||
# the listen port for stream caster.
|
||||
# for mpegts_over_udp caster, listen at udp port. for example, 8935.
|
||||
# for rtsp caster, listen at tcp port. for example, 554.
|
||||
# TODO: support listen at <[ip:]port>
|
||||
listen 8935;
|
||||
# for the rtsp caster, the rtp server local port over udp,
|
||||
# which reply the rtsp setup request message, the port will be used:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue