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

enhanced hls, warning when ts dup or jmp.

This commit is contained in:
winlin 2015-03-31 15:54:05 +08:00
parent 9be7fbba7d
commit b9c21b1e8f
2 changed files with 14 additions and 1 deletions

View file

@ -180,6 +180,9 @@ private:
// the deviation in seconds to adjust the fragment to be more
// bigger or smaller.
double hls_fragment_deviation;
// the previous reap floor timestamp,
// used to detect the dup or jmp or ts.
int64_t previous_floor_ts;
private:
int _sequence_no;
int target_duration;