Skip to content

Commit

Permalink
Merge pull request video-dev#1701 from dongheunkang/fix-remux-trackid
Browse files Browse the repository at this point in the history
Fix RemuxerTrackIdConfig as per iso/iec 14496-12 spec
  • Loading branch information
mangui authored May 4, 2018
2 parents c8406f2 + 21751ff commit 111bea6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/demux/tsdemuxer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 111bea6

Please sign in to comment.