From 271a273eeabef24ea31a4a950ec9ac9abb05ea21 Mon Sep 17 00:00:00 2001 From: xiongguangjie Date: Wed, 20 Nov 2024 15:25:58 +0800 Subject: [PATCH] improve code comment --- src/Rtcp/Rtcp.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Rtcp/Rtcp.h b/src/Rtcp/Rtcp.h index 4e5577a8..7f27f280 100644 --- a/src/Rtcp/Rtcp.h +++ b/src/Rtcp/Rtcp.h @@ -772,7 +772,6 @@ private: /** * 网络字节序转换为主机字节序 - * @param size 字节长度,防止内存越界 */ void net2Host(); }; @@ -854,9 +853,9 @@ public: // Indicates which temporal layer this bitrate concerns. uint32_t temporal_layer : 4; #else - // reception report count + // Indicates which temporal layer this bitrate concerns. uint32_t temporal_layer : 4; - // padding,末尾是否有追加填充 + // Indicates which temporal layer this bitrate concerns. uint32_t spatial_layer : 4; #endif //The encoder target bitrate for this layer, in kbps. @@ -889,7 +888,7 @@ public: /** * 创建RtcpXRTargetBitrate包,只赋值了RtcpHeader部分(网络字节序) * @param item_count RtcpXRTargetBitrateItem对象个数 - * @return RtcpXRDLRR包 + * @return RtcpXRTargetBitrate包 */ static std::shared_ptr create(size_t item_count);