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

Fix HLS segment close bug

This commit is contained in:
winlin 2019-04-16 09:32:26 +08:00
parent 138d1e3cad
commit 6380e8f1c0
4 changed files with 18 additions and 10 deletions

View file

@ -96,8 +96,8 @@ public:
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.
virtual int64_t max_duration();
// Get the max duration in srs_utime_t of all fragments.
virtual srs_utime_t max_duration();
public:
virtual bool empty();
virtual SrsFragment* first();