提交 1602f7f7 authored 作者: José Luis Millán's avatar José Luis Millán

Producer: Fix. clear rtpStreams container as soon as the streams are deleted

上级 2db7d298
......@@ -591,6 +591,9 @@ namespace RTC
delete rtpStream;
}
this->rtpStreams.clear();
this->mapRtxStreams.clear();
// Notify about all profiles being disabled.
for (auto& kv : this->mapRtpStreamProfiles)
{
......@@ -609,8 +612,6 @@ namespace RTC
}
}
this->rtpStreams.clear();
this->mapRtxStreams.clear();
this->mapRtpStreamProfiles.clear();
this->mapActiveProfiles.clear();
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论