mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge SRS2
This commit is contained in:
commit
f97260be1d
8 changed files with 119 additions and 2 deletions
|
@ -992,6 +992,13 @@ void SrsHls::dispose()
|
|||
on_unpublish();
|
||||
}
|
||||
|
||||
// Ignore when hls_dispose disabled.
|
||||
// @see https://github.com/ossrs/srs/issues/865
|
||||
int hls_dispose = _srs_config->get_hls_dispose(req->vhost);
|
||||
if (!hls_dispose) {
|
||||
return;
|
||||
}
|
||||
|
||||
controller->dispose();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue