From 21751ffbb76c8e2d6b0cbb4338485298ec4a9df1 Mon Sep 17 00:00:00 2001 From: Dongheun Kang Date: Fri, 4 May 2018 08:47:48 +0900 Subject: [PATCH] Fix RemuxerTrackIdConfig as per iso/iec 14496-12 spec --- src/demux/tsdemuxer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/demux/tsdemuxer.js b/src/demux/tsdemuxer.js index 93bde994702..81ae6e7b9e9 100644 --- a/src/demux/tsdemuxer.js +++ b/src/demux/tsdemuxer.js @@ -27,10 +27,10 @@ import { ErrorTypes, ErrorDetails } from '../errors'; // With MSE currently one can only have one track of each, and we are muxing // whatever video/audio rendition in them. const RemuxerTrackIdConfig = { - video: 0, - audio: 1, - id3: 2, - text: 3 + video: 1, + audio: 2, + id3: 3, + text: 4 }; class TSDemuxer {