Console: API response only 10 streams, should support pagination by console. #3451
Labels
API
HTTP-API, HTTP-Callback, etc.
Bug
It might be a bug.
EnglishNative
This issue is conveyed exclusively in English.
Enhancement
Improvement or enhancement.
Feature
It's a new feature.
Description
SRS 6.0.26 console only displays up to 10 video streams. If there are more than 10 video streams, they will not be displayed in the video stream list. In the console's virtual host (Vhosts) menu, you can see 13 online streams, but in the console's video stream menu, you can only see 10 video stream lists. The other three video streams are not displayed in the video stream list, but they can indeed be watched normally.
SRS Version: 6.0.26
SRS Console screenshot:
Virtual host menu shows 13 online streams, screenshot (copy the link below and open it in a new window to view):
https://mclz.fjxf-119.cn:7443/uploads/20221113/13.png
Console video stream menu only lists 10 video streams, and the ones exceeding 10 are not displayed (copy the link below and open it in a new window to view):
https://mclz.fjxf-119.cn:7443/uploads/20221113/10.png
In the source code srs_app_http_api.cpp, around line 796, is the count of online streams incorrect, causing the maximum to be 10?
Expectation
Hope to display all online video streams
The text was updated successfully, but these errors were encountered: