FIX:When 28181 stream stopped,Stream API does not remove it
This commit is contained in:
parent
8722bd2e0c
commit
7e5572c5e1
|
|
@ -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…
Reference in New Issue
Block a user