mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the hls dispose, when not cycle always dispose it.
This commit is contained in:
parent
ec90ae2082
commit
17c276113e
2 changed files with 2 additions and 10 deletions
|
@ -1164,14 +1164,6 @@ void SrsHls::dispose()
|
|||
on_unpublish();
|
||||
}
|
||||
|
||||
// only dispose hls when positive.
|
||||
if (_req) {
|
||||
int hls_dispose = _srs_config->get_hls_dispose(_req->vhost);
|
||||
if (hls_dispose <= 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
muxer->dispose();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue