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

fix #87: add source id for full trackable log. 0.9.120

This commit is contained in:
winlin 2014-05-27 19:18:31 +08:00
parent b28593894b
commit 978e985519
6 changed files with 34 additions and 6 deletions

View file

@ -134,11 +134,20 @@ private:
SrsSource* source;
SrsMessageQueue* queue;
bool paused;
// when source id changed, notice all consumers
bool should_update_source_id;
public:
SrsConsumer(SrsSource* _source);
virtual ~SrsConsumer();
public:
/**
* set the size of queue.
*/
virtual void set_queue_size(double queue_size);
/**
* when source id changed, notice client to print.
*/
virtual void update_source_id();
public:
/**
* get current client time, the last packet time.