mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #738, add box and fullbox.
This commit is contained in:
parent
91a3989372
commit
6b6ac9a054
3 changed files with 56 additions and 2 deletions
|
@ -23,3 +23,23 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_kernel_mp4.hpp>
|
||||
|
||||
SrsMp4Box::SrsMp4Box(uint32_t bt)
|
||||
{
|
||||
size = 0;
|
||||
type = bt;
|
||||
}
|
||||
|
||||
SrsMp4Box::~SrsMp4Box()
|
||||
{
|
||||
}
|
||||
|
||||
SrsMp4FullBox::SrsMp4FullBox(uint32_t bt, uint8_t v, uint32_t f) : SrsMp4Box(bt)
|
||||
{
|
||||
version = v;
|
||||
flags = f;
|
||||
}
|
||||
|
||||
SrsMp4FullBox::~SrsMp4FullBox()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue