mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-02-25 17:50:55 +08:00
修复rtp two byte ext解析相关bug: #1631
This commit is contained in:
@@ -189,7 +189,7 @@ map<uint8_t/*id*/, RtpExt/*data*/> RtpExt::getExtValue(const RtpHeader *header)
|
||||
appendExt<RtpExtOneByte>(ret, ptr, end);
|
||||
return ret;
|
||||
}
|
||||
if ((reserved & 0xFFF0) >> 4 == kTwoByteHeader) {
|
||||
if (reserved & 0xFFF0 == kTwoByteHeader) {
|
||||
appendExt<RtpExtTwoByte>(ret, ptr, end);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user