Skip to content

Commit

Permalink
for #738, decode mp4 video track boxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Feb 2, 2017
1 parent 5a84b6c commit 128a1fd
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 117 deletions.
1 change: 1 addition & 0 deletions trunk/research/librtmp/srs_ingest_mp4.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ int proxy(srs_mp4_t mp4, srs_rtmp_t ortmp)
int ret = 0;

if ((ret = srs_mp4_init_demuxer(mp4)) != 0) {
srs_human_trace("init demuxer failed. ret=%d", ret);
return ret;
}
if ((ret = connect_oc(ortmp)) != 0) {
Expand Down
2 changes: 2 additions & 0 deletions trunk/src/kernel/srs_kernel_error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define ERROR_MP4_BOX_ILLEGAL_TYPE 3071
#define ERROR_MP4_BOX_ILLEGAL_SCHEMA 3072
#define ERROR_MP4_BOX_STRING 3073
#define ERROR_MP4_BOX_ILLEGAL_BRAND 3074
#define ERROR_MP4_NOT_NON_SEEKABLE 3075

///////////////////////////////////////////////////////
// HTTP/StreamCaster/KAFKA protocol error.
Expand Down
Loading

0 comments on commit 128a1fd

Please sign in to comment.