mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support pagination for stream api (#2572)
This commit is contained in:
parent
eff225a800
commit
53cb333713
3 changed files with 17 additions and 7 deletions
|
@ -182,7 +182,9 @@ public:
|
|||
// Dumps the vhosts to amf0 array.
|
||||
virtual srs_error_t dumps_vhosts(SrsJsonArray* arr);
|
||||
// Dumps the streams to amf0 array.
|
||||
virtual srs_error_t dumps_streams(SrsJsonArray* arr);
|
||||
// @param start the start index, from 0.
|
||||
// @param count the max count of streams to dump.
|
||||
virtual srs_error_t dumps_streams(SrsJsonArray* arr, int start, int count);
|
||||
// Dumps the clients to amf0 array
|
||||
// @param start the start index, from 0.
|
||||
// @param count the max count of clients to dump.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue