mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #374: when terminate srs, cleanup to ensure FFMPEG quit.
This commit is contained in:
parent
db57a519a9
commit
567d84e997
5 changed files with 49 additions and 11 deletions
|
@ -159,6 +159,11 @@ int SrsIngester::parse_engines(SrsConfDirective* vhost, SrsConfDirective* ingest
|
|||
return ret;
|
||||
}
|
||||
|
||||
void SrsIngester::dispose()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
void SrsIngester::stop()
|
||||
{
|
||||
pthread->stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue