无法处理的rtp ext清空

This commit is contained in:
xia-chu
2021-05-08 11:37:54 +08:00
parent d5eb486f54
commit f625b3fbf3
3 changed files with 13 additions and 0 deletions

View File

@@ -663,6 +663,7 @@ static void changeRtpExtId(const RtpPacket::Ptr &rtp, const Type &map) {
auto it = map.find((Type::key_type) pr.first);
if (it == map.end()) {
WarnL << "未处理的rtp ext, 类型不识别:" << (int) pr.first;
pr.second.clearExt();
continue;
}
setExtType(pr.second, it->first);