winlin

update conf file, add id for ingest.

@@ -93,7 +93,9 @@ vhost __defaultVhost__ { @@ -93,7 +93,9 @@ vhost __defaultVhost__ {
93 # vhost for ingest 93 # vhost for ingest
94 vhost ingest.srs.com { 94 vhost ingest.srs.com {
95 # ingest file/stream/device then push to SRS over RTMP. 95 # ingest file/stream/device then push to SRS over RTMP.
96 - ingest { 96 + # the name/id used to identify the ingest, must be unique in this vhost.
  97 + # ingest id is used in reload or http api management.
  98 + ingest livestream {
97 # whether enable ingest features 99 # whether enable ingest features
98 # default: off 100 # default: off
99 enable on; 101 enable on;
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 4
5 listen 1935; 5 listen 1935;
6 vhost __defaultVhost__ { 6 vhost __defaultVhost__ {
7 - ingest { 7 + ingest livestream {
8 enable on; 8 enable on;
9 input { 9 input {
10 type file; 10 type file;