mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the bug to support dump packets with count.
This commit is contained in:
parent
a0a89a8ca6
commit
3b0b2e0b85
2 changed files with 12 additions and 6 deletions
|
@ -175,9 +175,8 @@ public:
|
|||
/**
|
||||
* get packets in consumer queue.
|
||||
* @pmsgs SrsSharedPtrMessage*[], used to store the msgs, user must alloc it.
|
||||
* @count the count in array, input and output param.
|
||||
* @count the count in array, output param.
|
||||
* @max_count the max count to dequeue, must be positive.
|
||||
* @remark user can specifies the count to get specified msgs; 0 to get all if possible.
|
||||
*/
|
||||
virtual int dump_packets(int max_count, SrsSharedPtrMessage** pmsgs, int& count);
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue