1
0
Fork 0
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:
winlin 2015-08-14 15:47:29 +08:00
parent a0a89a8ca6
commit 3b0b2e0b85
2 changed files with 12 additions and 6 deletions

View file

@ -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);
/**