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

Refine get_hls_window in time unit

This commit is contained in:
winlin 2019-04-16 08:20:32 +08:00
parent ca705a6f62
commit 917f6d066d
7 changed files with 18 additions and 16 deletions

View file

@ -1204,11 +1204,11 @@ public:
*/
virtual double get_hls_aof_ratio(std::string vhost);
/**
* get the hls window time, in seconds.
* get the hls window time, in srs_utime_t.
* a window is a set of ts, the ts collection in m3u8.
* @remark SRS will delete the ts exceed the window.
*/
virtual double get_hls_window(std::string vhost);
virtual srs_utime_t get_hls_window(std::string vhost);
/**
* get the hls hls_on_error config.
* the ignore will ignore error and disable hls.