提交 649e94b6 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Fix regression in proxied RTP header extensions.

上级 560612dd
...@@ -1011,6 +1011,9 @@ namespace RTC ...@@ -1011,6 +1011,9 @@ namespace RTC
static_cast<uint8_t>(RTC::RtpHeaderExtensionUri::Type::SSRC_AUDIO_LEVEL), static_cast<uint8_t>(RTC::RtpHeaderExtensionUri::Type::SSRC_AUDIO_LEVEL),
extenLen, extenLen,
bufferPtr); bufferPtr);
// Not needed since this is the latest added extension.
// bufferPtr += extenLen;
} }
} }
else if (this->kind == RTC::Media::Kind::VIDEO) else if (this->kind == RTC::Media::Kind::VIDEO)
...@@ -1028,6 +1031,8 @@ namespace RTC ...@@ -1028,6 +1031,8 @@ namespace RTC
extensions.emplace_back( extensions.emplace_back(
static_cast<uint8_t>(RTC::RtpHeaderExtensionUri::Type::ABS_SEND_TIME), extenLen, bufferPtr); static_cast<uint8_t>(RTC::RtpHeaderExtensionUri::Type::ABS_SEND_TIME), extenLen, bufferPtr);
bufferPtr += extenLen;
} }
// NOTE: Remove this once framemarking draft becomes RFC. // NOTE: Remove this once framemarking draft becomes RFC.
...@@ -1084,7 +1089,8 @@ namespace RTC ...@@ -1084,7 +1089,8 @@ namespace RTC
extensions.emplace_back( extensions.emplace_back(
static_cast<uint8_t>(RTC::RtpHeaderExtensionUri::Type::TOFFSET), extenLen, bufferPtr); static_cast<uint8_t>(RTC::RtpHeaderExtensionUri::Type::TOFFSET), extenLen, bufferPtr);
bufferPtr += extenLen; // Not needed since this is the latest added extension.
// bufferPtr += extenLen;
} }
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论