mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine get_hds_fragment and get_hds_window in time unit
This commit is contained in:
parent
917f6d066d
commit
010e35bec2
4 changed files with 23 additions and 14 deletions
|
@ -1277,15 +1277,14 @@ public:
|
|||
*/
|
||||
virtual std::string get_hds_path(const std::string &vhost);
|
||||
/**
|
||||
* get the hds fragment time, in seconds.
|
||||
* get the hds fragment time, in srs_utime_t.
|
||||
*/
|
||||
// TODO: FIXME: Refine to time unit.
|
||||
virtual double get_hds_fragment(const std::string &vhost);
|
||||
virtual srs_utime_t get_hds_fragment(const std::string &vhost);
|
||||
/**
|
||||
* get the hds window time, in seconds.
|
||||
* get the hds window time, in srs_utime_t.
|
||||
* a window is a set of hds fragments.
|
||||
*/
|
||||
virtual double get_hds_window(const std::string &vhost);
|
||||
virtual srs_utime_t get_hds_window(const std::string &vhost);
|
||||
// dvr section
|
||||
private:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue