mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-29 22:32:23 +08:00
Add network traffic statistics (#4239)
Co-authored-by: xiongguangjie <xiong_panda@163.com> Co-authored-by: xia-chu <771730766@qq.com>
This commit is contained in:
@@ -442,7 +442,9 @@ public:
|
||||
|
||||
// 获取数据速率,单位bytes/s [AUTO-TRANSLATED:c70465c1]
|
||||
// Get data rate, unit bytes/s
|
||||
int getBytesSpeed(TrackType type = TrackInvalid);
|
||||
size_t getBytesSpeed(TrackType type = TrackInvalid);
|
||||
size_t getTotalBytes(TrackType type = TrackInvalid);
|
||||
|
||||
// 获取流创建GMT unix时间戳,单位秒 [AUTO-TRANSLATED:0bbe145e]
|
||||
// Get the stream creation GMT unix timestamp, unit seconds
|
||||
uint64_t getCreateStamp() const { return _create_stamp; }
|
||||
|
||||
Reference in New Issue
Block a user