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:
parent
bb6389143f
commit
4302ab7708
10 changed files with 99 additions and 21 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue