1
0
Fork 0
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:
winlin 2015-06-06 22:04:24 +08:00
parent 2d9f258eaf
commit beb0431746
2 changed files with 28 additions and 0 deletions

View file

@ -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;