mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine cid for source
This commit is contained in:
parent
365d3b8bda
commit
a28f98581e
3 changed files with 7 additions and 7 deletions
|
@ -2555,10 +2555,10 @@ void SrsSource::on_unpublish()
|
|||
srs_trace("cleanup when unpublish");
|
||||
|
||||
_can_publish = true;
|
||||
_source_id = SrsContextId();
|
||||
if (!_source_id.empty()) {
|
||||
_pre_source_id = _source_id;
|
||||
}
|
||||
_source_id = SrsContextId();
|
||||
|
||||
// notify the handler.
|
||||
srs_assert(handler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue