mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Compare commits
No commits in common. "0cfb5a0d6689778bb32f8b05108e2c0484767275" and "ab65232406e43e5816aaa109dfc79123ff85fe12" have entirely different histories.
0cfb5a0d66
...
ab65232406
@ -772,6 +772,7 @@ private:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 网络字节序转换为主机字节序
|
* 网络字节序转换为主机字节序
|
||||||
|
* @param size 字节长度,防止内存越界
|
||||||
*/
|
*/
|
||||||
void net2Host();
|
void net2Host();
|
||||||
};
|
};
|
||||||
@ -853,9 +854,9 @@ public:
|
|||||||
// Indicates which temporal layer this bitrate concerns.
|
// Indicates which temporal layer this bitrate concerns.
|
||||||
uint32_t temporal_layer : 4;
|
uint32_t temporal_layer : 4;
|
||||||
#else
|
#else
|
||||||
// Indicates which temporal layer this bitrate concerns.
|
// reception report count
|
||||||
uint32_t temporal_layer : 4;
|
uint32_t temporal_layer : 4;
|
||||||
// Indicates which temporal layer this bitrate concerns.
|
// padding,末尾是否有追加填充
|
||||||
uint32_t spatial_layer : 4;
|
uint32_t spatial_layer : 4;
|
||||||
#endif
|
#endif
|
||||||
//The encoder target bitrate for this layer, in kbps.
|
//The encoder target bitrate for this layer, in kbps.
|
||||||
@ -870,6 +871,7 @@ private:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 网络字节序转换为主机字节序
|
* 网络字节序转换为主机字节序
|
||||||
|
* @param size 字节长度,防止内存越界
|
||||||
*/
|
*/
|
||||||
void net2Host();
|
void net2Host();
|
||||||
};
|
};
|
||||||
@ -887,7 +889,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* 创建RtcpXRTargetBitrate包,只赋值了RtcpHeader部分(网络字节序)
|
* 创建RtcpXRTargetBitrate包,只赋值了RtcpHeader部分(网络字节序)
|
||||||
* @param item_count RtcpXRTargetBitrateItem对象个数
|
* @param item_count RtcpXRTargetBitrateItem对象个数
|
||||||
* @return RtcpXRTargetBitrate包
|
* @return RtcpXRDLRR包
|
||||||
*/
|
*/
|
||||||
static std::shared_ptr<RtcpXRTargetBitrate> create(size_t item_count);
|
static std::shared_ptr<RtcpXRTargetBitrate> create(size_t item_count);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user