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

Improve test coverage for mp4 dumps

This commit is contained in:
winlin 2019-12-30 16:36:11 +08:00
parent b63f2f283d
commit f3831d2d5b
3 changed files with 345 additions and 2 deletions

View file

@ -214,6 +214,8 @@ public:
// Remove the contained box of specified type.
// @return The removed count.
virtual int remove(SrsMp4BoxType bt);
// Append a child box.
virtual void append(SrsMp4Box* box);
// Dumps the box and all contained boxes.
virtual std::stringstream& dumps(std::stringstream& ss, SrsMp4DumpContext dc);
// Discovery the box from buffer.