1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Stat bytes

This commit is contained in:
winlin 2020-04-16 10:05:17 +08:00
parent b7dab00f36
commit 5ad99b119d
5 changed files with 58 additions and 15 deletions

View file

@ -128,8 +128,12 @@ public:
// Debug id.
uint32_t debug_id;
#endif
public:
// The total bytes of RTP packets.
int nn_bytes;
// The total padded bytes.
int nn_padding_bytes;
public:
// The RTP packets send out by sendmmsg or sendmsg. Note that if many packets group to
// one msghdr by GSO, it's only one RTP packet, because we only send once.
int nn_rtp_pkts;