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

Refine get_hls_fragment in time unit

This commit is contained in:
winlin 2019-04-16 08:14:12 +08:00
parent 402e614471
commit ca705a6f62
6 changed files with 20 additions and 20 deletions

View file

@ -1192,9 +1192,9 @@ public:
*/
virtual bool get_hls_ts_floor(std::string vhost);
/**
* get the hls fragment time, in seconds.
* get the hls fragment time, in srs_utime_t.
*/
virtual double get_hls_fragment(std::string vhost);
virtual srs_utime_t get_hls_fragment(std::string vhost);
/**
* get the hls td(target duration) ratio.
*/