From ae230bc1aafd4779ae3a2f376e11a1c20b86bf10 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Wed, 4 Dec 2019 18:53:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Record/Recorder.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Record/Recorder.cpp b/src/Record/Recorder.cpp index a0a1f538..4b95d08a 100644 --- a/src/Record/Recorder.cpp +++ b/src/Record/Recorder.cpp @@ -256,6 +256,10 @@ private: return; } + if(it->second->getSchema() != schema){ + // 绑定的协议不一致 + return; + } if(it->second->continueRecord()){ // 如果可以继续录制,那么只重置tracks,不删除对象 it->second->resetTracks();