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:
parent
ca705a6f62
commit
917f6d066d
7 changed files with 18 additions and 16 deletions
|
@ -93,7 +93,7 @@ public:
|
|||
// Append a new fragment, which is ready to delivery to client.
|
||||
virtual void append(SrsFragment* fragment);
|
||||
// Shrink the window, push the expired fragment to a queue.
|
||||
virtual void shrink(int64_t window);
|
||||
virtual void shrink(srs_utime_t window);
|
||||
// Clear the expired fragments.
|
||||
virtual void clear_expired(bool delete_files);
|
||||
// Get the max duration in ms of all fragments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue