提交 8d01e160 authored 作者: José Luis Millán's avatar José Luis Millán

Rtcp: fix byte notation on lsr field of Receiver Report

This reverts commit 12d625bd.
上级 d08b0c8b
...@@ -193,7 +193,7 @@ namespace RTC { namespace RTCP ...@@ -193,7 +193,7 @@ namespace RTC { namespace RTCP
inline inline
void ReceiverReport::SetLastSenderReport(uint32_t lsr) void ReceiverReport::SetLastSenderReport(uint32_t lsr)
{ {
this->header->lsr = lsr; this->header->lsr = (uint32_t)htonl(lsr);
} }
inline inline
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论