@svta/cml-iso-bmff 1.0.0-alpha.6 → 1.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +582 -549
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +439 -458
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50,22 +50,57 @@ function isContainer(box) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
//#endregion
|
|
53
|
-
//#region src/
|
|
53
|
+
//#region src/IsoBoxFields.ts
|
|
54
54
|
/**
|
|
55
|
-
* The
|
|
55
|
+
* The UTF8 field type
|
|
56
56
|
*
|
|
57
57
|
* @public
|
|
58
58
|
*/
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region src/fields/UINT.ts
|
|
59
|
+
const UTF8 = "utf8";
|
|
63
60
|
/**
|
|
64
61
|
* The unsigned integer field type
|
|
65
62
|
*
|
|
66
63
|
* @public
|
|
67
64
|
*/
|
|
68
65
|
const UINT = "uint";
|
|
66
|
+
/**
|
|
67
|
+
* The template field type
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
const TEMPLATE = "template";
|
|
72
|
+
/**
|
|
73
|
+
* The string field type
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
const STRING = "string";
|
|
78
|
+
/**
|
|
79
|
+
* The integer field type
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
const INT = "int";
|
|
84
|
+
/**
|
|
85
|
+
* The data field type
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
const DATA = "data";
|
|
90
|
+
/**
|
|
91
|
+
* The ISO BMFF field types
|
|
92
|
+
*
|
|
93
|
+
* @enum
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
const IsoBoxFields = {
|
|
97
|
+
DATA,
|
|
98
|
+
INT,
|
|
99
|
+
STRING,
|
|
100
|
+
TEMPLATE,
|
|
101
|
+
UINT,
|
|
102
|
+
UTF8
|
|
103
|
+
};
|
|
69
104
|
|
|
70
105
|
//#endregion
|
|
71
106
|
//#region src/IsoBoxWriteView.ts
|
|
@@ -405,23 +440,6 @@ function* traverseIsoBoxes(boxes, config) {
|
|
|
405
440
|
|
|
406
441
|
//#endregion
|
|
407
442
|
//#region src/filterIsoBoxes.ts
|
|
408
|
-
/**
|
|
409
|
-
* Filters boxes in the tree that satisfy the provided testing function.
|
|
410
|
-
*
|
|
411
|
-
* This function traverses the entire box structure (including nested boxes)
|
|
412
|
-
* and returns all boxes for which the callback returns true.
|
|
413
|
-
*
|
|
414
|
-
* @param boxes - The boxes to search through
|
|
415
|
-
* @param callback - A function that accepts a box and returns true if it matches
|
|
416
|
-
* @param config - Configuration options for traversal
|
|
417
|
-
*
|
|
418
|
-
* @returns An array of boxes that satisfy the callback
|
|
419
|
-
*
|
|
420
|
-
* @example
|
|
421
|
-
* {@includeCode ../test/filterIsoBoxes.test.ts#example}
|
|
422
|
-
*
|
|
423
|
-
* @public
|
|
424
|
-
*/
|
|
425
443
|
function filterIsoBoxes(boxes, callback, config) {
|
|
426
444
|
const result = [];
|
|
427
445
|
for (const box of traverseIsoBoxes(boxes, config)) if (callback(box)) result.push(box);
|
|
@@ -430,63 +448,26 @@ function filterIsoBoxes(boxes, callback, config) {
|
|
|
430
448
|
|
|
431
449
|
//#endregion
|
|
432
450
|
//#region src/findIsoBox.ts
|
|
433
|
-
/**
|
|
434
|
-
* Finds the first box in the tree that satisfies the provided testing function.
|
|
435
|
-
*
|
|
436
|
-
* This function traverses the entire box structure (including nested boxes)
|
|
437
|
-
* and returns the first box for which the callback returns true.
|
|
438
|
-
*
|
|
439
|
-
* @param boxes - The boxes to search through
|
|
440
|
-
* @param callback - A function that accepts a box and returns true if it matches
|
|
441
|
-
* @param config - Configuration options for traversal
|
|
442
|
-
*
|
|
443
|
-
* @returns The first box that satisfies the callback, or null if none is found
|
|
444
|
-
*
|
|
445
|
-
* @example
|
|
446
|
-
* {@includeCode ../test/findIsoBox.test.ts#example}
|
|
447
|
-
*
|
|
448
|
-
* @public
|
|
449
|
-
*/
|
|
450
451
|
function findIsoBox(boxes, callback, config) {
|
|
451
452
|
for (const box of traverseIsoBoxes(boxes, config)) if (callback(box)) return box;
|
|
452
453
|
return null;
|
|
453
454
|
}
|
|
454
455
|
|
|
455
456
|
//#endregion
|
|
456
|
-
//#region src/
|
|
457
|
+
//#region src/isIsoBoxType.ts
|
|
457
458
|
/**
|
|
458
|
-
*
|
|
459
|
+
* Check if a box is of a specific type. This is a type guard function.
|
|
459
460
|
*
|
|
460
|
-
* @
|
|
461
|
-
|
|
462
|
-
const DATA = "data";
|
|
463
|
-
|
|
464
|
-
//#endregion
|
|
465
|
-
//#region src/fields/INT.ts
|
|
466
|
-
/**
|
|
467
|
-
* The integer field type
|
|
468
|
-
*
|
|
469
|
-
* @public
|
|
470
|
-
*/
|
|
471
|
-
const INT = "int";
|
|
472
|
-
|
|
473
|
-
//#endregion
|
|
474
|
-
//#region src/fields/STRING.ts
|
|
475
|
-
/**
|
|
476
|
-
* The string field type
|
|
461
|
+
* @param type - The type to check for
|
|
462
|
+
* @param box - The box to check
|
|
477
463
|
*
|
|
478
|
-
* @
|
|
479
|
-
*/
|
|
480
|
-
const STRING = "string";
|
|
481
|
-
|
|
482
|
-
//#endregion
|
|
483
|
-
//#region src/fields/UTF8.ts
|
|
484
|
-
/**
|
|
485
|
-
* The UTF8 field type
|
|
464
|
+
* @returns `true` if the box is of the specified type, `false` otherwise
|
|
486
465
|
*
|
|
487
466
|
* @public
|
|
488
467
|
*/
|
|
489
|
-
|
|
468
|
+
function isIsoBoxType(type, box) {
|
|
469
|
+
return "type" in box && box.type === type;
|
|
470
|
+
}
|
|
490
471
|
|
|
491
472
|
//#endregion
|
|
492
473
|
//#region src/utils/readData.ts
|
|
@@ -803,7 +784,7 @@ var IsoBoxReadView = class IsoBoxReadView {
|
|
|
803
784
|
const box = this.readBox();
|
|
804
785
|
const { type, view } = box;
|
|
805
786
|
const parser = readers[type] || readers[type.trim()];
|
|
806
|
-
if (parser) Object.assign(box, parser(view));
|
|
787
|
+
if (parser) Object.assign(box, parser(view, type));
|
|
807
788
|
if (isContainer(box) && !box.boxes) {
|
|
808
789
|
const boxes = [];
|
|
809
790
|
for (const child of view) boxes.push(child);
|
|
@@ -847,12 +828,12 @@ function writeIsoBoxes(boxes, config) {
|
|
|
847
828
|
//#endregion
|
|
848
829
|
//#region src/readers/readAudioSampleEntryBox.ts
|
|
849
830
|
/**
|
|
850
|
-
* Parse a AudioSampleEntryBox from an
|
|
831
|
+
* Parse a `AudioSampleEntryBox` from an `IsoBoxReadView`.
|
|
851
832
|
*
|
|
852
|
-
* @param type - The type of AudioSampleEntryBox to read
|
|
853
|
-
* @param view - The
|
|
833
|
+
* @param type - The type of `AudioSampleEntryBox` to read
|
|
834
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
854
835
|
*
|
|
855
|
-
* @returns A parsed AudioSampleEntryBox
|
|
836
|
+
* @returns A parsed `AudioSampleEntryBox`
|
|
856
837
|
*
|
|
857
838
|
* @public
|
|
858
839
|
*/
|
|
@@ -875,14 +856,14 @@ function readAudioSampleEntryBox(type, view) {
|
|
|
875
856
|
//#endregion
|
|
876
857
|
//#region src/readers/createAudioSampleEntryReader.ts
|
|
877
858
|
/**
|
|
878
|
-
* Creates a reader function for AudioSampleEntryBox with a custom type.
|
|
859
|
+
* Creates a reader function for `AudioSampleEntryBox` with a custom type.
|
|
879
860
|
*
|
|
880
861
|
* This utility allows reading audio sample entry boxes with types that
|
|
881
|
-
* aren't in the standard AudioSampleEntryType union (e.g., 'mp4a'
|
|
862
|
+
* aren't in the standard `AudioSampleEntryType` union (e.g., `'mp4a'`, `'enca'`).
|
|
882
863
|
*
|
|
883
864
|
* @param type - The 4-character box type
|
|
884
865
|
*
|
|
885
|
-
* @returns A reader function that can be passed to readIsoBoxes
|
|
866
|
+
* @returns A reader function that can be passed to `readIsoBoxes`
|
|
886
867
|
*
|
|
887
868
|
* @example
|
|
888
869
|
* ```ts
|
|
@@ -903,12 +884,12 @@ function createAudioSampleEntryReader(type) {
|
|
|
903
884
|
//#endregion
|
|
904
885
|
//#region src/readers/readVisualSampleEntryBox.ts
|
|
905
886
|
/**
|
|
906
|
-
* Parse a VisualSampleEntryBox from an
|
|
887
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
907
888
|
*
|
|
908
|
-
* @param type - The type of VisualSampleEntryBox to read
|
|
909
|
-
* @param view - The
|
|
889
|
+
* @param type - The type of `VisualSampleEntryBox` to read
|
|
890
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
910
891
|
*
|
|
911
|
-
* @returns A parsed VisualSampleEntryBox
|
|
892
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
912
893
|
*
|
|
913
894
|
* @public
|
|
914
895
|
*/
|
|
@@ -937,14 +918,14 @@ function readVisualSampleEntryBox(type, view) {
|
|
|
937
918
|
//#endregion
|
|
938
919
|
//#region src/readers/createVisualSampleEntryReader.ts
|
|
939
920
|
/**
|
|
940
|
-
* Creates a reader function for VisualSampleEntryBox with a custom type.
|
|
921
|
+
* Creates a reader function for `VisualSampleEntryBox` with a custom type.
|
|
941
922
|
*
|
|
942
923
|
* This utility allows reading visual sample entry boxes with types that
|
|
943
|
-
* aren't in the standard VisualSampleEntryType union (e.g., 'avc1'
|
|
924
|
+
* aren't in the standard `VisualSampleEntryType` union (e.g., `'avc1'`, `'hvc1'`).
|
|
944
925
|
*
|
|
945
926
|
* @param type - The 4-character box type
|
|
946
927
|
*
|
|
947
|
-
* @returns A reader function that can be passed to readIsoBoxes
|
|
928
|
+
* @returns A reader function that can be passed to `readIsoBoxes`
|
|
948
929
|
*
|
|
949
930
|
* @example
|
|
950
931
|
* ```ts
|
|
@@ -965,11 +946,11 @@ function createVisualSampleEntryReader(type) {
|
|
|
965
946
|
//#endregion
|
|
966
947
|
//#region src/readers/readArdi.ts
|
|
967
948
|
/**
|
|
968
|
-
* Parse a AudioRenderingIndicationBox from an
|
|
949
|
+
* Parse a `AudioRenderingIndicationBox` from an `IsoBoxReadView`.
|
|
969
950
|
*
|
|
970
|
-
* @param view - The
|
|
951
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
971
952
|
*
|
|
972
|
-
* @returns A parsed AudioRenderingIndicationBox
|
|
953
|
+
* @returns A parsed `AudioRenderingIndicationBox`
|
|
973
954
|
*
|
|
974
955
|
* @public
|
|
975
956
|
*/
|
|
@@ -984,11 +965,11 @@ function readArdi(view) {
|
|
|
984
965
|
//#endregion
|
|
985
966
|
//#region src/readers/readAvc1.ts
|
|
986
967
|
/**
|
|
987
|
-
* Parse a VisualSampleEntryBox from an
|
|
968
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
988
969
|
*
|
|
989
|
-
* @param view - The
|
|
970
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
990
971
|
*
|
|
991
|
-
* @returns A parsed VisualSampleEntryBox
|
|
972
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
992
973
|
*
|
|
993
974
|
* @public
|
|
994
975
|
*/
|
|
@@ -999,11 +980,11 @@ function readAvc1(view) {
|
|
|
999
980
|
//#endregion
|
|
1000
981
|
//#region src/readers/readAvc2.ts
|
|
1001
982
|
/**
|
|
1002
|
-
* Parse a VisualSampleEntryBox from an
|
|
983
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
1003
984
|
*
|
|
1004
|
-
* @param view - The
|
|
985
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1005
986
|
*
|
|
1006
|
-
* @returns A parsed VisualSampleEntryBox
|
|
987
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
1007
988
|
*
|
|
1008
989
|
* @public
|
|
1009
990
|
*/
|
|
@@ -1014,11 +995,11 @@ function readAvc2(view) {
|
|
|
1014
995
|
//#endregion
|
|
1015
996
|
//#region src/readers/readAvc3.ts
|
|
1016
997
|
/**
|
|
1017
|
-
* Parse a VisualSampleEntryBox from an
|
|
998
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
1018
999
|
*
|
|
1019
|
-
* @param view - The
|
|
1000
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1020
1001
|
*
|
|
1021
|
-
* @returns A parsed VisualSampleEntryBox
|
|
1002
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
1022
1003
|
*
|
|
1023
1004
|
* @public
|
|
1024
1005
|
*/
|
|
@@ -1029,11 +1010,11 @@ function readAvc3(view) {
|
|
|
1029
1010
|
//#endregion
|
|
1030
1011
|
//#region src/readers/readAvc4.ts
|
|
1031
1012
|
/**
|
|
1032
|
-
* Parse a VisualSampleEntryBox from an
|
|
1013
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
1033
1014
|
*
|
|
1034
|
-
* @param view - The
|
|
1015
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1035
1016
|
*
|
|
1036
|
-
* @returns A parsed VisualSampleEntryBox
|
|
1017
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
1037
1018
|
*
|
|
1038
1019
|
* @public
|
|
1039
1020
|
*/
|
|
@@ -1044,11 +1025,11 @@ function readAvc4(view) {
|
|
|
1044
1025
|
//#endregion
|
|
1045
1026
|
//#region src/readers/readCtts.ts
|
|
1046
1027
|
/**
|
|
1047
|
-
* Parse a CompositionTimeToSampleBox from an
|
|
1028
|
+
* Parse a `CompositionTimeToSampleBox` from an `IsoBoxReadView`.
|
|
1048
1029
|
*
|
|
1049
|
-
* @param view - The
|
|
1030
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1050
1031
|
*
|
|
1051
|
-
* @returns A parsed CompositionTimeToSampleBox
|
|
1032
|
+
* @returns A parsed `CompositionTimeToSampleBox`
|
|
1052
1033
|
*
|
|
1053
1034
|
* @public
|
|
1054
1035
|
*/
|
|
@@ -1071,11 +1052,11 @@ function readCtts(view) {
|
|
|
1071
1052
|
//#endregion
|
|
1072
1053
|
//#region src/readers/readDref.ts
|
|
1073
1054
|
/**
|
|
1074
|
-
* Parse a DataReferenceBox from an
|
|
1055
|
+
* Parse a `DataReferenceBox` from an `IsoBoxReadView`.
|
|
1075
1056
|
*
|
|
1076
|
-
* @param view - The
|
|
1057
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1077
1058
|
*
|
|
1078
|
-
* @returns A parsed DataReferenceBox
|
|
1059
|
+
* @returns A parsed `DataReferenceBox`
|
|
1079
1060
|
*
|
|
1080
1061
|
* @public
|
|
1081
1062
|
*/
|
|
@@ -1094,11 +1075,11 @@ function readDref(view) {
|
|
|
1094
1075
|
//#endregion
|
|
1095
1076
|
//#region src/readers/readElng.ts
|
|
1096
1077
|
/**
|
|
1097
|
-
* Parse a ExtendedLanguageBox from an
|
|
1078
|
+
* Parse a `ExtendedLanguageBox` from an `IsoBoxReadView`.
|
|
1098
1079
|
*
|
|
1099
|
-
* @param view - The
|
|
1080
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1100
1081
|
*
|
|
1101
|
-
* @returns A parsed ExtendedLanguageBox
|
|
1082
|
+
* @returns A parsed `ExtendedLanguageBox`
|
|
1102
1083
|
*
|
|
1103
1084
|
* @public
|
|
1104
1085
|
*/
|
|
@@ -1113,11 +1094,11 @@ function readElng(view) {
|
|
|
1113
1094
|
//#endregion
|
|
1114
1095
|
//#region src/readers/readElst.ts
|
|
1115
1096
|
/**
|
|
1116
|
-
* Parse a
|
|
1097
|
+
* Parse a `EditListBox` from an `IsoBoxReadView`.
|
|
1117
1098
|
*
|
|
1118
|
-
* @param view - The
|
|
1099
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1119
1100
|
*
|
|
1120
|
-
* @returns A parsed
|
|
1101
|
+
* @returns A parsed `EditListBox`
|
|
1121
1102
|
*
|
|
1122
1103
|
* @public
|
|
1123
1104
|
*/
|
|
@@ -1142,11 +1123,11 @@ function readElst(view) {
|
|
|
1142
1123
|
//#endregion
|
|
1143
1124
|
//#region src/readers/readEmsg.ts
|
|
1144
1125
|
/**
|
|
1145
|
-
* Parse
|
|
1126
|
+
* Parse a `EventMessageBox` from an `IsoBoxReadView`.
|
|
1146
1127
|
*
|
|
1147
|
-
* @param view - The
|
|
1128
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1148
1129
|
*
|
|
1149
|
-
* @returns A parsed EventMessageBox
|
|
1130
|
+
* @returns A parsed `EventMessageBox`
|
|
1150
1131
|
*
|
|
1151
1132
|
* @public
|
|
1152
1133
|
*/
|
|
@@ -1178,11 +1159,11 @@ function readEmsg(view) {
|
|
|
1178
1159
|
//#endregion
|
|
1179
1160
|
//#region src/readers/readEnca.ts
|
|
1180
1161
|
/**
|
|
1181
|
-
* Parse an
|
|
1162
|
+
* Parse an `AudioSampleEntryBox` from an `IsoBoxReadView`.
|
|
1182
1163
|
*
|
|
1183
|
-
* @param view - The
|
|
1164
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1184
1165
|
*
|
|
1185
|
-
* @returns A parsed
|
|
1166
|
+
* @returns A parsed `AudioSampleEntryBox`
|
|
1186
1167
|
*
|
|
1187
1168
|
* @public
|
|
1188
1169
|
*/
|
|
@@ -1193,11 +1174,11 @@ function readEnca(view) {
|
|
|
1193
1174
|
//#endregion
|
|
1194
1175
|
//#region src/readers/readEncv.ts
|
|
1195
1176
|
/**
|
|
1196
|
-
* Parse a VisualSampleEntryBox from an
|
|
1177
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
1197
1178
|
*
|
|
1198
|
-
* @param view - The
|
|
1179
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1199
1180
|
*
|
|
1200
|
-
* @returns A parsed VisualSampleEntryBox
|
|
1181
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
1201
1182
|
*
|
|
1202
1183
|
* @public
|
|
1203
1184
|
*/
|
|
@@ -1208,11 +1189,11 @@ function readEncv(view) {
|
|
|
1208
1189
|
//#endregion
|
|
1209
1190
|
//#region src/readers/readFree.ts
|
|
1210
1191
|
/**
|
|
1211
|
-
* Parse a
|
|
1192
|
+
* Parse a `FreeSpaceBox` from an `IsoBoxReadView`.
|
|
1212
1193
|
*
|
|
1213
|
-
* @param view - The
|
|
1194
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1214
1195
|
*
|
|
1215
|
-
* @returns A parsed
|
|
1196
|
+
* @returns A parsed `FreeSpaceBox`
|
|
1216
1197
|
*
|
|
1217
1198
|
* @public
|
|
1218
1199
|
*/
|
|
@@ -1226,11 +1207,11 @@ function readFree(view) {
|
|
|
1226
1207
|
//#endregion
|
|
1227
1208
|
//#region src/readers/readFrma.ts
|
|
1228
1209
|
/**
|
|
1229
|
-
* Parse an OriginalFormatBox from an
|
|
1210
|
+
* Parse an `OriginalFormatBox` from an `IsoBoxReadView`.
|
|
1230
1211
|
*
|
|
1231
|
-
* @param view - The
|
|
1212
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1232
1213
|
*
|
|
1233
|
-
* @returns A parsed OriginalFormatBox
|
|
1214
|
+
* @returns A parsed `OriginalFormatBox`
|
|
1234
1215
|
*
|
|
1235
1216
|
* @public
|
|
1236
1217
|
*/
|
|
@@ -1244,11 +1225,11 @@ function readFrma(view) {
|
|
|
1244
1225
|
//#endregion
|
|
1245
1226
|
//#region src/readers/readFtyp.ts
|
|
1246
1227
|
/**
|
|
1247
|
-
* Parse a FileTypeBox from an
|
|
1228
|
+
* Parse a `FileTypeBox` from an `IsoBoxReadView`.
|
|
1248
1229
|
*
|
|
1249
|
-
* @param view - The
|
|
1230
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1250
1231
|
*
|
|
1251
|
-
* @returns A parsed FileTypeBox
|
|
1232
|
+
* @returns A parsed `FileTypeBox`
|
|
1252
1233
|
*
|
|
1253
1234
|
* @public
|
|
1254
1235
|
*/
|
|
@@ -1268,11 +1249,11 @@ function readFtyp(view) {
|
|
|
1268
1249
|
//#endregion
|
|
1269
1250
|
//#region src/readers/readHdlr.ts
|
|
1270
1251
|
/**
|
|
1271
|
-
* Parse a HandlerReferenceBox from an
|
|
1252
|
+
* Parse a `HandlerReferenceBox` from an `IsoBoxReadView`.
|
|
1272
1253
|
*
|
|
1273
|
-
* @param view - The
|
|
1254
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1274
1255
|
*
|
|
1275
|
-
* @returns A parsed HandlerReferenceBox
|
|
1256
|
+
* @returns A parsed `HandlerReferenceBox`
|
|
1276
1257
|
*
|
|
1277
1258
|
* @public
|
|
1278
1259
|
*/
|
|
@@ -1290,11 +1271,11 @@ function readHdlr(view) {
|
|
|
1290
1271
|
//#endregion
|
|
1291
1272
|
//#region src/readers/readHev1.ts
|
|
1292
1273
|
/**
|
|
1293
|
-
* Parse a VisualSampleEntryBox from an
|
|
1274
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
1294
1275
|
*
|
|
1295
|
-
* @param view - The
|
|
1276
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1296
1277
|
*
|
|
1297
|
-
* @returns A parsed VisualSampleEntryBox
|
|
1278
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
1298
1279
|
*
|
|
1299
1280
|
* @public
|
|
1300
1281
|
*/
|
|
@@ -1305,11 +1286,11 @@ function readHev1(view) {
|
|
|
1305
1286
|
//#endregion
|
|
1306
1287
|
//#region src/readers/readHvc1.ts
|
|
1307
1288
|
/**
|
|
1308
|
-
* Parse a VisualSampleEntryBox from an
|
|
1289
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
1309
1290
|
*
|
|
1310
|
-
* @param view - The
|
|
1291
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1311
1292
|
*
|
|
1312
|
-
* @returns A parsed VisualSampleEntryBox
|
|
1293
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
1313
1294
|
*
|
|
1314
1295
|
* @public
|
|
1315
1296
|
*/
|
|
@@ -1320,11 +1301,11 @@ function readHvc1(view) {
|
|
|
1320
1301
|
//#endregion
|
|
1321
1302
|
//#region src/readers/readIden.ts
|
|
1322
1303
|
/**
|
|
1323
|
-
* Parse a
|
|
1304
|
+
* Parse a `WebVttCueIdBox` from an `IsoBoxReadView`.
|
|
1324
1305
|
*
|
|
1325
|
-
* @param view - The
|
|
1306
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1326
1307
|
*
|
|
1327
|
-
* @returns A parsed
|
|
1308
|
+
* @returns A parsed `WebVttCueIdBox`
|
|
1328
1309
|
*
|
|
1329
1310
|
* @public
|
|
1330
1311
|
*/
|
|
@@ -1338,11 +1319,11 @@ function readIden(view) {
|
|
|
1338
1319
|
//#endregion
|
|
1339
1320
|
//#region src/readers/readImda.ts
|
|
1340
1321
|
/**
|
|
1341
|
-
* Parse a IdentifiedMediaDataBox from an
|
|
1322
|
+
* Parse a `IdentifiedMediaDataBox` from an `IsoBoxReadView`.
|
|
1342
1323
|
*
|
|
1343
|
-
* @param view - The
|
|
1324
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1344
1325
|
*
|
|
1345
|
-
* @returns A parsed IdentifiedMediaDataBox
|
|
1326
|
+
* @returns A parsed `IdentifiedMediaDataBox`
|
|
1346
1327
|
*
|
|
1347
1328
|
* @public
|
|
1348
1329
|
*/
|
|
@@ -1357,11 +1338,11 @@ function readImda(view) {
|
|
|
1357
1338
|
//#endregion
|
|
1358
1339
|
//#region src/readers/readKind.ts
|
|
1359
1340
|
/**
|
|
1360
|
-
* Parse a
|
|
1341
|
+
* Parse a `TrackKindBox` from an `IsoBoxReadView`.
|
|
1361
1342
|
*
|
|
1362
|
-
* @param view - The
|
|
1343
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1363
1344
|
*
|
|
1364
|
-
* @returns A parsed TrackKindBox
|
|
1345
|
+
* @returns A parsed `TrackKindBox`
|
|
1365
1346
|
*
|
|
1366
1347
|
* @public
|
|
1367
1348
|
*/
|
|
@@ -1377,11 +1358,11 @@ function readKind(view) {
|
|
|
1377
1358
|
//#endregion
|
|
1378
1359
|
//#region src/readers/readLabl.ts
|
|
1379
1360
|
/**
|
|
1380
|
-
* Parse a LabelBox from an
|
|
1361
|
+
* Parse a `LabelBox` from an `IsoBoxReadView`.
|
|
1381
1362
|
*
|
|
1382
|
-
* @param view - The
|
|
1363
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1383
1364
|
*
|
|
1384
|
-
* @returns A parsed LabelBox
|
|
1365
|
+
* @returns A parsed `LabelBox`
|
|
1385
1366
|
*
|
|
1386
1367
|
* @public
|
|
1387
1368
|
*/
|
|
@@ -1401,11 +1382,11 @@ function readLabl(view) {
|
|
|
1401
1382
|
//#endregion
|
|
1402
1383
|
//#region src/readers/readMdat.ts
|
|
1403
1384
|
/**
|
|
1404
|
-
* Parse a MediaDataBox from an
|
|
1385
|
+
* Parse a `MediaDataBox` from an `IsoBoxReadView`.
|
|
1405
1386
|
*
|
|
1406
|
-
* @param view - The
|
|
1387
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1407
1388
|
*
|
|
1408
|
-
* @returns A parsed MediaDataBox
|
|
1389
|
+
* @returns A parsed `MediaDataBox`
|
|
1409
1390
|
*
|
|
1410
1391
|
* @public
|
|
1411
1392
|
*/
|
|
@@ -1419,11 +1400,11 @@ function readMdat(view) {
|
|
|
1419
1400
|
//#endregion
|
|
1420
1401
|
//#region src/readers/readMdhd.ts
|
|
1421
1402
|
/**
|
|
1422
|
-
* Parse a MediaHeaderBox from an
|
|
1403
|
+
* Parse a `MediaHeaderBox` from an `IsoBoxReadView`.
|
|
1423
1404
|
*
|
|
1424
|
-
* @param view - The
|
|
1405
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1425
1406
|
*
|
|
1426
|
-
* @returns A parsed MediaHeaderBox
|
|
1407
|
+
* @returns A parsed `MediaHeaderBox`
|
|
1427
1408
|
*
|
|
1428
1409
|
* @public
|
|
1429
1410
|
*/
|
|
@@ -1450,11 +1431,11 @@ function readMdhd(view) {
|
|
|
1450
1431
|
//#endregion
|
|
1451
1432
|
//#region src/readers/readMehd.ts
|
|
1452
1433
|
/**
|
|
1453
|
-
* Parse a MovieExtendsHeaderBox from an
|
|
1434
|
+
* Parse a `MovieExtendsHeaderBox` from an `IsoBoxReadView`.
|
|
1454
1435
|
*
|
|
1455
|
-
* @param view - The
|
|
1436
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1456
1437
|
*
|
|
1457
|
-
* @returns A parsed MovieExtendsHeaderBox
|
|
1438
|
+
* @returns A parsed `MovieExtendsHeaderBox`
|
|
1458
1439
|
*
|
|
1459
1440
|
* @public
|
|
1460
1441
|
*/
|
|
@@ -1471,11 +1452,11 @@ function readMehd(view) {
|
|
|
1471
1452
|
//#endregion
|
|
1472
1453
|
//#region src/readers/readMeta.ts
|
|
1473
1454
|
/**
|
|
1474
|
-
* Parse a MetaBox from an
|
|
1455
|
+
* Parse a `MetaBox` from an `IsoBoxReadView`.
|
|
1475
1456
|
*
|
|
1476
|
-
* @param view - The
|
|
1457
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1477
1458
|
*
|
|
1478
|
-
* @returns A parsed MetaBox
|
|
1459
|
+
* @returns A parsed `MetaBox`
|
|
1479
1460
|
*
|
|
1480
1461
|
* @public
|
|
1481
1462
|
*/
|
|
@@ -1490,11 +1471,11 @@ function readMeta(view) {
|
|
|
1490
1471
|
//#endregion
|
|
1491
1472
|
//#region src/readers/readMfhd.ts
|
|
1492
1473
|
/**
|
|
1493
|
-
* Parse a MovieFragmentHeaderBox from an
|
|
1474
|
+
* Parse a `MovieFragmentHeaderBox` from an `IsoBoxReadView`.
|
|
1494
1475
|
*
|
|
1495
|
-
* @param view - The
|
|
1476
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1496
1477
|
*
|
|
1497
|
-
* @returns A parsed MovieFragmentHeaderBox
|
|
1478
|
+
* @returns A parsed `MovieFragmentHeaderBox`
|
|
1498
1479
|
*
|
|
1499
1480
|
* @public
|
|
1500
1481
|
*/
|
|
@@ -1509,11 +1490,11 @@ function readMfhd(view) {
|
|
|
1509
1490
|
//#endregion
|
|
1510
1491
|
//#region src/readers/readMfro.ts
|
|
1511
1492
|
/**
|
|
1512
|
-
* Parse a
|
|
1493
|
+
* Parse a `MovieFragmentRandomAccessOffsetBox` from an `IsoBoxReadView`.
|
|
1513
1494
|
*
|
|
1514
|
-
* @param view - The
|
|
1495
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1515
1496
|
*
|
|
1516
|
-
* @returns A parsed
|
|
1497
|
+
* @returns A parsed `MovieFragmentRandomAccessOffsetBox`
|
|
1517
1498
|
*
|
|
1518
1499
|
* @public
|
|
1519
1500
|
*/
|
|
@@ -1528,11 +1509,11 @@ function readMfro(view) {
|
|
|
1528
1509
|
//#endregion
|
|
1529
1510
|
//#region src/readers/readMp4a.ts
|
|
1530
1511
|
/**
|
|
1531
|
-
* Parse an
|
|
1512
|
+
* Parse an `AudioSampleEntryBox` from an `IsoBoxReadView`.
|
|
1532
1513
|
*
|
|
1533
|
-
* @param view - The
|
|
1514
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1534
1515
|
*
|
|
1535
|
-
* @returns A parsed
|
|
1516
|
+
* @returns A parsed `AudioSampleEntryBox`
|
|
1536
1517
|
*
|
|
1537
1518
|
* @public
|
|
1538
1519
|
*/
|
|
@@ -1543,11 +1524,11 @@ function readMp4a(view) {
|
|
|
1543
1524
|
//#endregion
|
|
1544
1525
|
//#region src/readers/readMvhd.ts
|
|
1545
1526
|
/**
|
|
1546
|
-
* Parse a
|
|
1527
|
+
* Parse a `MovieHeaderBox` from an `IsoBoxReadView`.
|
|
1547
1528
|
*
|
|
1548
|
-
* @param view - The
|
|
1529
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1549
1530
|
*
|
|
1550
|
-
* @returns A parsed
|
|
1531
|
+
* @returns A parsed `MovieHeaderBox`
|
|
1551
1532
|
*
|
|
1552
1533
|
* @public
|
|
1553
1534
|
*/
|
|
@@ -1576,11 +1557,11 @@ function readMvhd(view) {
|
|
|
1576
1557
|
//#endregion
|
|
1577
1558
|
//#region src/readers/readPayl.ts
|
|
1578
1559
|
/**
|
|
1579
|
-
* Parse a
|
|
1560
|
+
* Parse a `WebVttCuePayloadBox` from an `IsoBoxReadView`.
|
|
1580
1561
|
*
|
|
1581
|
-
* @param view - The
|
|
1562
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1582
1563
|
*
|
|
1583
|
-
* @returns A parsed
|
|
1564
|
+
* @returns A parsed `WebVttCuePayloadBox`
|
|
1584
1565
|
*
|
|
1585
1566
|
* @public
|
|
1586
1567
|
*/
|
|
@@ -1594,11 +1575,11 @@ function readPayl(view) {
|
|
|
1594
1575
|
//#endregion
|
|
1595
1576
|
//#region src/readers/readPrft.ts
|
|
1596
1577
|
/**
|
|
1597
|
-
* Parse a ProducerReferenceTimeBox from an
|
|
1578
|
+
* Parse a `ProducerReferenceTimeBox` from an `IsoBoxReadView`.
|
|
1598
1579
|
*
|
|
1599
|
-
* @param view - The
|
|
1580
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1600
1581
|
*
|
|
1601
|
-
* @returns A parsed ProducerReferenceTimeBox
|
|
1582
|
+
* @returns A parsed `ProducerReferenceTimeBox`
|
|
1602
1583
|
*
|
|
1603
1584
|
* @public
|
|
1604
1585
|
*/
|
|
@@ -1618,11 +1599,11 @@ function readPrft(view) {
|
|
|
1618
1599
|
//#endregion
|
|
1619
1600
|
//#region src/readers/readPrsl.ts
|
|
1620
1601
|
/**
|
|
1621
|
-
* Parse a PreselectionGroupBox from an
|
|
1602
|
+
* Parse a `PreselectionGroupBox` from an `IsoBoxReadView`.
|
|
1622
1603
|
*
|
|
1623
|
-
* @param view - The
|
|
1604
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1624
1605
|
*
|
|
1625
|
-
* @returns A parsed PreselectionGroupBox
|
|
1606
|
+
* @returns A parsed `PreselectionGroupBox`
|
|
1626
1607
|
*
|
|
1627
1608
|
* @public
|
|
1628
1609
|
*/
|
|
@@ -1647,11 +1628,11 @@ function readPrsl(view) {
|
|
|
1647
1628
|
//#endregion
|
|
1648
1629
|
//#region src/readers/readPssh.ts
|
|
1649
1630
|
/**
|
|
1650
|
-
* Parse a ProtectionSystemSpecificHeaderBox from an
|
|
1631
|
+
* Parse a `ProtectionSystemSpecificHeaderBox` from an `IsoBoxReadView`.
|
|
1651
1632
|
*
|
|
1652
|
-
* @param view - The
|
|
1633
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1653
1634
|
*
|
|
1654
|
-
* @returns A parsed ProtectionSystemSpecificHeaderBox
|
|
1635
|
+
* @returns A parsed `ProtectionSystemSpecificHeaderBox`
|
|
1655
1636
|
*
|
|
1656
1637
|
* @public
|
|
1657
1638
|
*/
|
|
@@ -1682,11 +1663,11 @@ function readPssh(view) {
|
|
|
1682
1663
|
//#endregion
|
|
1683
1664
|
//#region src/readers/readSchm.ts
|
|
1684
1665
|
/**
|
|
1685
|
-
* Parse a SchemeTypeBox from an
|
|
1666
|
+
* Parse a `SchemeTypeBox` from an `IsoBoxReadView`.
|
|
1686
1667
|
*
|
|
1687
|
-
* @param view - The
|
|
1668
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1688
1669
|
*
|
|
1689
|
-
* @returns A parsed SchemeTypeBox
|
|
1670
|
+
* @returns A parsed `SchemeTypeBox`
|
|
1690
1671
|
*
|
|
1691
1672
|
* @public
|
|
1692
1673
|
*/
|
|
@@ -1705,11 +1686,11 @@ function readSchm(view) {
|
|
|
1705
1686
|
//#endregion
|
|
1706
1687
|
//#region src/readers/readSdtp.ts
|
|
1707
1688
|
/**
|
|
1708
|
-
* Parse a SampleDependencyTypeBox from an
|
|
1689
|
+
* Parse a `SampleDependencyTypeBox` from an `IsoBoxReadView`.
|
|
1709
1690
|
*
|
|
1710
|
-
* @param view - The
|
|
1691
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1711
1692
|
*
|
|
1712
|
-
* @returns A parsed SampleDependencyTypeBox
|
|
1693
|
+
* @returns A parsed `SampleDependencyTypeBox`
|
|
1713
1694
|
*
|
|
1714
1695
|
* @public
|
|
1715
1696
|
*/
|
|
@@ -1724,11 +1705,11 @@ function readSdtp(view) {
|
|
|
1724
1705
|
//#endregion
|
|
1725
1706
|
//#region src/readers/readSidx.ts
|
|
1726
1707
|
/**
|
|
1727
|
-
* Parse a SegmentIndexBox from an
|
|
1708
|
+
* Parse a `SegmentIndexBox` from an `IsoBoxReadView`.
|
|
1728
1709
|
*
|
|
1729
|
-
* @param view - The
|
|
1710
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1730
1711
|
*
|
|
1731
|
-
* @returns A parsed SegmentIndexBox
|
|
1712
|
+
* @returns A parsed `SegmentIndexBox`
|
|
1732
1713
|
*
|
|
1733
1714
|
* @public
|
|
1734
1715
|
*/
|
|
@@ -1769,11 +1750,11 @@ function readSidx(view) {
|
|
|
1769
1750
|
//#endregion
|
|
1770
1751
|
//#region src/readers/readSkip.ts
|
|
1771
1752
|
/**
|
|
1772
|
-
* Parse a FreeSpaceBox from an
|
|
1753
|
+
* Parse a `FreeSpaceBox` from an `IsoBoxReadView`.
|
|
1773
1754
|
*
|
|
1774
|
-
* @param view - The
|
|
1755
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1775
1756
|
*
|
|
1776
|
-
* @returns A parsed FreeSpaceBox
|
|
1757
|
+
* @returns A parsed `FreeSpaceBox`
|
|
1777
1758
|
*
|
|
1778
1759
|
* @public
|
|
1779
1760
|
*/
|
|
@@ -1787,11 +1768,11 @@ function readSkip(view) {
|
|
|
1787
1768
|
//#endregion
|
|
1788
1769
|
//#region src/readers/readSmhd.ts
|
|
1789
1770
|
/**
|
|
1790
|
-
* Parse a SoundMediaHeaderBox from an
|
|
1771
|
+
* Parse a `SoundMediaHeaderBox` from an `IsoBoxReadView`.
|
|
1791
1772
|
*
|
|
1792
|
-
* @param view - The
|
|
1773
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1793
1774
|
*
|
|
1794
|
-
* @returns A parsed SoundMediaHeaderBox
|
|
1775
|
+
* @returns A parsed `SoundMediaHeaderBox`
|
|
1795
1776
|
*
|
|
1796
1777
|
* @public
|
|
1797
1778
|
*/
|
|
@@ -1807,11 +1788,11 @@ function readSmhd(view) {
|
|
|
1807
1788
|
//#endregion
|
|
1808
1789
|
//#region src/readers/readSsix.ts
|
|
1809
1790
|
/**
|
|
1810
|
-
* Parse a SubsegmentIndexBox from an
|
|
1791
|
+
* Parse a `SubsegmentIndexBox` from an `IsoBoxReadView`.
|
|
1811
1792
|
*
|
|
1812
|
-
* @param view - The
|
|
1793
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1813
1794
|
*
|
|
1814
|
-
* @returns A parsed SubsegmentIndexBox
|
|
1795
|
+
* @returns A parsed `SubsegmentIndexBox`
|
|
1815
1796
|
*
|
|
1816
1797
|
* @public
|
|
1817
1798
|
*/
|
|
@@ -1839,11 +1820,11 @@ function readSsix(view) {
|
|
|
1839
1820
|
//#endregion
|
|
1840
1821
|
//#region src/readers/readSthd.ts
|
|
1841
1822
|
/**
|
|
1842
|
-
* Parse a SubtitleMediaHeaderBox from an
|
|
1823
|
+
* Parse a `SubtitleMediaHeaderBox` from an `IsoBoxReadView`.
|
|
1843
1824
|
*
|
|
1844
|
-
* @param view - The
|
|
1825
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1845
1826
|
*
|
|
1846
|
-
* @returns A parsed SubtitleMediaHeaderBox
|
|
1827
|
+
* @returns A parsed `SubtitleMediaHeaderBox`
|
|
1847
1828
|
*
|
|
1848
1829
|
* @public
|
|
1849
1830
|
*/
|
|
@@ -1857,11 +1838,11 @@ function readSthd(view) {
|
|
|
1857
1838
|
//#endregion
|
|
1858
1839
|
//#region src/readers/readStsd.ts
|
|
1859
1840
|
/**
|
|
1860
|
-
* Parse a SampleDescriptionBox from an
|
|
1841
|
+
* Parse a `SampleDescriptionBox` from an `IsoBoxReadView`.
|
|
1861
1842
|
*
|
|
1862
|
-
* @param view - The
|
|
1843
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1863
1844
|
*
|
|
1864
|
-
* @returns A parsed SampleDescriptionBox
|
|
1845
|
+
* @returns A parsed `SampleDescriptionBox`
|
|
1865
1846
|
*
|
|
1866
1847
|
* @public
|
|
1867
1848
|
*/
|
|
@@ -1880,11 +1861,11 @@ function readStsd(view) {
|
|
|
1880
1861
|
//#endregion
|
|
1881
1862
|
//#region src/readers/readStss.ts
|
|
1882
1863
|
/**
|
|
1883
|
-
* Parse a SyncSampleBox from an
|
|
1864
|
+
* Parse a `SyncSampleBox` from an `IsoBoxReadView`.
|
|
1884
1865
|
*
|
|
1885
|
-
* @param view - The
|
|
1866
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1886
1867
|
*
|
|
1887
|
-
* @returns A parsed SyncSampleBox
|
|
1868
|
+
* @returns A parsed `SyncSampleBox`
|
|
1888
1869
|
*
|
|
1889
1870
|
* @public
|
|
1890
1871
|
*/
|
|
@@ -1903,11 +1884,11 @@ function readStss(view) {
|
|
|
1903
1884
|
//#endregion
|
|
1904
1885
|
//#region src/readers/readSttg.ts
|
|
1905
1886
|
/**
|
|
1906
|
-
* Parse a
|
|
1887
|
+
* Parse a `WebVttSettingsBox` from an `IsoBoxReadView`.
|
|
1907
1888
|
*
|
|
1908
|
-
* @param view - The
|
|
1889
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1909
1890
|
*
|
|
1910
|
-
* @returns A parsed
|
|
1891
|
+
* @returns A parsed `WebVttSettingsBox`
|
|
1911
1892
|
*
|
|
1912
1893
|
* @public
|
|
1913
1894
|
*/
|
|
@@ -1921,11 +1902,11 @@ function readSttg(view) {
|
|
|
1921
1902
|
//#endregion
|
|
1922
1903
|
//#region src/readers/readStts.ts
|
|
1923
1904
|
/**
|
|
1924
|
-
* Parse a DecodingTimeToSampleBox from an
|
|
1905
|
+
* Parse a `DecodingTimeToSampleBox` from an `IsoBoxReadView`.
|
|
1925
1906
|
*
|
|
1926
|
-
* @param view - The
|
|
1907
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1927
1908
|
*
|
|
1928
|
-
* @returns A parsed DecodingTimeToSampleBox
|
|
1909
|
+
* @returns A parsed `DecodingTimeToSampleBox`
|
|
1929
1910
|
*
|
|
1930
1911
|
* @public
|
|
1931
1912
|
*/
|
|
@@ -1947,11 +1928,11 @@ function readStts(view) {
|
|
|
1947
1928
|
//#endregion
|
|
1948
1929
|
//#region src/readers/readStyp.ts
|
|
1949
1930
|
/**
|
|
1950
|
-
* Parse a SegmentTypeBox from an
|
|
1931
|
+
* Parse a `SegmentTypeBox` from an `IsoBoxReadView`.
|
|
1951
1932
|
*
|
|
1952
|
-
* @param view - The
|
|
1933
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1953
1934
|
*
|
|
1954
|
-
* @returns A parsed SegmentTypeBox
|
|
1935
|
+
* @returns A parsed `SegmentTypeBox`
|
|
1955
1936
|
*
|
|
1956
1937
|
* @public
|
|
1957
1938
|
*/
|
|
@@ -1965,11 +1946,11 @@ function readStyp(view) {
|
|
|
1965
1946
|
//#endregion
|
|
1966
1947
|
//#region src/readers/readSubs.ts
|
|
1967
1948
|
/**
|
|
1968
|
-
* Parse a
|
|
1949
|
+
* Parse a `SubsampleInformationBox` from an `IsoBoxReadView`.
|
|
1969
1950
|
*
|
|
1970
|
-
* @param view - The
|
|
1951
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
1971
1952
|
*
|
|
1972
|
-
* @returns A parsed
|
|
1953
|
+
* @returns A parsed `SubsampleInformationBox`
|
|
1973
1954
|
*
|
|
1974
1955
|
* @public
|
|
1975
1956
|
*/
|
|
@@ -2001,11 +1982,11 @@ function readSubs(view) {
|
|
|
2001
1982
|
//#endregion
|
|
2002
1983
|
//#region src/readers/readTenc.ts
|
|
2003
1984
|
/**
|
|
2004
|
-
* Parse a TrackEncryptionBox from an
|
|
1985
|
+
* Parse a `TrackEncryptionBox` from an `IsoBoxReadView`.
|
|
2005
1986
|
*
|
|
2006
|
-
* @param view - The
|
|
1987
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2007
1988
|
*
|
|
2008
|
-
* @returns A parsed TrackEncryptionBox
|
|
1989
|
+
* @returns A parsed `TrackEncryptionBox`
|
|
2009
1990
|
*
|
|
2010
1991
|
* @public
|
|
2011
1992
|
*/
|
|
@@ -2022,11 +2003,11 @@ function readTenc(view) {
|
|
|
2022
2003
|
//#endregion
|
|
2023
2004
|
//#region src/readers/readTfdt.ts
|
|
2024
2005
|
/**
|
|
2025
|
-
* Parse a
|
|
2006
|
+
* Parse a `TrackFragmentBaseMediaDecodeTimeBox` from an `IsoBoxReadView`.
|
|
2026
2007
|
*
|
|
2027
|
-
* @param view - The
|
|
2008
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2028
2009
|
*
|
|
2029
|
-
* @returns A parsed
|
|
2010
|
+
* @returns A parsed `TrackFragmentBaseMediaDecodeTimeBox`
|
|
2030
2011
|
*
|
|
2031
2012
|
* @public
|
|
2032
2013
|
*/
|
|
@@ -2043,11 +2024,11 @@ function readTfdt(view) {
|
|
|
2043
2024
|
//#endregion
|
|
2044
2025
|
//#region src/readers/readTfhd.ts
|
|
2045
2026
|
/**
|
|
2046
|
-
* Parse a TrackFragmentHeaderBox from an
|
|
2027
|
+
* Parse a `TrackFragmentHeaderBox` from an `IsoBoxReadView`.
|
|
2047
2028
|
*
|
|
2048
|
-
* @param view - The
|
|
2029
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2049
2030
|
*
|
|
2050
|
-
* @returns A parsed TrackFragmentHeaderBox
|
|
2031
|
+
* @returns A parsed `TrackFragmentHeaderBox`
|
|
2051
2032
|
*
|
|
2052
2033
|
* @public
|
|
2053
2034
|
*/
|
|
@@ -2069,11 +2050,11 @@ function readTfhd(view) {
|
|
|
2069
2050
|
//#endregion
|
|
2070
2051
|
//#region src/readers/readTfra.ts
|
|
2071
2052
|
/**
|
|
2072
|
-
* Parse a TrackFragmentRandomAccessBox from an
|
|
2053
|
+
* Parse a `TrackFragmentRandomAccessBox` from an `IsoBoxReadView`.
|
|
2073
2054
|
*
|
|
2074
|
-
* @param view - The
|
|
2055
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2075
2056
|
*
|
|
2076
|
-
* @returns A parsed TrackFragmentRandomAccessBox
|
|
2057
|
+
* @returns A parsed `TrackFragmentRandomAccessBox`
|
|
2077
2058
|
*
|
|
2078
2059
|
* @public
|
|
2079
2060
|
*/
|
|
@@ -2108,11 +2089,11 @@ function readTfra(view) {
|
|
|
2108
2089
|
//#endregion
|
|
2109
2090
|
//#region src/readers/readTkhd.ts
|
|
2110
2091
|
/**
|
|
2111
|
-
* Parse a TrackHeaderBox from an
|
|
2092
|
+
* Parse a `TrackHeaderBox` from an `IsoBoxReadView`.
|
|
2112
2093
|
*
|
|
2113
|
-
* @param view - The
|
|
2094
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2114
2095
|
*
|
|
2115
|
-
* @returns A parsed TrackHeaderBox
|
|
2096
|
+
* @returns A parsed `TrackHeaderBox`
|
|
2116
2097
|
*
|
|
2117
2098
|
* @public
|
|
2118
2099
|
*/
|
|
@@ -2142,11 +2123,11 @@ function readTkhd(view) {
|
|
|
2142
2123
|
//#endregion
|
|
2143
2124
|
//#region src/readers/readTrex.ts
|
|
2144
2125
|
/**
|
|
2145
|
-
* Parse a TrackExtendsBox from an
|
|
2126
|
+
* Parse a `TrackExtendsBox` from an `IsoBoxReadView`.
|
|
2146
2127
|
*
|
|
2147
|
-
* @param view - The
|
|
2128
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2148
2129
|
*
|
|
2149
|
-
* @returns A parsed TrackExtendsBox
|
|
2130
|
+
* @returns A parsed `TrackExtendsBox`
|
|
2150
2131
|
*
|
|
2151
2132
|
* @public
|
|
2152
2133
|
*/
|
|
@@ -2165,11 +2146,11 @@ function readTrex(view) {
|
|
|
2165
2146
|
//#endregion
|
|
2166
2147
|
//#region src/readers/readTrun.ts
|
|
2167
2148
|
/**
|
|
2168
|
-
* Parse a TrackRunBox from an
|
|
2149
|
+
* Parse a `TrackRunBox` from an `IsoBoxReadView`.
|
|
2169
2150
|
*
|
|
2170
|
-
* @param view - The
|
|
2151
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2171
2152
|
*
|
|
2172
|
-
* @returns A parsed TrackRunBox
|
|
2153
|
+
* @returns A parsed `TrackRunBox`
|
|
2173
2154
|
*
|
|
2174
2155
|
* @public
|
|
2175
2156
|
*/
|
|
@@ -2202,11 +2183,11 @@ function readTrun(view) {
|
|
|
2202
2183
|
//#endregion
|
|
2203
2184
|
//#region src/readers/readUrl.ts
|
|
2204
2185
|
/**
|
|
2205
|
-
* Parse a
|
|
2186
|
+
* Parse a `DataEntryUrlBox` from an `IsoBoxReadView`.
|
|
2206
2187
|
*
|
|
2207
|
-
* @param view - The
|
|
2188
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2208
2189
|
*
|
|
2209
|
-
* @returns A parsed
|
|
2190
|
+
* @returns A parsed `DataEntryUrlBox`
|
|
2210
2191
|
*
|
|
2211
2192
|
* @public
|
|
2212
2193
|
*/
|
|
@@ -2221,11 +2202,11 @@ function readUrl(view) {
|
|
|
2221
2202
|
//#endregion
|
|
2222
2203
|
//#region src/readers/readUrn.ts
|
|
2223
2204
|
/**
|
|
2224
|
-
* Parse a
|
|
2205
|
+
* Parse a `DataEntryUrnBox` from an `IsoBoxReadView`.
|
|
2225
2206
|
*
|
|
2226
|
-
* @param view - The
|
|
2207
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2227
2208
|
*
|
|
2228
|
-
* @returns A parsed
|
|
2209
|
+
* @returns A parsed `DataEntryUrnBox`
|
|
2229
2210
|
*
|
|
2230
2211
|
* @public
|
|
2231
2212
|
*/
|
|
@@ -2241,11 +2222,11 @@ function readUrn(view) {
|
|
|
2241
2222
|
//#endregion
|
|
2242
2223
|
//#region src/readers/readVlab.ts
|
|
2243
2224
|
/**
|
|
2244
|
-
* Parse a
|
|
2225
|
+
* Parse a `WebVttSourceLabelBox` from an `IsoBoxReadView`.
|
|
2245
2226
|
*
|
|
2246
|
-
* @param view - The
|
|
2227
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2247
2228
|
*
|
|
2248
|
-
* @returns A parsed
|
|
2229
|
+
* @returns A parsed `WebVttSourceLabelBox`
|
|
2249
2230
|
*
|
|
2250
2231
|
* @public
|
|
2251
2232
|
*/
|
|
@@ -2259,11 +2240,11 @@ function readVlab(view) {
|
|
|
2259
2240
|
//#endregion
|
|
2260
2241
|
//#region src/readers/readVmhd.ts
|
|
2261
2242
|
/**
|
|
2262
|
-
* Parse a VideoMediaHeaderBox from an
|
|
2243
|
+
* Parse a `VideoMediaHeaderBox` from an `IsoBoxReadView`.
|
|
2263
2244
|
*
|
|
2264
|
-
* @param view - The
|
|
2245
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2265
2246
|
*
|
|
2266
|
-
* @returns A parsed VideoMediaHeaderBox
|
|
2247
|
+
* @returns A parsed `VideoMediaHeaderBox`
|
|
2267
2248
|
*
|
|
2268
2249
|
* @public
|
|
2269
2250
|
*/
|
|
@@ -2279,11 +2260,11 @@ function readVmhd(view) {
|
|
|
2279
2260
|
//#endregion
|
|
2280
2261
|
//#region src/readers/readVttC.ts
|
|
2281
2262
|
/**
|
|
2282
|
-
* Parse a
|
|
2263
|
+
* Parse a `WebVttConfigurationBox` from an `IsoBoxReadView`.
|
|
2283
2264
|
*
|
|
2284
|
-
* @param view - The
|
|
2265
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2285
2266
|
*
|
|
2286
|
-
* @returns A parsed WebVttConfigurationBox
|
|
2267
|
+
* @returns A parsed `WebVttConfigurationBox`
|
|
2287
2268
|
*
|
|
2288
2269
|
* @public
|
|
2289
2270
|
*/
|
|
@@ -2297,9 +2278,9 @@ function readVttC(view) {
|
|
|
2297
2278
|
//#endregion
|
|
2298
2279
|
//#region src/readers/readVtte.ts
|
|
2299
2280
|
/**
|
|
2300
|
-
* Parse a
|
|
2281
|
+
* Parse a `WebVttEmptySampleBox` from an `IsoBoxReadView`.
|
|
2301
2282
|
*
|
|
2302
|
-
* @returns A parsed
|
|
2283
|
+
* @returns A parsed `WebVttEmptySampleBox`
|
|
2303
2284
|
*
|
|
2304
2285
|
* @public
|
|
2305
2286
|
*/
|
|
@@ -2325,11 +2306,11 @@ function isFullBox(box) {
|
|
|
2325
2306
|
//#endregion
|
|
2326
2307
|
//#region src/writers/writeArdi.ts
|
|
2327
2308
|
/**
|
|
2328
|
-
* Write an AudioRenderingIndicationBox to an
|
|
2309
|
+
* Write an `AudioRenderingIndicationBox` to an `IsoBoxWriteView`.
|
|
2329
2310
|
*
|
|
2330
|
-
* @param box - The AudioRenderingIndicationBox fields to write
|
|
2311
|
+
* @param box - The `AudioRenderingIndicationBox` fields to write
|
|
2331
2312
|
*
|
|
2332
|
-
* @returns An
|
|
2313
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2333
2314
|
*
|
|
2334
2315
|
* @public
|
|
2335
2316
|
*/
|
|
@@ -2343,14 +2324,14 @@ function writeArdi(box) {
|
|
|
2343
2324
|
//#endregion
|
|
2344
2325
|
//#region src/writers/writeAudioSampleEntryBox.ts
|
|
2345
2326
|
/**
|
|
2346
|
-
* Write an AudioSampleEntryBox to an
|
|
2327
|
+
* Write an `AudioSampleEntryBox` to an `IsoBoxWriteView`.
|
|
2347
2328
|
*
|
|
2348
2329
|
* ISO/IEC 14496-12:2012 - 12.2.3 Audio Sample Entry
|
|
2349
2330
|
*
|
|
2350
|
-
* @param box - The AudioSampleEntryBox fields to write
|
|
2351
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2331
|
+
* @param box - The `AudioSampleEntryBox` fields to write
|
|
2332
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2352
2333
|
*
|
|
2353
|
-
* @returns An
|
|
2334
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2354
2335
|
*
|
|
2355
2336
|
* @public
|
|
2356
2337
|
*/
|
|
@@ -2382,14 +2363,14 @@ function writeAudioSampleEntryBox(box, config) {
|
|
|
2382
2363
|
//#endregion
|
|
2383
2364
|
//#region src/writers/writeVisualSampleEntryBox.ts
|
|
2384
2365
|
/**
|
|
2385
|
-
* Write a VisualSampleEntryBox to an
|
|
2366
|
+
* Write a `VisualSampleEntryBox` to an `IsoBoxWriteView`.
|
|
2386
2367
|
*
|
|
2387
2368
|
* ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry
|
|
2388
2369
|
*
|
|
2389
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2370
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2390
2371
|
* @param config - The configuration for the writer
|
|
2391
2372
|
*
|
|
2392
|
-
* @returns An
|
|
2373
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2393
2374
|
*
|
|
2394
2375
|
* @public
|
|
2395
2376
|
*/
|
|
@@ -2433,14 +2414,14 @@ function writeVisualSampleEntryBox(box, config) {
|
|
|
2433
2414
|
//#endregion
|
|
2434
2415
|
//#region src/writers/writeAvc1.ts
|
|
2435
2416
|
/**
|
|
2436
|
-
* Write a VisualSampleEntryBox to an
|
|
2417
|
+
* Write a `VisualSampleEntryBox` to an `IsoBoxWriteView`.
|
|
2437
2418
|
*
|
|
2438
2419
|
* ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry
|
|
2439
2420
|
*
|
|
2440
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2441
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2421
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2422
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2442
2423
|
*
|
|
2443
|
-
* @returns An
|
|
2424
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2444
2425
|
*
|
|
2445
2426
|
* @public
|
|
2446
2427
|
*/
|
|
@@ -2451,12 +2432,12 @@ function writeAvc1(box, config) {
|
|
|
2451
2432
|
//#endregion
|
|
2452
2433
|
//#region src/writers/writeAvc2.ts
|
|
2453
2434
|
/**
|
|
2454
|
-
* Write a VisualSampleEntryBox (avc2) to an
|
|
2435
|
+
* Write a `VisualSampleEntryBox` (avc2) to an `IsoBoxWriteView`.
|
|
2455
2436
|
*
|
|
2456
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2457
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2437
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2438
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2458
2439
|
*
|
|
2459
|
-
* @returns An
|
|
2440
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2460
2441
|
*
|
|
2461
2442
|
* @public
|
|
2462
2443
|
*/
|
|
@@ -2467,12 +2448,12 @@ function writeAvc2(box, config) {
|
|
|
2467
2448
|
//#endregion
|
|
2468
2449
|
//#region src/writers/writeAvc3.ts
|
|
2469
2450
|
/**
|
|
2470
|
-
* Write a VisualSampleEntryBox (avc3) to an
|
|
2451
|
+
* Write a `VisualSampleEntryBox` (avc3) to an `IsoBoxWriteView`.
|
|
2471
2452
|
*
|
|
2472
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2453
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2473
2454
|
* @param config - The IsoBoxWriteViewConfig to use
|
|
2474
2455
|
*
|
|
2475
|
-
* @returns An
|
|
2456
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2476
2457
|
*
|
|
2477
2458
|
* @public
|
|
2478
2459
|
*/
|
|
@@ -2483,12 +2464,12 @@ function writeAvc3(box, config) {
|
|
|
2483
2464
|
//#endregion
|
|
2484
2465
|
//#region src/writers/writeAvc4.ts
|
|
2485
2466
|
/**
|
|
2486
|
-
* Write a VisualSampleEntryBox (avc4) to an
|
|
2467
|
+
* Write a `VisualSampleEntryBox` (avc4) to an `IsoBoxWriteView`.
|
|
2487
2468
|
*
|
|
2488
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2489
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2469
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2470
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2490
2471
|
*
|
|
2491
|
-
* @returns An
|
|
2472
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2492
2473
|
*
|
|
2493
2474
|
* @public
|
|
2494
2475
|
*/
|
|
@@ -2499,13 +2480,13 @@ function writeAvc4(box, config) {
|
|
|
2499
2480
|
//#endregion
|
|
2500
2481
|
//#region src/writers/writeCtts.ts
|
|
2501
2482
|
/**
|
|
2502
|
-
* Write a CompositionTimeToSampleBox to an
|
|
2483
|
+
* Write a `CompositionTimeToSampleBox` to an `IsoBoxWriteView`.
|
|
2503
2484
|
*
|
|
2504
2485
|
* ISO/IEC 14496-12:2012 - 8.6.1.3 Composition Time to Sample Box
|
|
2505
2486
|
*
|
|
2506
|
-
* @param box - The CompositionTimeToSampleBox fields to write
|
|
2487
|
+
* @param box - The `CompositionTimeToSampleBox` fields to write
|
|
2507
2488
|
*
|
|
2508
|
-
* @returns An
|
|
2489
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2509
2490
|
*
|
|
2510
2491
|
* @public
|
|
2511
2492
|
*/
|
|
@@ -2527,12 +2508,12 @@ function writeCtts(box) {
|
|
|
2527
2508
|
//#endregion
|
|
2528
2509
|
//#region src/writers/writeDref.ts
|
|
2529
2510
|
/**
|
|
2530
|
-
* Write a DataReferenceBox to an
|
|
2511
|
+
* Write a `DataReferenceBox` to an `IsoBoxWriteView`.
|
|
2531
2512
|
*
|
|
2532
|
-
* @param box - The DataReferenceBox fields to write
|
|
2513
|
+
* @param box - The `DataReferenceBox` fields to write
|
|
2533
2514
|
* @param config - The IsoBoxWriteViewConfig to use
|
|
2534
2515
|
*
|
|
2535
|
-
* @returns An
|
|
2516
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2536
2517
|
*
|
|
2537
2518
|
* @public
|
|
2538
2519
|
*/
|
|
@@ -2552,13 +2533,13 @@ function writeDref(box, config) {
|
|
|
2552
2533
|
//#endregion
|
|
2553
2534
|
//#region src/writers/writeElng.ts
|
|
2554
2535
|
/**
|
|
2555
|
-
* Write an ExtendedLanguageBox to an
|
|
2536
|
+
* Write an `ExtendedLanguageBox` to an `IsoBoxWriteView`.
|
|
2556
2537
|
*
|
|
2557
2538
|
* ISO/IEC 14496-12:2012 - 8.4.6 Extended Language Tag
|
|
2558
2539
|
*
|
|
2559
|
-
* @param box - The ExtendedLanguageBox fields to write
|
|
2540
|
+
* @param box - The `ExtendedLanguageBox` fields to write
|
|
2560
2541
|
*
|
|
2561
|
-
* @returns An
|
|
2542
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2562
2543
|
*
|
|
2563
2544
|
* @public
|
|
2564
2545
|
*/
|
|
@@ -2576,13 +2557,13 @@ function writeElng(box) {
|
|
|
2576
2557
|
//#endregion
|
|
2577
2558
|
//#region src/writers/writeElst.ts
|
|
2578
2559
|
/**
|
|
2579
|
-
* Write an EditListBox to an
|
|
2560
|
+
* Write an `EditListBox` to an `IsoBoxWriteView`.
|
|
2580
2561
|
*
|
|
2581
2562
|
* ISO/IEC 14496-12:2012 - 8.6.6 Edit List Box
|
|
2582
2563
|
*
|
|
2583
|
-
* @param box - The EditListBox fields to write
|
|
2564
|
+
* @param box - The `EditListBox` fields to write
|
|
2584
2565
|
*
|
|
2585
|
-
* @returns An
|
|
2566
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2586
2567
|
*
|
|
2587
2568
|
* @public
|
|
2588
2569
|
*/
|
|
@@ -2608,13 +2589,13 @@ function writeElst(box) {
|
|
|
2608
2589
|
//#endregion
|
|
2609
2590
|
//#region src/writers/writeEmsg.ts
|
|
2610
2591
|
/**
|
|
2611
|
-
* Write an EventMessageBox to an
|
|
2592
|
+
* Write an `EventMessageBox` to an `IsoBoxWriteView`.
|
|
2612
2593
|
*
|
|
2613
2594
|
* ISO/IEC 23009-1 - 5.10.3.3 Event Message Box
|
|
2614
2595
|
*
|
|
2615
|
-
* @param box - The EventMessageBox fields to write
|
|
2596
|
+
* @param box - The `EventMessageBox` fields to write
|
|
2616
2597
|
*
|
|
2617
|
-
* @returns An
|
|
2598
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2618
2599
|
*
|
|
2619
2600
|
* @public
|
|
2620
2601
|
*/
|
|
@@ -2648,12 +2629,12 @@ function writeEmsg(box) {
|
|
|
2648
2629
|
//#endregion
|
|
2649
2630
|
//#region src/writers/writeEnca.ts
|
|
2650
2631
|
/**
|
|
2651
|
-
* Write an AudioSampleEntryBox (enca) to an
|
|
2632
|
+
* Write an `AudioSampleEntryBox` (enca) to an `IsoBoxWriteView`.
|
|
2652
2633
|
*
|
|
2653
|
-
* @param box - The AudioSampleEntryBox fields to write
|
|
2654
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2634
|
+
* @param box - The `AudioSampleEntryBox` fields to write
|
|
2635
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2655
2636
|
*
|
|
2656
|
-
* @returns An
|
|
2637
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2657
2638
|
*
|
|
2658
2639
|
* @public
|
|
2659
2640
|
*/
|
|
@@ -2664,12 +2645,12 @@ function writeEnca(box, config) {
|
|
|
2664
2645
|
//#endregion
|
|
2665
2646
|
//#region src/writers/writeEncv.ts
|
|
2666
2647
|
/**
|
|
2667
|
-
* Write a VisualSampleEntryBox (encv) to an
|
|
2648
|
+
* Write a `VisualSampleEntryBox` (encv) to an `IsoBoxWriteView`.
|
|
2668
2649
|
*
|
|
2669
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2670
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2650
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2651
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2671
2652
|
*
|
|
2672
|
-
* @returns An
|
|
2653
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2673
2654
|
*
|
|
2674
2655
|
* @public
|
|
2675
2656
|
*/
|
|
@@ -2680,13 +2661,13 @@ function writeEncv(box, config) {
|
|
|
2680
2661
|
//#endregion
|
|
2681
2662
|
//#region src/writers/writeFree.ts
|
|
2682
2663
|
/**
|
|
2683
|
-
* Write a FreeSpaceBox to an
|
|
2664
|
+
* Write a `FreeSpaceBox` to an `IsoBoxWriteView`.
|
|
2684
2665
|
*
|
|
2685
2666
|
* ISO/IEC 14496-12:2012 - 8.1.2 Free Space Box
|
|
2686
2667
|
*
|
|
2687
|
-
* @param box - The FreeSpaceBox fields to write
|
|
2668
|
+
* @param box - The `FreeSpaceBox` fields to write
|
|
2688
2669
|
*
|
|
2689
|
-
* @returns An
|
|
2670
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2690
2671
|
*
|
|
2691
2672
|
* @public
|
|
2692
2673
|
*/
|
|
@@ -2699,13 +2680,13 @@ function writeFree(box) {
|
|
|
2699
2680
|
//#endregion
|
|
2700
2681
|
//#region src/writers/writeFrma.ts
|
|
2701
2682
|
/**
|
|
2702
|
-
* Write an OriginalFormatBox to an
|
|
2683
|
+
* Write an `OriginalFormatBox` to an `IsoBoxWriteView`.
|
|
2703
2684
|
*
|
|
2704
2685
|
* ISO/IEC 14496-12:2012 - 8.12.2 Original Format Box
|
|
2705
2686
|
*
|
|
2706
|
-
* @param box - The OriginalFormatBox fields to write
|
|
2687
|
+
* @param box - The `OriginalFormatBox` fields to write
|
|
2707
2688
|
*
|
|
2708
|
-
* @returns An
|
|
2689
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2709
2690
|
*
|
|
2710
2691
|
* @public
|
|
2711
2692
|
*/
|
|
@@ -2718,13 +2699,13 @@ function writeFrma(box) {
|
|
|
2718
2699
|
//#endregion
|
|
2719
2700
|
//#region src/writers/writeFtyp.ts
|
|
2720
2701
|
/**
|
|
2721
|
-
* Write a FileTypeBox to an
|
|
2702
|
+
* Write a `FileTypeBox` to an `IsoBoxWriteView`.
|
|
2722
2703
|
*
|
|
2723
2704
|
* ISO/IEC 14496-12:2012 - 4.3 File Type Box
|
|
2724
2705
|
*
|
|
2725
|
-
* @param box - The FileTypeBox fields to write
|
|
2706
|
+
* @param box - The `FileTypeBox` fields to write
|
|
2726
2707
|
*
|
|
2727
|
-
* @returns An
|
|
2708
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2728
2709
|
*
|
|
2729
2710
|
* @public
|
|
2730
2711
|
*/
|
|
@@ -2743,13 +2724,13 @@ function writeFtyp(box) {
|
|
|
2743
2724
|
//#endregion
|
|
2744
2725
|
//#region src/writers/writeHdlr.ts
|
|
2745
2726
|
/**
|
|
2746
|
-
* Write a HandlerReferenceBox to an
|
|
2727
|
+
* Write a `HandlerReferenceBox` to an `IsoBoxWriteView`.
|
|
2747
2728
|
*
|
|
2748
2729
|
* ISO/IEC 14496-12:2012 - 8.4.3 Handler Reference Box
|
|
2749
2730
|
*
|
|
2750
|
-
* @param box - The HandlerReferenceBox fields to write
|
|
2731
|
+
* @param box - The `HandlerReferenceBox` fields to write
|
|
2751
2732
|
*
|
|
2752
|
-
* @returns An
|
|
2733
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2753
2734
|
*
|
|
2754
2735
|
* @public
|
|
2755
2736
|
*/
|
|
@@ -2772,12 +2753,12 @@ function writeHdlr(box) {
|
|
|
2772
2753
|
//#endregion
|
|
2773
2754
|
//#region src/writers/writeHev1.ts
|
|
2774
2755
|
/**
|
|
2775
|
-
* Write a VisualSampleEntryBox (hev1) to an
|
|
2756
|
+
* Write a `VisualSampleEntryBox` (hev1) to an `IsoBoxWriteView`.
|
|
2776
2757
|
*
|
|
2777
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2778
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2758
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2759
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2779
2760
|
*
|
|
2780
|
-
* @returns An
|
|
2761
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2781
2762
|
*
|
|
2782
2763
|
* @public
|
|
2783
2764
|
*/
|
|
@@ -2788,12 +2769,12 @@ function writeHev1(box, config) {
|
|
|
2788
2769
|
//#endregion
|
|
2789
2770
|
//#region src/writers/writeHvc1.ts
|
|
2790
2771
|
/**
|
|
2791
|
-
* Write a VisualSampleEntryBox (hvc1) to an
|
|
2772
|
+
* Write a `VisualSampleEntryBox` (hvc1) to an `IsoBoxWriteView`.
|
|
2792
2773
|
*
|
|
2793
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
2794
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2774
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
2775
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2795
2776
|
*
|
|
2796
|
-
* @returns An
|
|
2777
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2797
2778
|
*
|
|
2798
2779
|
* @public
|
|
2799
2780
|
*/
|
|
@@ -2804,11 +2785,11 @@ function writeHvc1(box, config) {
|
|
|
2804
2785
|
//#endregion
|
|
2805
2786
|
//#region src/writers/writeIden.ts
|
|
2806
2787
|
/**
|
|
2807
|
-
* Write a WebVttCueIdBox to an
|
|
2788
|
+
* Write a `WebVttCueIdBox` to an `IsoBoxWriteView`.
|
|
2808
2789
|
*
|
|
2809
|
-
* @param box - The WebVttCueIdBox fields to write
|
|
2790
|
+
* @param box - The `WebVttCueIdBox` fields to write
|
|
2810
2791
|
*
|
|
2811
|
-
* @returns An
|
|
2792
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2812
2793
|
*
|
|
2813
2794
|
* @public
|
|
2814
2795
|
*/
|
|
@@ -2821,11 +2802,11 @@ function writeIden(box) {
|
|
|
2821
2802
|
//#endregion
|
|
2822
2803
|
//#region src/writers/writeImda.ts
|
|
2823
2804
|
/**
|
|
2824
|
-
* Write an IdentifiedMediaDataBox to an
|
|
2805
|
+
* Write an `IdentifiedMediaDataBox` to an `IsoBoxWriteView`.
|
|
2825
2806
|
*
|
|
2826
|
-
* @param box - The IdentifiedMediaDataBox fields to write
|
|
2807
|
+
* @param box - The `IdentifiedMediaDataBox` fields to write
|
|
2827
2808
|
*
|
|
2828
|
-
* @returns An
|
|
2809
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2829
2810
|
*
|
|
2830
2811
|
* @public
|
|
2831
2812
|
*/
|
|
@@ -2842,11 +2823,11 @@ function writeImda(box) {
|
|
|
2842
2823
|
//#endregion
|
|
2843
2824
|
//#region src/writers/writeKind.ts
|
|
2844
2825
|
/**
|
|
2845
|
-
* Write a TrackKindBox to an
|
|
2826
|
+
* Write a `TrackKindBox` to an `IsoBoxWriteView`.
|
|
2846
2827
|
*
|
|
2847
|
-
* @param box - The TrackKindBox fields to write
|
|
2828
|
+
* @param box - The `TrackKindBox` fields to write
|
|
2848
2829
|
*
|
|
2849
|
-
* @returns An
|
|
2830
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2850
2831
|
*
|
|
2851
2832
|
* @public
|
|
2852
2833
|
*/
|
|
@@ -2867,11 +2848,11 @@ function writeKind(box) {
|
|
|
2867
2848
|
//#endregion
|
|
2868
2849
|
//#region src/writers/writeLabl.ts
|
|
2869
2850
|
/**
|
|
2870
|
-
* Write a LabelBox to an
|
|
2851
|
+
* Write a `LabelBox` to an `IsoBoxWriteView`.
|
|
2871
2852
|
*
|
|
2872
|
-
* @param box - The LabelBox fields to write
|
|
2853
|
+
* @param box - The `LabelBox` fields to write
|
|
2873
2854
|
*
|
|
2874
|
-
* @returns An
|
|
2855
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2875
2856
|
*
|
|
2876
2857
|
* @public
|
|
2877
2858
|
*/
|
|
@@ -2894,13 +2875,13 @@ function writeLabl(box) {
|
|
|
2894
2875
|
//#endregion
|
|
2895
2876
|
//#region src/writers/writeMdat.ts
|
|
2896
2877
|
/**
|
|
2897
|
-
* Write a MediaDataBox to an
|
|
2878
|
+
* Write a `MediaDataBox` to an `IsoBoxWriteView`.
|
|
2898
2879
|
*
|
|
2899
2880
|
* ISO/IEC 14496-12:2012 - 8.1.1 Media Data Box
|
|
2900
2881
|
*
|
|
2901
|
-
* @param box - The MediaDataBox fields to write
|
|
2882
|
+
* @param box - The `MediaDataBox` fields to write
|
|
2902
2883
|
*
|
|
2903
|
-
* @returns An
|
|
2884
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2904
2885
|
*
|
|
2905
2886
|
* @public
|
|
2906
2887
|
*/
|
|
@@ -2913,13 +2894,13 @@ function writeMdat(box) {
|
|
|
2913
2894
|
//#endregion
|
|
2914
2895
|
//#region src/writers/writeMdhd.ts
|
|
2915
2896
|
/**
|
|
2916
|
-
* Write a MediaHeaderBox to an
|
|
2897
|
+
* Write a `MediaHeaderBox` to an `IsoBoxWriteView`.
|
|
2917
2898
|
*
|
|
2918
2899
|
* ISO/IEC 14496-12:2012 - 8.4.2 Media Header Box
|
|
2919
2900
|
*
|
|
2920
|
-
* @param box - The MediaHeaderBox fields to write
|
|
2901
|
+
* @param box - The `MediaHeaderBox` fields to write
|
|
2921
2902
|
*
|
|
2922
|
-
* @returns An
|
|
2903
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2923
2904
|
*
|
|
2924
2905
|
* @public
|
|
2925
2906
|
*/
|
|
@@ -2943,13 +2924,13 @@ function writeMdhd(box) {
|
|
|
2943
2924
|
//#endregion
|
|
2944
2925
|
//#region src/writers/writeMehd.ts
|
|
2945
2926
|
/**
|
|
2946
|
-
* Write a MovieExtendsHeaderBox to an
|
|
2927
|
+
* Write a `MovieExtendsHeaderBox` to an `IsoBoxWriteView`.
|
|
2947
2928
|
*
|
|
2948
2929
|
* ISO/IEC 14496-12:2012 - 8.8.2 Movie Extends Header Box
|
|
2949
2930
|
*
|
|
2950
|
-
* @param box - The MovieExtendsHeaderBox fields to write
|
|
2931
|
+
* @param box - The `MovieExtendsHeaderBox` fields to write
|
|
2951
2932
|
*
|
|
2952
|
-
* @returns An
|
|
2933
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2953
2934
|
*
|
|
2954
2935
|
* @public
|
|
2955
2936
|
*/
|
|
@@ -2967,14 +2948,14 @@ function writeMehd(box) {
|
|
|
2967
2948
|
//#endregion
|
|
2968
2949
|
//#region src/writers/writeMeta.ts
|
|
2969
2950
|
/**
|
|
2970
|
-
* Write a MetaBox to an
|
|
2951
|
+
* Write a `MetaBox` to an `IsoBoxWriteView`.
|
|
2971
2952
|
*
|
|
2972
2953
|
* ISO/IEC 14496-12:2012 - 8.11.1 Meta Box
|
|
2973
2954
|
*
|
|
2974
|
-
* @param box - The MetaBox fields to write
|
|
2975
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
2955
|
+
* @param box - The `MetaBox` fields to write
|
|
2956
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
2976
2957
|
*
|
|
2977
|
-
* @returns An
|
|
2958
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
2978
2959
|
*
|
|
2979
2960
|
* @public
|
|
2980
2961
|
*/
|
|
@@ -2991,13 +2972,13 @@ function writeMeta(box, config) {
|
|
|
2991
2972
|
//#endregion
|
|
2992
2973
|
//#region src/writers/writeMfhd.ts
|
|
2993
2974
|
/**
|
|
2994
|
-
* Write a MovieFragmentHeaderBox to an
|
|
2975
|
+
* Write a `MovieFragmentHeaderBox` to an `IsoBoxWriteView`.
|
|
2995
2976
|
*
|
|
2996
2977
|
* ISO/IEC 14496-12:2012 - 8.8.5 Movie Fragment Header Box
|
|
2997
2978
|
*
|
|
2998
|
-
* @param box - The MovieFragmentHeaderBox fields to write
|
|
2979
|
+
* @param box - The `MovieFragmentHeaderBox` fields to write
|
|
2999
2980
|
*
|
|
3000
|
-
* @returns An
|
|
2981
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3001
2982
|
*
|
|
3002
2983
|
* @public
|
|
3003
2984
|
*/
|
|
@@ -3011,13 +2992,13 @@ function writeMfhd(box) {
|
|
|
3011
2992
|
//#endregion
|
|
3012
2993
|
//#region src/writers/writeMfro.ts
|
|
3013
2994
|
/**
|
|
3014
|
-
* Write a MovieFragmentRandomAccessOffsetBox to an
|
|
2995
|
+
* Write a `MovieFragmentRandomAccessOffsetBox` to an `IsoBoxWriteView`.
|
|
3015
2996
|
*
|
|
3016
2997
|
* ISO/IEC 14496-12:2012 - 8.8.11 Movie Fragment Random Access Offset Box
|
|
3017
2998
|
*
|
|
3018
|
-
* @param box - The MovieFragmentRandomAccessOffsetBox fields to write
|
|
2999
|
+
* @param box - The `MovieFragmentRandomAccessOffsetBox` fields to write
|
|
3019
3000
|
*
|
|
3020
|
-
* @returns An
|
|
3001
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3021
3002
|
*
|
|
3022
3003
|
* @public
|
|
3023
3004
|
*/
|
|
@@ -3031,13 +3012,13 @@ function writeMfro(box) {
|
|
|
3031
3012
|
//#endregion
|
|
3032
3013
|
//#region src/writers/writeMp4a.ts
|
|
3033
3014
|
/**
|
|
3034
|
-
* Write an AudioSampleEntryBox to an
|
|
3015
|
+
* Write an `AudioSampleEntryBox` to an `IsoBoxWriteView`.
|
|
3035
3016
|
*
|
|
3036
3017
|
* ISO/IEC 14496-12:2012 - 12.2.3 Audio Sample Entry
|
|
3037
3018
|
*
|
|
3038
|
-
* @param box - The AudioSampleEntryBox fields to write
|
|
3019
|
+
* @param box - The `AudioSampleEntryBox` fields to write
|
|
3039
3020
|
*
|
|
3040
|
-
* @returns An
|
|
3021
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3041
3022
|
*
|
|
3042
3023
|
* @public
|
|
3043
3024
|
*/
|
|
@@ -3048,13 +3029,13 @@ function writeMp4a(box, config) {
|
|
|
3048
3029
|
//#endregion
|
|
3049
3030
|
//#region src/writers/writeMvhd.ts
|
|
3050
3031
|
/**
|
|
3051
|
-
* Write a MovieHeaderBox to an
|
|
3032
|
+
* Write a `MovieHeaderBox` to an `IsoBoxWriteView`.
|
|
3052
3033
|
*
|
|
3053
3034
|
* ISO/IEC 14496-12:2012 - 8.2.2 Movie Header Box
|
|
3054
3035
|
*
|
|
3055
|
-
* @param box - The MovieHeaderBox fields to write
|
|
3036
|
+
* @param box - The `MovieHeaderBox` fields to write
|
|
3056
3037
|
*
|
|
3057
|
-
* @returns An
|
|
3038
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3058
3039
|
*
|
|
3059
3040
|
* @public
|
|
3060
3041
|
*/
|
|
@@ -3082,11 +3063,11 @@ function writeMvhd(box) {
|
|
|
3082
3063
|
//#endregion
|
|
3083
3064
|
//#region src/writers/writePayl.ts
|
|
3084
3065
|
/**
|
|
3085
|
-
* Write a WebVttCuePayloadBox to an
|
|
3066
|
+
* Write a `WebVttCuePayloadBox` to an `IsoBoxWriteView`.
|
|
3086
3067
|
*
|
|
3087
|
-
* @param box - The WebVttCuePayloadBox fields to write
|
|
3068
|
+
* @param box - The `WebVttCuePayloadBox` fields to write
|
|
3088
3069
|
*
|
|
3089
|
-
* @returns An
|
|
3070
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3090
3071
|
*
|
|
3091
3072
|
* @public
|
|
3092
3073
|
*/
|
|
@@ -3099,13 +3080,13 @@ function writePayl(box) {
|
|
|
3099
3080
|
//#endregion
|
|
3100
3081
|
//#region src/writers/writePrft.ts
|
|
3101
3082
|
/**
|
|
3102
|
-
* Write a ProducerReferenceTimeBox to an
|
|
3083
|
+
* Write a `ProducerReferenceTimeBox` to an `IsoBoxWriteView`.
|
|
3103
3084
|
*
|
|
3104
3085
|
* ISO/IEC 14496-12:2012 - 8.16.5 Producer Reference Time Box
|
|
3105
3086
|
*
|
|
3106
|
-
* @param box - The ProducerReferenceTimeBox fields to write
|
|
3087
|
+
* @param box - The `ProducerReferenceTimeBox` fields to write
|
|
3107
3088
|
*
|
|
3108
|
-
* @returns An
|
|
3089
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3109
3090
|
*
|
|
3110
3091
|
* @public
|
|
3111
3092
|
*/
|
|
@@ -3123,12 +3104,12 @@ function writePrft(box) {
|
|
|
3123
3104
|
//#endregion
|
|
3124
3105
|
//#region src/writers/writePrsl.ts
|
|
3125
3106
|
/**
|
|
3126
|
-
* Write a PreselectionGroupBox to an
|
|
3107
|
+
* Write a `PreselectionGroupBox` to an `IsoBoxWriteView`.
|
|
3127
3108
|
*
|
|
3128
|
-
* @param box - The PreselectionGroupBox fields to write
|
|
3129
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3109
|
+
* @param box - The `PreselectionGroupBox` fields to write
|
|
3110
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3130
3111
|
*
|
|
3131
|
-
* @returns An
|
|
3112
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3132
3113
|
*
|
|
3133
3114
|
* @public
|
|
3134
3115
|
*/
|
|
@@ -3159,13 +3140,13 @@ function writePrsl(box, config) {
|
|
|
3159
3140
|
//#endregion
|
|
3160
3141
|
//#region src/writers/writePssh.ts
|
|
3161
3142
|
/**
|
|
3162
|
-
* Write a ProtectionSystemSpecificHeaderBox to an
|
|
3143
|
+
* Write a `ProtectionSystemSpecificHeaderBox` to an `IsoBoxWriteView`.
|
|
3163
3144
|
*
|
|
3164
3145
|
* ISO/IEC 23001-7 - 8.1 Protection System Specific Header Box
|
|
3165
3146
|
*
|
|
3166
|
-
* @param box - The ProtectionSystemSpecificHeaderBox fields to write
|
|
3147
|
+
* @param box - The `ProtectionSystemSpecificHeaderBox` fields to write
|
|
3167
3148
|
*
|
|
3168
|
-
* @returns An
|
|
3149
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3169
3150
|
*
|
|
3170
3151
|
* @public
|
|
3171
3152
|
*/
|
|
@@ -3192,13 +3173,13 @@ function writePssh(box) {
|
|
|
3192
3173
|
//#endregion
|
|
3193
3174
|
//#region src/writers/writeSchm.ts
|
|
3194
3175
|
/**
|
|
3195
|
-
* Write a SchemeTypeBox to an
|
|
3176
|
+
* Write a `SchemeTypeBox` to an `IsoBoxWriteView`.
|
|
3196
3177
|
*
|
|
3197
3178
|
* ISO/IEC 14496-12:2012 - 8.12.5 Scheme Type Box
|
|
3198
3179
|
*
|
|
3199
|
-
* @param box - The SchemeTypeBox fields to write
|
|
3180
|
+
* @param box - The `SchemeTypeBox` fields to write
|
|
3200
3181
|
*
|
|
3201
|
-
* @returns An
|
|
3182
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3202
3183
|
*
|
|
3203
3184
|
* @public
|
|
3204
3185
|
*/
|
|
@@ -3219,13 +3200,13 @@ function writeSchm(box) {
|
|
|
3219
3200
|
//#endregion
|
|
3220
3201
|
//#region src/writers/writeSdtp.ts
|
|
3221
3202
|
/**
|
|
3222
|
-
* Write a SampleDependencyTypeBox to an
|
|
3203
|
+
* Write a `SampleDependencyTypeBox` to an `IsoBoxWriteView`.
|
|
3223
3204
|
*
|
|
3224
3205
|
* ISO/IEC 14496-12:2012 - 8.6.4 Independent and Disposable Samples Box
|
|
3225
3206
|
*
|
|
3226
|
-
* @param box - The SampleDependencyTypeBox fields to write
|
|
3207
|
+
* @param box - The `SampleDependencyTypeBox` fields to write
|
|
3227
3208
|
*
|
|
3228
|
-
* @returns An
|
|
3209
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3229
3210
|
*
|
|
3230
3211
|
* @public
|
|
3231
3212
|
*/
|
|
@@ -3242,13 +3223,13 @@ function writeSdtp(box) {
|
|
|
3242
3223
|
//#endregion
|
|
3243
3224
|
//#region src/writers/writeSidx.ts
|
|
3244
3225
|
/**
|
|
3245
|
-
* Write a SegmentIndexBox to an
|
|
3226
|
+
* Write a `SegmentIndexBox` to an `IsoBoxWriteView`.
|
|
3246
3227
|
*
|
|
3247
3228
|
* ISO/IEC 14496-12:2012 - 8.16.3 Segment Index Box
|
|
3248
3229
|
*
|
|
3249
|
-
* @param box - The SegmentIndexBox fields to write
|
|
3230
|
+
* @param box - The `SegmentIndexBox` fields to write
|
|
3250
3231
|
*
|
|
3251
|
-
* @returns An
|
|
3232
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3252
3233
|
*
|
|
3253
3234
|
* @public
|
|
3254
3235
|
*/
|
|
@@ -3284,13 +3265,13 @@ function writeSidx(box) {
|
|
|
3284
3265
|
//#endregion
|
|
3285
3266
|
//#region src/writers/writeSkip.ts
|
|
3286
3267
|
/**
|
|
3287
|
-
* Write a FreeSpaceBox (skip variant) to an
|
|
3268
|
+
* Write a `FreeSpaceBox` (skip variant) to an `IsoBoxWriteView`.
|
|
3288
3269
|
*
|
|
3289
3270
|
* ISO/IEC 14496-12:2012 - 8.1.2 Free Space Box
|
|
3290
3271
|
*
|
|
3291
|
-
* @param box - The FreeSpaceBox fields to write
|
|
3272
|
+
* @param box - The `FreeSpaceBox` fields to write
|
|
3292
3273
|
*
|
|
3293
|
-
* @returns An
|
|
3274
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3294
3275
|
*
|
|
3295
3276
|
* @public
|
|
3296
3277
|
*/
|
|
@@ -3303,13 +3284,13 @@ function writeSkip(box) {
|
|
|
3303
3284
|
//#endregion
|
|
3304
3285
|
//#region src/writers/writeSmhd.ts
|
|
3305
3286
|
/**
|
|
3306
|
-
* Write a SoundMediaHeaderBox to an
|
|
3287
|
+
* Write a `SoundMediaHeaderBox` to an `IsoBoxWriteView`.
|
|
3307
3288
|
*
|
|
3308
3289
|
* ISO/IEC 14496-12:2012 - 12.2.2 Sound Media Header Box
|
|
3309
3290
|
*
|
|
3310
|
-
* @param box - The SoundMediaHeaderBox fields to write
|
|
3291
|
+
* @param box - The `SoundMediaHeaderBox` fields to write
|
|
3311
3292
|
*
|
|
3312
|
-
* @returns An
|
|
3293
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3313
3294
|
*
|
|
3314
3295
|
* @public
|
|
3315
3296
|
*/
|
|
@@ -3324,13 +3305,13 @@ function writeSmhd(box) {
|
|
|
3324
3305
|
//#endregion
|
|
3325
3306
|
//#region src/writers/writeSsix.ts
|
|
3326
3307
|
/**
|
|
3327
|
-
* Write a SubsegmentIndexBox to an
|
|
3308
|
+
* Write a `SubsegmentIndexBox` to an `IsoBoxWriteView`.
|
|
3328
3309
|
*
|
|
3329
3310
|
* ISO/IEC 14496-12:2012 - 8.16.4 Subsegment Index Box
|
|
3330
3311
|
*
|
|
3331
|
-
* @param box - The SubsegmentIndexBox fields to write
|
|
3312
|
+
* @param box - The `SubsegmentIndexBox` fields to write
|
|
3332
3313
|
*
|
|
3333
|
-
* @returns An
|
|
3314
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3334
3315
|
*
|
|
3335
3316
|
* @public
|
|
3336
3317
|
*/
|
|
@@ -3359,13 +3340,13 @@ function writeSsix(box) {
|
|
|
3359
3340
|
//#endregion
|
|
3360
3341
|
//#region src/writers/writeSthd.ts
|
|
3361
3342
|
/**
|
|
3362
|
-
* Write a SubtitleMediaHeaderBox to an
|
|
3343
|
+
* Write a `SubtitleMediaHeaderBox` to an `IsoBoxWriteView`.
|
|
3363
3344
|
*
|
|
3364
3345
|
* ISO/IEC 14496-12:2012 - 12.6.2 Subtitle Media Header Box
|
|
3365
3346
|
*
|
|
3366
|
-
* @param box - The SubtitleMediaHeaderBox fields to write
|
|
3347
|
+
* @param box - The `SubtitleMediaHeaderBox` fields to write
|
|
3367
3348
|
*
|
|
3368
|
-
* @returns An
|
|
3349
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3369
3350
|
*
|
|
3370
3351
|
* @public
|
|
3371
3352
|
*/
|
|
@@ -3378,12 +3359,12 @@ function writeSthd(box) {
|
|
|
3378
3359
|
//#endregion
|
|
3379
3360
|
//#region src/writers/writeStsd.ts
|
|
3380
3361
|
/**
|
|
3381
|
-
* Write a SampleDescriptionBox to an
|
|
3362
|
+
* Write a `SampleDescriptionBox` to an `IsoBoxWriteView`.
|
|
3382
3363
|
*
|
|
3383
|
-
* @param box - The SampleDescriptionBox fields to write
|
|
3364
|
+
* @param box - The `SampleDescriptionBox` fields to write
|
|
3384
3365
|
* @param config - The IsoBoxWriteViewConfig to use
|
|
3385
3366
|
*
|
|
3386
|
-
* @returns An
|
|
3367
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3387
3368
|
*
|
|
3388
3369
|
* @public
|
|
3389
3370
|
*/
|
|
@@ -3403,13 +3384,13 @@ function writeStsd(box, config) {
|
|
|
3403
3384
|
//#endregion
|
|
3404
3385
|
//#region src/writers/writeStss.ts
|
|
3405
3386
|
/**
|
|
3406
|
-
* Write a SyncSampleBox to an
|
|
3387
|
+
* Write a `SyncSampleBox` to an `IsoBoxWriteView`.
|
|
3407
3388
|
*
|
|
3408
3389
|
* ISO/IEC 14496-12:2012 - 8.6.2 Sync Sample Box
|
|
3409
3390
|
*
|
|
3410
|
-
* @param box - The SyncSampleBox fields to write
|
|
3391
|
+
* @param box - The `SyncSampleBox` fields to write
|
|
3411
3392
|
*
|
|
3412
|
-
* @returns An
|
|
3393
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3413
3394
|
*
|
|
3414
3395
|
* @public
|
|
3415
3396
|
*/
|
|
@@ -3428,11 +3409,11 @@ function writeStss(box) {
|
|
|
3428
3409
|
//#endregion
|
|
3429
3410
|
//#region src/writers/writeSttg.ts
|
|
3430
3411
|
/**
|
|
3431
|
-
* Write a WebVttSettingsBox to an
|
|
3412
|
+
* Write a `WebVttSettingsBox` to an `IsoBoxWriteView`.
|
|
3432
3413
|
*
|
|
3433
|
-
* @param box - The WebVttSettingsBox fields to write
|
|
3414
|
+
* @param box - The `WebVttSettingsBox` fields to write
|
|
3434
3415
|
*
|
|
3435
|
-
* @returns An
|
|
3416
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3436
3417
|
*
|
|
3437
3418
|
* @public
|
|
3438
3419
|
*/
|
|
@@ -3445,13 +3426,13 @@ function writeSttg(box) {
|
|
|
3445
3426
|
//#endregion
|
|
3446
3427
|
//#region src/writers/writeStts.ts
|
|
3447
3428
|
/**
|
|
3448
|
-
* Write a DecodingTimeToSampleBox to an
|
|
3429
|
+
* Write a `DecodingTimeToSampleBox` to an `IsoBoxWriteView`.
|
|
3449
3430
|
*
|
|
3450
3431
|
* ISO/IEC 14496-12:2012 - 8.6.1.2 Decoding Time to Sample Box
|
|
3451
3432
|
*
|
|
3452
|
-
* @param box - The DecodingTimeToSampleBox fields to write
|
|
3433
|
+
* @param box - The `DecodingTimeToSampleBox` fields to write
|
|
3453
3434
|
*
|
|
3454
|
-
* @returns An
|
|
3435
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3455
3436
|
*
|
|
3456
3437
|
* @public
|
|
3457
3438
|
*/
|
|
@@ -3473,13 +3454,13 @@ function writeStts(box) {
|
|
|
3473
3454
|
//#endregion
|
|
3474
3455
|
//#region src/writers/writeStyp.ts
|
|
3475
3456
|
/**
|
|
3476
|
-
* Write a SegmentTypeBox to an
|
|
3457
|
+
* Write a `SegmentTypeBox` to an `IsoBoxWriteView`.
|
|
3477
3458
|
*
|
|
3478
3459
|
* ISO/IEC 14496-12:2012 - 8.16.2 Segment Type Box
|
|
3479
3460
|
*
|
|
3480
|
-
* @param box - The SegmentTypeBox fields to write
|
|
3461
|
+
* @param box - The `SegmentTypeBox` fields to write
|
|
3481
3462
|
*
|
|
3482
|
-
* @returns An
|
|
3463
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3483
3464
|
*
|
|
3484
3465
|
* @public
|
|
3485
3466
|
*/
|
|
@@ -3498,13 +3479,13 @@ function writeStyp(box) {
|
|
|
3498
3479
|
//#endregion
|
|
3499
3480
|
//#region src/writers/writeSubs.ts
|
|
3500
3481
|
/**
|
|
3501
|
-
* Write a SubsampleInformationBox to an
|
|
3482
|
+
* Write a `SubsampleInformationBox` to an `IsoBoxWriteView`.
|
|
3502
3483
|
*
|
|
3503
3484
|
* ISO/IEC 14496-12:2012 - 8.7.7 Sub-Sample Information Box
|
|
3504
3485
|
*
|
|
3505
|
-
* @param box - The SubsampleInformationBox fields to write
|
|
3486
|
+
* @param box - The `SubsampleInformationBox` fields to write
|
|
3506
3487
|
*
|
|
3507
|
-
* @returns An
|
|
3488
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3508
3489
|
*
|
|
3509
3490
|
* @public
|
|
3510
3491
|
*/
|
|
@@ -3535,13 +3516,13 @@ function writeSubs(box) {
|
|
|
3535
3516
|
//#endregion
|
|
3536
3517
|
//#region src/writers/writeTenc.ts
|
|
3537
3518
|
/**
|
|
3538
|
-
* Write a TrackEncryptionBox to an
|
|
3519
|
+
* Write a `TrackEncryptionBox` to an `IsoBoxWriteView`.
|
|
3539
3520
|
*
|
|
3540
3521
|
* ISO/IEC 23001-7 - 8.2 Track Encryption Box
|
|
3541
3522
|
*
|
|
3542
|
-
* @param box - The TrackEncryptionBox fields to write
|
|
3523
|
+
* @param box - The `TrackEncryptionBox` fields to write
|
|
3543
3524
|
*
|
|
3544
|
-
* @returns An
|
|
3525
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3545
3526
|
*
|
|
3546
3527
|
* @public
|
|
3547
3528
|
*/
|
|
@@ -3557,13 +3538,13 @@ function writeTenc(box) {
|
|
|
3557
3538
|
//#endregion
|
|
3558
3539
|
//#region src/writers/writeTfdt.ts
|
|
3559
3540
|
/**
|
|
3560
|
-
* Write a TrackFragmentBaseMediaDecodeTimeBox to an
|
|
3541
|
+
* Write a `TrackFragmentBaseMediaDecodeTimeBox` to an `IsoBoxWriteView`.
|
|
3561
3542
|
*
|
|
3562
3543
|
* ISO/IEC 14496-12:2012 - 8.8.12 Track Fragment Base Media Decode Time Box
|
|
3563
3544
|
*
|
|
3564
|
-
* @param box - The TrackFragmentBaseMediaDecodeTimeBox fields to write
|
|
3545
|
+
* @param box - The `TrackFragmentBaseMediaDecodeTimeBox` fields to write
|
|
3565
3546
|
*
|
|
3566
|
-
* @returns An
|
|
3547
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3567
3548
|
*
|
|
3568
3549
|
* @public
|
|
3569
3550
|
*/
|
|
@@ -3581,13 +3562,13 @@ function writeTfdt(box) {
|
|
|
3581
3562
|
//#endregion
|
|
3582
3563
|
//#region src/writers/writeTfhd.ts
|
|
3583
3564
|
/**
|
|
3584
|
-
* Write a TrackFragmentHeaderBox to an
|
|
3565
|
+
* Write a `TrackFragmentHeaderBox` to an `IsoBoxWriteView`.
|
|
3585
3566
|
*
|
|
3586
3567
|
* ISO/IEC 14496-12:2012 - 8.8.7 Track Fragment Header Box
|
|
3587
3568
|
*
|
|
3588
|
-
* @param box - The TrackFragmentHeaderBox fields to write
|
|
3569
|
+
* @param box - The `TrackFragmentHeaderBox` fields to write
|
|
3589
3570
|
*
|
|
3590
|
-
* @returns An
|
|
3571
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3591
3572
|
*
|
|
3592
3573
|
* @public
|
|
3593
3574
|
*/
|
|
@@ -3614,13 +3595,13 @@ function writeTfhd(box) {
|
|
|
3614
3595
|
//#endregion
|
|
3615
3596
|
//#region src/writers/writeTfra.ts
|
|
3616
3597
|
/**
|
|
3617
|
-
* Write a TrackFragmentRandomAccessBox to an
|
|
3598
|
+
* Write a `TrackFragmentRandomAccessBox` to an `IsoBoxWriteView`.
|
|
3618
3599
|
*
|
|
3619
3600
|
* ISO/IEC 14496-12:2012 - 8.8.10 Track Fragment Random Access Box
|
|
3620
3601
|
*
|
|
3621
|
-
* @param box - The TrackFragmentRandomAccessBox fields to write
|
|
3602
|
+
* @param box - The `TrackFragmentRandomAccessBox` fields to write
|
|
3622
3603
|
*
|
|
3623
|
-
* @returns An
|
|
3604
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3624
3605
|
*
|
|
3625
3606
|
* @public
|
|
3626
3607
|
*/
|
|
@@ -3652,13 +3633,13 @@ function writeTfra(box) {
|
|
|
3652
3633
|
//#endregion
|
|
3653
3634
|
//#region src/writers/writeTkhd.ts
|
|
3654
3635
|
/**
|
|
3655
|
-
* Write a TrackHeaderBox to an
|
|
3636
|
+
* Write a `TrackHeaderBox` to an `IsoBoxWriteView`.
|
|
3656
3637
|
*
|
|
3657
3638
|
* ISO/IEC 14496-12:2012 - 8.3.2 Track Header Box
|
|
3658
3639
|
*
|
|
3659
|
-
* @param box - The TrackHeaderBox fields to write
|
|
3640
|
+
* @param box - The `TrackHeaderBox` fields to write
|
|
3660
3641
|
*
|
|
3661
|
-
* @returns An
|
|
3642
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3662
3643
|
*
|
|
3663
3644
|
* @public
|
|
3664
3645
|
*/
|
|
@@ -3688,13 +3669,13 @@ function writeTkhd(box) {
|
|
|
3688
3669
|
//#endregion
|
|
3689
3670
|
//#region src/writers/writeTrex.ts
|
|
3690
3671
|
/**
|
|
3691
|
-
* Write a TrackExtendsBox to an
|
|
3672
|
+
* Write a `TrackExtendsBox` to an `IsoBoxWriteView`.
|
|
3692
3673
|
*
|
|
3693
3674
|
* ISO/IEC 14496-12:2012 - 8.8.3 Track Extends Box
|
|
3694
3675
|
*
|
|
3695
|
-
* @param box - The TrackExtendsBox fields to write
|
|
3676
|
+
* @param box - The `TrackExtendsBox` fields to write
|
|
3696
3677
|
*
|
|
3697
|
-
* @returns An
|
|
3678
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3698
3679
|
*
|
|
3699
3680
|
* @public
|
|
3700
3681
|
*/
|
|
@@ -3712,13 +3693,13 @@ function writeTrex(box) {
|
|
|
3712
3693
|
//#endregion
|
|
3713
3694
|
//#region src/writers/writeTrun.ts
|
|
3714
3695
|
/**
|
|
3715
|
-
* Write a TrackRunBox to an
|
|
3696
|
+
* Write a `TrackRunBox` to an `IsoBoxWriteView`.
|
|
3716
3697
|
*
|
|
3717
3698
|
* ISO/IEC 14496-12:2012 - 8.8.8 Track Run Box
|
|
3718
3699
|
*
|
|
3719
|
-
* @param box - The TrackRunBox fields to write
|
|
3700
|
+
* @param box - The `TrackRunBox` fields to write
|
|
3720
3701
|
*
|
|
3721
|
-
* @returns An
|
|
3702
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3722
3703
|
*
|
|
3723
3704
|
* @public
|
|
3724
3705
|
*/
|
|
@@ -3751,13 +3732,13 @@ function writeTrun(box) {
|
|
|
3751
3732
|
//#endregion
|
|
3752
3733
|
//#region src/writers/writeUrl.ts
|
|
3753
3734
|
/**
|
|
3754
|
-
* Write a
|
|
3735
|
+
* Write a `DataEntryUrlBox` to an `IsoBoxWriteView`.
|
|
3755
3736
|
*
|
|
3756
3737
|
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
3757
3738
|
*
|
|
3758
|
-
* @param box - The
|
|
3739
|
+
* @param box - The `DataEntryUrlBox` fields to write
|
|
3759
3740
|
*
|
|
3760
|
-
* @returns An
|
|
3741
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3761
3742
|
*
|
|
3762
3743
|
* @public
|
|
3763
3744
|
*/
|
|
@@ -3774,13 +3755,13 @@ function writeUrl(box) {
|
|
|
3774
3755
|
//#endregion
|
|
3775
3756
|
//#region src/writers/writeUrn.ts
|
|
3776
3757
|
/**
|
|
3777
|
-
* Write a
|
|
3758
|
+
* Write a `DataEntryUrnBox` to an `IsoBoxWriteView`.
|
|
3778
3759
|
*
|
|
3779
3760
|
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
3780
3761
|
*
|
|
3781
|
-
* @param box - The
|
|
3762
|
+
* @param box - The `DataEntryUrnBox` fields to write
|
|
3782
3763
|
*
|
|
3783
|
-
* @returns An
|
|
3764
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3784
3765
|
*
|
|
3785
3766
|
* @public
|
|
3786
3767
|
*/
|
|
@@ -3799,11 +3780,11 @@ function writeUrn(box) {
|
|
|
3799
3780
|
//#endregion
|
|
3800
3781
|
//#region src/writers/writeVlab.ts
|
|
3801
3782
|
/**
|
|
3802
|
-
* Write a WebVttSourceLabelBox to an
|
|
3783
|
+
* Write a `WebVttSourceLabelBox` to an `IsoBoxWriteView`.
|
|
3803
3784
|
*
|
|
3804
|
-
* @param box - The WebVttSourceLabelBox fields to write
|
|
3785
|
+
* @param box - The `WebVttSourceLabelBox` fields to write
|
|
3805
3786
|
*
|
|
3806
|
-
* @returns An
|
|
3787
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3807
3788
|
*
|
|
3808
3789
|
* @public
|
|
3809
3790
|
*/
|
|
@@ -3816,13 +3797,13 @@ function writeVlab(box) {
|
|
|
3816
3797
|
//#endregion
|
|
3817
3798
|
//#region src/writers/writeVmhd.ts
|
|
3818
3799
|
/**
|
|
3819
|
-
* Write a VideoMediaHeaderBox to an
|
|
3800
|
+
* Write a `VideoMediaHeaderBox` to an `IsoBoxWriteView`.
|
|
3820
3801
|
*
|
|
3821
3802
|
* ISO/IEC 14496-12:2012 - 12.1.2 Video Media Header Box
|
|
3822
3803
|
*
|
|
3823
|
-
* @param box - The VideoMediaHeaderBox fields to write
|
|
3804
|
+
* @param box - The `VideoMediaHeaderBox` fields to write
|
|
3824
3805
|
*
|
|
3825
|
-
* @returns An
|
|
3806
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3826
3807
|
*
|
|
3827
3808
|
* @public
|
|
3828
3809
|
*/
|
|
@@ -3837,11 +3818,11 @@ function writeVmhd(box) {
|
|
|
3837
3818
|
//#endregion
|
|
3838
3819
|
//#region src/writers/writeVttC.ts
|
|
3839
3820
|
/**
|
|
3840
|
-
* Write a WebVttConfigurationBox to an
|
|
3821
|
+
* Write a `WebVttConfigurationBox` to an `IsoBoxWriteView`.
|
|
3841
3822
|
*
|
|
3842
|
-
* @param box - The WebVttConfigurationBox fields to write
|
|
3823
|
+
* @param box - The `WebVttConfigurationBox` fields to write
|
|
3843
3824
|
*
|
|
3844
|
-
* @returns An
|
|
3825
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3845
3826
|
*
|
|
3846
3827
|
* @public
|
|
3847
3828
|
*/
|
|
@@ -3855,9 +3836,9 @@ function writeVttC(box) {
|
|
|
3855
3836
|
//#endregion
|
|
3856
3837
|
//#region src/writers/writeVtte.ts
|
|
3857
3838
|
/**
|
|
3858
|
-
* Write a WebVttEmptySampleBox to an
|
|
3839
|
+
* Write a `WebVttEmptySampleBox` to an `IsoBoxWriteView`.
|
|
3859
3840
|
*
|
|
3860
|
-
* @returns An
|
|
3841
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3861
3842
|
*
|
|
3862
3843
|
* @public
|
|
3863
3844
|
*/
|
|
@@ -3866,5 +3847,5 @@ function writeVtte(_) {
|
|
|
3866
3847
|
}
|
|
3867
3848
|
|
|
3868
3849
|
//#endregion
|
|
3869
|
-
export { CONTAINERS, IsoBoxReadableStream, createAudioSampleEntryReader, createIsoBoxReadableStream, createVisualSampleEntryReader, filterIsoBoxes, findIsoBox, isContainer, isFullBox, readArdi, readAudioSampleEntryBox, readAvc1, readAvc2, readAvc3, readAvc4, readCtts, readDref, readElng, readElst, readEmsg, readEnca, readEncv, readFree, readFrma, readFtyp, readHdlr, readHev1, readHvc1, readIden, readImda, readIsoBoxes, readKind, readLabl, readMdat, readMdhd, readMehd, readMeta, readMfhd, readMfro, readMp4a, readMvhd, readPayl, readPrft, readPrsl, readPssh, readSchm, readSdtp, readSidx, readSkip, readSmhd, readSsix, readSthd, readStsd, readStss, readSttg, readStts, readStyp, readSubs, readTenc, readTfdt, readTfhd, readTfra, readTkhd, readTrex, readTrun, readUrl, readUrn, readVisualSampleEntryBox, readVlab, readVmhd, readVttC, readVtte, traverseIsoBoxes, writeArdi, writeAudioSampleEntryBox, writeAvc1, writeAvc2, writeAvc3, writeAvc4, writeCtts, writeDref, writeElng, writeElst, writeEmsg, writeEnca, writeEncv, writeFree, writeFrma, writeFtyp, writeHdlr, writeHev1, writeHvc1, writeIden, writeImda, writeIsoBox, writeIsoBoxes, writeKind, writeLabl, writeMdat, writeMdhd, writeMehd, writeMeta, writeMfhd, writeMfro, writeMp4a, writeMvhd, writePayl, writePrft, writePrsl, writePssh, writeSchm, writeSdtp, writeSidx, writeSkip, writeSmhd, writeSsix, writeSthd, writeStsd, writeStss, writeSttg, writeStts, writeStyp, writeSubs, writeTenc, writeTfdt, writeTfhd, writeTfra, writeTkhd, writeTrex, writeTrun, writeUrl, writeUrn, writeVisualSampleEntryBox, writeVlab, writeVmhd, writeVttC, writeVtte };
|
|
3850
|
+
export { CONTAINERS, DATA, INT, IsoBoxFields, IsoBoxReadView, IsoBoxReadableStream, IsoBoxWriteView, STRING, TEMPLATE, UINT, UTF8, createAudioSampleEntryReader, createIsoBoxReadableStream, createVisualSampleEntryReader, filterIsoBoxes, findIsoBox, isContainer, isFullBox, isIsoBoxType, readArdi, readAudioSampleEntryBox, readAvc1, readAvc2, readAvc3, readAvc4, readCtts, readDref, readElng, readElst, readEmsg, readEnca, readEncv, readFree, readFrma, readFtyp, readHdlr, readHev1, readHvc1, readIden, readImda, readIsoBoxes, readKind, readLabl, readMdat, readMdhd, readMehd, readMeta, readMfhd, readMfro, readMp4a, readMvhd, readPayl, readPrft, readPrsl, readPssh, readSchm, readSdtp, readSidx, readSkip, readSmhd, readSsix, readSthd, readStsd, readStss, readSttg, readStts, readStyp, readSubs, readTenc, readTfdt, readTfhd, readTfra, readTkhd, readTrex, readTrun, readUrl, readUrn, readVisualSampleEntryBox, readVlab, readVmhd, readVttC, readVtte, traverseIsoBoxes, writeArdi, writeAudioSampleEntryBox, writeAvc1, writeAvc2, writeAvc3, writeAvc4, writeCtts, writeDref, writeElng, writeElst, writeEmsg, writeEnca, writeEncv, writeFree, writeFrma, writeFtyp, writeHdlr, writeHev1, writeHvc1, writeIden, writeImda, writeIsoBox, writeIsoBoxes, writeKind, writeLabl, writeMdat, writeMdhd, writeMehd, writeMeta, writeMfhd, writeMfro, writeMp4a, writeMvhd, writePayl, writePrft, writePrsl, writePssh, writeSchm, writeSdtp, writeSidx, writeSkip, writeSmhd, writeSsix, writeSthd, writeStsd, writeStss, writeSttg, writeStts, writeStyp, writeSubs, writeTenc, writeTfdt, writeTfhd, writeTfra, writeTkhd, writeTrex, writeTrun, writeUrl, writeUrn, writeVisualSampleEntryBox, writeVlab, writeVmhd, writeVttC, writeVtte };
|
|
3870
3851
|
//# sourceMappingURL=index.js.map
|