mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Improve test coverage for mp4 box
This commit is contained in:
parent
f3831d2d5b
commit
d32a7e9770
3 changed files with 753 additions and 37 deletions
|
@ -202,6 +202,8 @@ public:
|
|||
// Get the size of header, without contained boxes.
|
||||
// @remark For mdat box, we must codec its header, use this instead of sz().
|
||||
virtual int sz_header();
|
||||
// Update the size of box.
|
||||
virtual int update_size();
|
||||
// Get the left space of box, for decoder.
|
||||
virtual int left_space(SrsBuffer* buf);
|
||||
// Box type helper.
|
||||
|
@ -507,7 +509,7 @@ class SrsMp4TrackFragmentRunBox : public SrsMp4FullBox
|
|||
public:
|
||||
// The number of samples being added in this run; also the number of rows in the following
|
||||
// table (the rows can be empty)
|
||||
uint32_t sample_count;
|
||||
//uint32_t sample_count;
|
||||
// The following are optional fields
|
||||
public:
|
||||
// added to the implicit or explicit data_offset established in the track fragment header.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue