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

Ingest: Still use -re for stream to ingest HLS better.

This commit is contained in:
winlin 2022-08-31 13:30:13 +08:00
parent dd37a041b9
commit 7d47017a00
8 changed files with 32 additions and 27 deletions

View file

@ -73,7 +73,7 @@ vhost demo.srs.com {
achannels 2;
aparams {
}
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
output rtmp://127.0.0.1:[port]/[app]/[stream]_[engine]?vhost=[vhost];
}
engine sd {
enabled on;
@ -96,7 +96,7 @@ vhost demo.srs.com {
achannels 2;
aparams {
}
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
output rtmp://127.0.0.1:[port]/[app]/[stream]_[engine]?vhost=[vhost];
}
}
ingest {
@ -108,7 +108,7 @@ vhost demo.srs.com {
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enabled off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
output rtmp://127.0.0.1:[port]/live/livestream?vhost=[vhost];
}
}
}
@ -154,7 +154,7 @@ vhost players {
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enabled off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/demo;
output rtmp://127.0.0.1:[port]/live/demo?vhost=[vhost];
}
}
}