merge srs2.
This commit is contained in:
commit
8935fe8897
|
|
@ -798,9 +798,14 @@ void SrsSource::dispose_all()
|
||||||
|
|
||||||
int SrsSource::cycle_all()
|
int SrsSource::cycle_all()
|
||||||
{
|
{
|
||||||
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
||||||
|
// TODO: FIXME: support source cleanup.
|
||||||
|
// @see https://github.com/ossrs/srs/issues/714
|
||||||
int cid = _srs_context->get_id();
|
int cid = _srs_context->get_id();
|
||||||
int ret = do_cycle_all();
|
ret = do_cycle_all();
|
||||||
_srs_context->set_id(cid);
|
_srs_context->set_id(cid);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user