mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Perf: Refine the stat
This commit is contained in:
parent
d6c0117870
commit
e79293a3bc
6 changed files with 75 additions and 43 deletions
|
@ -328,6 +328,8 @@ public:
|
|||
// Create shared ptr message from RAW payload.
|
||||
// @remark Note that the header is set to zero.
|
||||
virtual void wrap(char* payload, int size);
|
||||
// Decrease the reference, if the last one, free it.
|
||||
void unwrap();
|
||||
// Get current reference count.
|
||||
// when this object created, count set to 0.
|
||||
// if copy() this object, count increase 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue