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

for #738, add srs ingest mp4 tool

This commit is contained in:
winlin 2017-01-31 20:43:48 +08:00
parent 33ba6cdee2
commit 34a8eb6113
20 changed files with 366 additions and 274 deletions

View file

@ -25,6 +25,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <string.h>
#include <srs_kernel_error.hpp>
SrsMp4Box::SrsMp4Box()
{
size = 0;
@ -422,3 +424,19 @@ SrsMp4SampleSizeBox::~SrsMp4SampleSizeBox()
srs_freepa(entry_sizes);
}
SrsMp4Decoder::SrsMp4Decoder()
{
}
SrsMp4Decoder::~SrsMp4Decoder()
{
}
int SrsMp4Decoder::initialize(ISrsReader* r)
{
srs_assert(r);
reader = r;
return ERROR_SUCCESS;
}