mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
detect the monotonically increase and warn to use mix_correct
This commit is contained in:
parent
2d9f258eaf
commit
beb0431746
2 changed files with 28 additions and 0 deletions
|
@ -437,6 +437,9 @@ private:
|
|||
// whether use interlaced/mixed algorithm to correct timestamp.
|
||||
bool mix_correct;
|
||||
SrsMixQueue* mix_queue;
|
||||
// whether stream is monotonically increase.
|
||||
bool is_monotonically_increase;
|
||||
int64_t last_packet_time;
|
||||
// hls handler.
|
||||
#ifdef SRS_AUTO_HLS
|
||||
SrsHls* hls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue