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

Refine get_dash_update_period in time unit

This commit is contained in:
winlin 2019-04-08 09:10:06 +08:00
parent 4302ab7708
commit 12cf17ef6b
5 changed files with 15 additions and 13 deletions

View file

@ -86,10 +86,10 @@ private:
SrsRequest* req;
int64_t last_update_mpd;
private:
// The duration of fragment in ms.
// The duration of fragment in srs_utime_t.
srs_utime_t fragment;
// The period to update the mpd in ms.
int update_period;
// The period to update the mpd in srs_utime_t.
srs_utime_t update_period;
// The timeshift buffer depth.
int timeshit;
// The base or home dir for dash to write files.