优化代码

This commit is contained in:
xiongziliang 2019-12-04 18:53:12 +08:00
parent 57043138d8
commit ae230bc1aa

View File

@ -256,6 +256,10 @@ private:
return;
}
if(it->second->getSchema() != schema){
// 绑定的协议不一致
return;
}
if(it->second->continueRecord()){
// 如果可以继续录制那么只重置tracks,不删除对象
it->second->resetTracks();