mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #442: HTTP API kickoff client.
This commit is contained in:
parent
0e3128d3e3
commit
e8c0ca7af0
10 changed files with 121 additions and 18 deletions
|
@ -452,6 +452,8 @@ private:
|
|||
// whether use interlaced/mixed algorithm to correct timestamp.
|
||||
bool mix_correct;
|
||||
SrsMixQueue* mix_queue;
|
||||
// the flag of source expired or not.
|
||||
bool is_expired;
|
||||
// whether stream is monotonically increase.
|
||||
bool is_monotonically_increase;
|
||||
int64_t last_packet_time;
|
||||
|
@ -583,6 +585,12 @@ public:
|
|||
private:
|
||||
virtual int create_forwarders();
|
||||
virtual void destroy_forwarders();
|
||||
public:
|
||||
virtual bool expired();
|
||||
/**
|
||||
* set source expired.
|
||||
*/
|
||||
virtual void set_expired();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue