提交 086e6573 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

cosmetic

上级 96b71a0d
...@@ -382,10 +382,9 @@ namespace RTC ...@@ -382,10 +382,9 @@ namespace RTC
this->headerExtension->length = htons(extensionsTotalSize / 4); this->headerExtension->length = htons(extensionsTotalSize / 4);
} }
// ptr starts in the header extension value position. // Write the new extensions into the header extension value.
uint8_t* ptr = this->headerExtension->value; uint8_t* ptr = this->headerExtension->value;
// Write the new extensions into the header extension value.
for (auto& extension : extensions) for (auto& extension : extensions)
{ {
if (type == 1u) if (type == 1u)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论