Commit 7e58d91a by xiongziliang

修复rtp two byte ext解析相关bug: #1631

parent 301cbf0a
...@@ -189,7 +189,7 @@ map<uint8_t/*id*/, RtpExt/*data*/> RtpExt::getExtValue(const RtpHeader *header) ...@@ -189,7 +189,7 @@ map<uint8_t/*id*/, RtpExt/*data*/> RtpExt::getExtValue(const RtpHeader *header)
appendExt<RtpExtOneByte>(ret, ptr, end); appendExt<RtpExtOneByte>(ret, ptr, end);
return ret; return ret;
} }
if ((reserved & 0xFFF0) >> 4 == kTwoByteHeader) { if (reserved & 0xFFF0 == kTwoByteHeader) {
appendExt<RtpExtTwoByte>(ret, ptr, end); appendExt<RtpExtTwoByte>(ret, ptr, end);
return ret; return ret;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论