整理WebRtcSession代码

This commit is contained in:
ziyue
2021-10-16 10:29:00 +08:00
parent 8c1caeff50
commit 85fec6da0b
3 changed files with 15 additions and 13 deletions

View File

@@ -274,7 +274,7 @@ int start_main(int argc,char *argv[]) {
if (!buf) {
return Socket::createSocket(poller, false);
}
auto new_poller = QueryPollerByBuffer(buf);
auto new_poller = WebRtcSession::queryPoller(buf);
if (!new_poller) {
//该数据对应的webrtc对象未找到丢弃之
return Socket::Ptr();