1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update demo script, remove ffmpeg publish. use ingest instead

This commit is contained in:
winlin 2014-04-07 14:33:27 +08:00
parent 4f445f2f60
commit 3d073f9ef6
3 changed files with 32 additions and 8 deletions

View file

@ -112,6 +112,18 @@ vhost demo.srs.com {
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
}
}
ingest {
enable on;
input {
type file;
url ./doc/source.200kbps.768x320.flv;
}
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enable off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
}
}
}
vhost players {
@ -145,6 +157,18 @@ vhost players {
output rtmp://127.0.0.1:[port]/[app]?vhost=players_pub/[stream];
}
}
ingest {
enable on;
input {
type file;
url ./doc/source.200kbps.768x320.flv;
}
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enable off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/demo;
}
}
}
vhost players_pub {