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

Refine get_dash_fragment to time unit

This commit is contained in:
winlin 2019-04-08 09:02:39 +08:00
parent bb6389143f
commit 4302ab7708
10 changed files with 99 additions and 21 deletions

View file

@ -52,6 +52,7 @@ public:
// @dts The dts of frame in ms.
virtual void append(int64_t dts);
// Get the duration of fragment in ms.
// TODO: FIXME: Refine to time unit.
virtual int64_t duration();
// Whether the fragment contains any sequence header.
virtual bool is_sequence_header();