mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
FIX:When 28181 stream stopped,Stream API does not remove it
This commit is contained in:
parent
8722bd2e0c
commit
7e5572c5e1
1 changed files with 2 additions and 2 deletions
|
@ -1810,7 +1810,7 @@ void SrsGb28181RtmpMuxer::close()
|
|||
h264_pps = "";
|
||||
aac_specific_config = "";
|
||||
|
||||
if (source_publish && !source){
|
||||
if (source_publish && NULL!=source){
|
||||
source->on_unpublish();
|
||||
}
|
||||
}
|
||||
|
@ -2400,4 +2400,4 @@ srs_error_t SrsGb28181Manger::query_sip_session(std::string id, SrsJsonArray* ar
|
|||
}
|
||||
|
||||
return sip_service->query_sip_session(id, arr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue