Skip to content

🎥 Make videos programmatically with React

Update matroska-trackentry.ts

Jonny Burgerde4bdb712f44
diff --git a/packages/webcodecs/src/create/matroska/matroska-trackentry.ts b/packages/webcodecs/src/create/matroska/matroska-trackentry.ts
index ced295c636..1f4756bbf7 100644
--- a/packages/webcodecs/src/create/matroska/matroska-trackentry.ts
+++ b/packages/webcodecs/src/create/matroska/matroska-trackentry.ts
@@ -151,11 +151,6 @@ export const makeMatroskaAudioTrackEntryBytes = ({
},
minVintWidth: null,
},
- {
- type: 'TrackUID',
- value: '0x188FEB95C8EFABA',
- minVintWidth: null,
- },
{
type: 'TrackType',
value: {
@@ -164,7 +159,6 @@ export const makeMatroskaAudioTrackEntryBytes = ({
},
minVintWidth: null,
},
-
{
type: 'CodecID',
value: makeAudioCodecId(codec),
@@ -231,32 +225,12 @@ export const makeMatroskaVideoTrackEntryBytes = ({
},
minVintWidth: null,
},
- {
- type: 'TrackUID',
- value: '0xab2171012bb9020a',
- minVintWidth: null,
- },
- {
- type: 'FlagLacing',
- value: {
- value: 0,
- byteLength: null,
- },
- minVintWidth: null,
- },
{
type: 'Language',
value: 'und',
minVintWidth: null,
},
- {
- type: 'FlagDefault',
- value: {
- value: 0,
- byteLength: null,
- },
- minVintWidth: null,
- },
+
{
type: 'CodecID',
value: makeVideoCodecId(codec),