1
0
Fork 0
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:
winlin 2017-01-27 20:54:05 +08:00
parent 91a3989372
commit 6b6ac9a054
3 changed files with 56 additions and 2 deletions

View file

@ -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()
{
}