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:
parent
b28593894b
commit
978e985519
6 changed files with 34 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue