mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, query vhost detail.
This commit is contained in:
parent
b1b76a4a80
commit
01878e5a9c
4 changed files with 24 additions and 6 deletions
|
@ -7,7 +7,7 @@ daemon off;
|
|||
http_api {
|
||||
enabled on;
|
||||
listen 1985;
|
||||
crossdomain on;
|
||||
#crossdomain on;
|
||||
raw_api {
|
||||
enabled on;
|
||||
allow_reload on;
|
||||
|
|
|
@ -180,12 +180,18 @@ stream_caster {
|
|||
caster mpegts_over_udp;
|
||||
# the output rtmp url.
|
||||
# for mpegts_over_udp caster, the typically output url:
|
||||
# rtmp://127.0.0.1/live/livestream
|
||||
# rtmp://127.0.0.1/live/livestream
|
||||
# for rtsp caster, the typically output url:
|
||||
# rtmp://127.0.0.1/[app]/[stream]
|
||||
# rtmp://127.0.0.1/[app]/[stream]
|
||||
# for example, the rtsp url:
|
||||
# rtsp://192.168.1.173:8544/live/livestream.sdp
|
||||
# where the [app] is "live" and [stream] is "livestream", output is:
|
||||
# where the [app] is "live" and [stream] is "livestream", output is:
|
||||
# rtmp://127.0.0.1/live/livestream
|
||||
# for flv caster, the typically output url:
|
||||
# rtmp://127.0.0.1/[app]/[stream]
|
||||
# for example, POST to url:
|
||||
# http://127.0.0.1:8936/live/livestream.flv
|
||||
# where the [app] is "live" and [stream] is "livestream", output is:
|
||||
# rtmp://127.0.0.1/live/livestream
|
||||
output rtmp://127.0.0.1/live/livestream;
|
||||
# the listen port for stream caster.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
listen 1935;
|
||||
listen 1935 1936;
|
||||
pid ./objs/srs.pid;
|
||||
chunk_size 60000;
|
||||
ff_log_dir ./objs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue