mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge SRS2 for #851
This commit is contained in:
commit
c97f2233a2
6 changed files with 44 additions and 0 deletions
|
@ -164,6 +164,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;
|
||||
|
@ -192,6 +194,7 @@ public:
|
|||
*/
|
||||
virtual int wait(uint64_t 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue