1
0
Fork 0
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:
jasongwq 2020-08-29 00:27:13 +08:00 committed by winlin
parent 8722bd2e0c
commit 7e5572c5e1

View file

@ -1810,7 +1810,7 @@ void SrsGb28181RtmpMuxer::close()
h264_pps = ""; h264_pps = "";
aac_specific_config = ""; aac_specific_config = "";
if (source_publish && !source){ if (source_publish && NULL!=source){
source->on_unpublish(); 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); return sip_service->query_sip_session(id, arr);
} }