1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #851, HTTP API support number of video frames for FPS. 2.0.240

This commit is contained in:
winlin 2017-04-23 20:55:51 +08:00
parent 4167715153
commit ff87318b95
7 changed files with 45 additions and 1 deletions

View file

@ -154,6 +154,8 @@ private:
SrsRequest* req;
// the msgs already got.
int64_t _nb_msgs;
// The video frames we got.
uint64_t video_frames;
// for mr(merged read),
// @see https://github.com/ossrs/srs/issues/241
bool mr;
@ -186,6 +188,7 @@ public:
*/
virtual int wait(int timeout_ms);
virtual int64_t nb_msgs();
virtual uint64_t nb_video_frames();
virtual int error_code();
virtual void set_cid(int v);
virtual int get_cid();