@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.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { ValueOf } from "@svta/cml-utils";
|
|
2
|
+
|
|
1
3
|
//#region src/boxes/AdditionalMetadataContainerBox.d.ts
|
|
4
|
+
|
|
2
5
|
/**
|
|
3
6
|
* Child boxes of Additional Metadata Container Box
|
|
4
7
|
*
|
|
@@ -59,9 +62,11 @@ type AudioSampleEntryType = "mp4a" | "enca";
|
|
|
59
62
|
*
|
|
60
63
|
* @public
|
|
61
64
|
*/
|
|
62
|
-
type SampleEntryBox = {
|
|
65
|
+
type SampleEntryBox<T$1 extends IsoBoxType = IsoBoxType, C = any> = {
|
|
66
|
+
type: T$1;
|
|
63
67
|
reserved1: number[];
|
|
64
68
|
dataReferenceIndex: number;
|
|
69
|
+
boxes: C[];
|
|
65
70
|
};
|
|
66
71
|
//#endregion
|
|
67
72
|
//#region src/boxes/AudioSampleEntryBox.d.ts
|
|
@@ -1659,54 +1664,6 @@ type WebVttSourceLabelBox = {
|
|
|
1659
1664
|
sourceLabel: string;
|
|
1660
1665
|
};
|
|
1661
1666
|
//#endregion
|
|
1662
|
-
//#region src/fields/DATA.d.ts
|
|
1663
|
-
/**
|
|
1664
|
-
* The data field type
|
|
1665
|
-
*
|
|
1666
|
-
* @public
|
|
1667
|
-
*/
|
|
1668
|
-
declare const DATA = "data";
|
|
1669
|
-
//#endregion
|
|
1670
|
-
//#region src/fields/INT.d.ts
|
|
1671
|
-
/**
|
|
1672
|
-
* The integer field type
|
|
1673
|
-
*
|
|
1674
|
-
* @public
|
|
1675
|
-
*/
|
|
1676
|
-
declare const INT = "int";
|
|
1677
|
-
//#endregion
|
|
1678
|
-
//#region src/fields/STRING.d.ts
|
|
1679
|
-
/**
|
|
1680
|
-
* The string field type
|
|
1681
|
-
*
|
|
1682
|
-
* @public
|
|
1683
|
-
*/
|
|
1684
|
-
declare const STRING = "string";
|
|
1685
|
-
//#endregion
|
|
1686
|
-
//#region src/fields/TEMPLATE.d.ts
|
|
1687
|
-
/**
|
|
1688
|
-
* The template field type
|
|
1689
|
-
*
|
|
1690
|
-
* @public
|
|
1691
|
-
*/
|
|
1692
|
-
declare const TEMPLATE = "template";
|
|
1693
|
-
//#endregion
|
|
1694
|
-
//#region src/fields/UINT.d.ts
|
|
1695
|
-
/**
|
|
1696
|
-
* The unsigned integer field type
|
|
1697
|
-
*
|
|
1698
|
-
* @public
|
|
1699
|
-
*/
|
|
1700
|
-
declare const UINT = "uint";
|
|
1701
|
-
//#endregion
|
|
1702
|
-
//#region src/fields/UTF8.d.ts
|
|
1703
|
-
/**
|
|
1704
|
-
* The UTF8 field type
|
|
1705
|
-
*
|
|
1706
|
-
* @public
|
|
1707
|
-
*/
|
|
1708
|
-
declare const UTF8 = "utf8";
|
|
1709
|
-
//#endregion
|
|
1710
1667
|
//#region src/IsoBoxMap.d.ts
|
|
1711
1668
|
/**
|
|
1712
1669
|
* Comprehensive mapping from box type strings to their corresponding TypeScript interfaces
|
|
@@ -1874,7 +1831,7 @@ type IsoBoxData = ArrayBuffer | ArrayBufferView<ArrayBuffer>;
|
|
|
1874
1831
|
*
|
|
1875
1832
|
* @public
|
|
1876
1833
|
*/
|
|
1877
|
-
type IsoBoxReaderMap = Record<
|
|
1834
|
+
type IsoBoxReaderMap = Record<IsoBoxType, IsoBoxReader>;
|
|
1878
1835
|
//#endregion
|
|
1879
1836
|
//#region src/IsoBoxReadViewConfig.d.ts
|
|
1880
1837
|
/**
|
|
@@ -1889,6 +1846,62 @@ type IsoBoxReadViewConfig = {
|
|
|
1889
1846
|
readers?: IsoBoxReaderMap;
|
|
1890
1847
|
};
|
|
1891
1848
|
//#endregion
|
|
1849
|
+
//#region src/IsoBoxFields.d.ts
|
|
1850
|
+
/**
|
|
1851
|
+
* The UTF8 field type
|
|
1852
|
+
*
|
|
1853
|
+
* @public
|
|
1854
|
+
*/
|
|
1855
|
+
declare const UTF8: "utf8";
|
|
1856
|
+
/**
|
|
1857
|
+
* The unsigned integer field type
|
|
1858
|
+
*
|
|
1859
|
+
* @public
|
|
1860
|
+
*/
|
|
1861
|
+
declare const UINT: "uint";
|
|
1862
|
+
/**
|
|
1863
|
+
* The template field type
|
|
1864
|
+
*
|
|
1865
|
+
* @public
|
|
1866
|
+
*/
|
|
1867
|
+
declare const TEMPLATE: "template";
|
|
1868
|
+
/**
|
|
1869
|
+
* The string field type
|
|
1870
|
+
*
|
|
1871
|
+
* @public
|
|
1872
|
+
*/
|
|
1873
|
+
declare const STRING: "string";
|
|
1874
|
+
/**
|
|
1875
|
+
* The integer field type
|
|
1876
|
+
*
|
|
1877
|
+
* @public
|
|
1878
|
+
*/
|
|
1879
|
+
declare const INT: "int";
|
|
1880
|
+
/**
|
|
1881
|
+
* The data field type
|
|
1882
|
+
*
|
|
1883
|
+
* @public
|
|
1884
|
+
*/
|
|
1885
|
+
declare const DATA: "data";
|
|
1886
|
+
/**
|
|
1887
|
+
* The ISO BMFF field types
|
|
1888
|
+
*
|
|
1889
|
+
* @enum
|
|
1890
|
+
* @public
|
|
1891
|
+
*/
|
|
1892
|
+
declare const IsoBoxFields: {
|
|
1893
|
+
DATA: typeof DATA;
|
|
1894
|
+
INT: typeof INT;
|
|
1895
|
+
STRING: typeof STRING;
|
|
1896
|
+
TEMPLATE: typeof TEMPLATE;
|
|
1897
|
+
UINT: typeof UINT;
|
|
1898
|
+
UTF8: typeof UTF8;
|
|
1899
|
+
};
|
|
1900
|
+
/**
|
|
1901
|
+
* @public
|
|
1902
|
+
*/
|
|
1903
|
+
type IsoBoxFields = ValueOf<typeof IsoBoxFields>;
|
|
1904
|
+
//#endregion
|
|
1892
1905
|
//#region src/IsoFieldTypeMap.d.ts
|
|
1893
1906
|
/**
|
|
1894
1907
|
* IsoFieldTypeMap is a map of ISO BMFF field types to their corresponding JavaScript types.
|
|
@@ -1896,13 +1909,12 @@ type IsoBoxReadViewConfig = {
|
|
|
1896
1909
|
* @public
|
|
1897
1910
|
*/
|
|
1898
1911
|
type IsoFieldTypeMap = {
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
utf8string: string;
|
|
1912
|
+
[IsoBoxFields.UINT]: number;
|
|
1913
|
+
[IsoBoxFields.INT]: number;
|
|
1914
|
+
[IsoBoxFields.TEMPLATE]: number;
|
|
1915
|
+
[IsoBoxFields.STRING]: string;
|
|
1916
|
+
[IsoBoxFields.DATA]: Uint8Array<ArrayBuffer>;
|
|
1917
|
+
[IsoBoxFields.UTF8]: string;
|
|
1906
1918
|
};
|
|
1907
1919
|
//#endregion
|
|
1908
1920
|
//#region src/ParsedBox.d.ts
|
|
@@ -2077,7 +2089,7 @@ declare class IsoBoxReadView {
|
|
|
2077
2089
|
*
|
|
2078
2090
|
* @public
|
|
2079
2091
|
*/
|
|
2080
|
-
type IsoBoxReader<B = unknown> = (view: IsoBoxReadView) => B;
|
|
2092
|
+
type IsoBoxReader<B = unknown, T$1 extends IsoBoxType = IsoBoxType> = (view: IsoBoxReadView, type: T$1) => B;
|
|
2081
2093
|
//#endregion
|
|
2082
2094
|
//#region src/IsoBoxReaderReturn.d.ts
|
|
2083
2095
|
/**
|
|
@@ -2105,7 +2117,7 @@ type IsoBoxStreamable = IsoBox | ParsedIsoBox | ParsedBox<unknown> | ArrayBuffer
|
|
|
2105
2117
|
*
|
|
2106
2118
|
* @public
|
|
2107
2119
|
*/
|
|
2108
|
-
type IsoBoxWriterMap =
|
|
2120
|
+
type IsoBoxWriterMap = Record<string, IsoBoxWriter<any>>;
|
|
2109
2121
|
//#endregion
|
|
2110
2122
|
//#region src/IsoBoxWriteViewConfig.d.ts
|
|
2111
2123
|
/**
|
|
@@ -2128,6 +2140,128 @@ type IsoBoxWriteViewConfig = {
|
|
|
2128
2140
|
*/
|
|
2129
2141
|
type IsoBoxWriter<B> = (box: B, config: IsoBoxWriteViewConfig) => ArrayBufferView;
|
|
2130
2142
|
//#endregion
|
|
2143
|
+
//#region src/IsoTypedParsedBox.d.ts
|
|
2144
|
+
/**
|
|
2145
|
+
* Typed Parsed Box Type
|
|
2146
|
+
*
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
2149
|
+
type IsoTypedParsedBox<T$1 extends keyof IsoBoxMap> = ParsedBox<IsoBoxMap[T$1]>;
|
|
2150
|
+
//#endregion
|
|
2151
|
+
//#region src/TraverseIsoBoxesConfig.d.ts
|
|
2152
|
+
/**
|
|
2153
|
+
* Configuration options for traversing ISO boxes.
|
|
2154
|
+
*
|
|
2155
|
+
* @public
|
|
2156
|
+
*/
|
|
2157
|
+
type TraverseIsoBoxesConfig = {
|
|
2158
|
+
/**
|
|
2159
|
+
* Whether to traverse the boxes depth-first or breadth-first.
|
|
2160
|
+
*
|
|
2161
|
+
* @defaultValue true
|
|
2162
|
+
*/
|
|
2163
|
+
depthFirst?: boolean;
|
|
2164
|
+
/**
|
|
2165
|
+
* The maximum depth to traverse. A value of 0 will only traverse the root boxes.
|
|
2166
|
+
*
|
|
2167
|
+
* @defaultValue Infinity
|
|
2168
|
+
*/
|
|
2169
|
+
maxDepth?: number;
|
|
2170
|
+
};
|
|
2171
|
+
//#endregion
|
|
2172
|
+
//#region src/createIsoBoxReadableStream.d.ts
|
|
2173
|
+
/**
|
|
2174
|
+
* Creates a ReadableStream of ISO BMFF boxes as Uint8Arrays.
|
|
2175
|
+
*
|
|
2176
|
+
* @param boxes - The boxes to stream.
|
|
2177
|
+
* @param config - The configuration for the stream.
|
|
2178
|
+
*
|
|
2179
|
+
* @returns A new IsoBoxReadableStream.
|
|
2180
|
+
*
|
|
2181
|
+
* @example
|
|
2182
|
+
* {@includeCode ../test/createIsoBoxReadableStream.test.ts#example}
|
|
2183
|
+
*
|
|
2184
|
+
* @public
|
|
2185
|
+
*/
|
|
2186
|
+
declare function createIsoBoxReadableStream(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig): ReadableStream<Uint8Array>;
|
|
2187
|
+
//#endregion
|
|
2188
|
+
//#region src/filterIsoBoxes.d.ts
|
|
2189
|
+
/**
|
|
2190
|
+
* Filters boxes in the tree that satisfy the provided testing function.
|
|
2191
|
+
*
|
|
2192
|
+
* This function traverses the entire box structure (including nested boxes)
|
|
2193
|
+
* and returns all boxes for which the callback returns true.
|
|
2194
|
+
*
|
|
2195
|
+
* @param boxes - The boxes to search through
|
|
2196
|
+
* @param callback - A function that accepts a box and returns true if it matches
|
|
2197
|
+
* @param config - Configuration options for traversal
|
|
2198
|
+
*
|
|
2199
|
+
* @returns An array of boxes that satisfy the callback
|
|
2200
|
+
*
|
|
2201
|
+
* @example
|
|
2202
|
+
* {@includeCode ../test/filterIsoBoxes.test.ts#example}
|
|
2203
|
+
*
|
|
2204
|
+
* @public
|
|
2205
|
+
*/
|
|
2206
|
+
declare function filterIsoBoxes<T$1, S extends T$1>(boxes: Iterable<T$1>, callback: (box: T$1) => box is S, config?: TraverseIsoBoxesConfig): S[];
|
|
2207
|
+
/**
|
|
2208
|
+
* @public
|
|
2209
|
+
*/
|
|
2210
|
+
declare function filterIsoBoxes<T$1>(boxes: Iterable<T$1>, callback: (box: T$1) => boolean, config?: TraverseIsoBoxesConfig): T$1[];
|
|
2211
|
+
//#endregion
|
|
2212
|
+
//#region src/findIsoBox.d.ts
|
|
2213
|
+
/**
|
|
2214
|
+
* Finds the first box in the tree that satisfies the provided testing function.
|
|
2215
|
+
*
|
|
2216
|
+
* This function traverses the entire box structure (including nested boxes)
|
|
2217
|
+
* and returns the first box for which the callback returns true.
|
|
2218
|
+
*
|
|
2219
|
+
* @param boxes - The boxes to search through
|
|
2220
|
+
* @param callback - A function that accepts a box and returns true if it matches
|
|
2221
|
+
* @param config - Configuration options for traversal
|
|
2222
|
+
*
|
|
2223
|
+
* @returns The first box that satisfies the callback, or null if none is found
|
|
2224
|
+
*
|
|
2225
|
+
* @example
|
|
2226
|
+
* {@includeCode ../test/findIsoBox.test.ts#example}
|
|
2227
|
+
*
|
|
2228
|
+
* @public
|
|
2229
|
+
*/
|
|
2230
|
+
declare function findIsoBox<T$1, S extends T$1>(boxes: Iterable<T$1>, callback: (box: T$1) => box is S, config?: TraverseIsoBoxesConfig): S | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* @public
|
|
2233
|
+
*/
|
|
2234
|
+
declare function findIsoBox<T$1>(boxes: Iterable<T$1>, callback: (box: T$1) => boolean, config?: TraverseIsoBoxesConfig): T$1 | null;
|
|
2235
|
+
//#endregion
|
|
2236
|
+
//#region src/isIsoBoxType.d.ts
|
|
2237
|
+
/**
|
|
2238
|
+
* Check if a box is of a specific type. This is a type guard function.
|
|
2239
|
+
*
|
|
2240
|
+
* @param type - The type to check for
|
|
2241
|
+
* @param box - The box to check
|
|
2242
|
+
*
|
|
2243
|
+
* @returns `true` if the box is of the specified type, `false` otherwise
|
|
2244
|
+
*
|
|
2245
|
+
* @public
|
|
2246
|
+
*/
|
|
2247
|
+
declare function isIsoBoxType<T$1 extends keyof IsoBoxMap>(type: T$1, box: any): box is IsoBoxMap[T$1];
|
|
2248
|
+
//#endregion
|
|
2249
|
+
//#region src/IsoBoxReadableStream.d.ts
|
|
2250
|
+
/**
|
|
2251
|
+
* A readable stream of ISO BMFF boxes as Uint8Arrays.
|
|
2252
|
+
*
|
|
2253
|
+
* @public
|
|
2254
|
+
*/
|
|
2255
|
+
declare class IsoBoxReadableStream extends ReadableStream<Uint8Array> {
|
|
2256
|
+
/**
|
|
2257
|
+
* Constructs a new IsoBoxReadableStream.
|
|
2258
|
+
*
|
|
2259
|
+
* @param boxes - The boxes to stream.
|
|
2260
|
+
* @param config - The configuration for the stream.
|
|
2261
|
+
*/
|
|
2262
|
+
constructor(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig);
|
|
2263
|
+
}
|
|
2264
|
+
//#endregion
|
|
2131
2265
|
//#region src/IsoBoxWriteView.d.ts
|
|
2132
2266
|
/**
|
|
2133
2267
|
* A view for writing ISO BMFF data.
|
|
@@ -2231,107 +2365,6 @@ declare class IsoBoxWriteView {
|
|
|
2231
2365
|
writeFullBox(version: number, flags: number): void;
|
|
2232
2366
|
}
|
|
2233
2367
|
//#endregion
|
|
2234
|
-
//#region src/IsoTypedParsedBox.d.ts
|
|
2235
|
-
/**
|
|
2236
|
-
* Typed Parsed Box Type
|
|
2237
|
-
*
|
|
2238
|
-
* @public
|
|
2239
|
-
*/
|
|
2240
|
-
type IsoTypedParsedBox<T$1 extends keyof IsoBoxMap> = ParsedBox<IsoBoxMap[T$1]>;
|
|
2241
|
-
//#endregion
|
|
2242
|
-
//#region src/TraverseIsoBoxesConfig.d.ts
|
|
2243
|
-
/**
|
|
2244
|
-
* Configuration options for traversing ISO boxes.
|
|
2245
|
-
*
|
|
2246
|
-
* @public
|
|
2247
|
-
*/
|
|
2248
|
-
type TraverseIsoBoxesConfig = {
|
|
2249
|
-
/**
|
|
2250
|
-
* Whether to traverse the boxes depth-first or breadth-first.
|
|
2251
|
-
*
|
|
2252
|
-
* @defaultValue true
|
|
2253
|
-
*/
|
|
2254
|
-
depthFirst?: boolean;
|
|
2255
|
-
/**
|
|
2256
|
-
* The maximum depth to traverse. A value of 0 will only traverse the root boxes.
|
|
2257
|
-
*
|
|
2258
|
-
* @defaultValue Infinity
|
|
2259
|
-
*/
|
|
2260
|
-
maxDepth?: number;
|
|
2261
|
-
};
|
|
2262
|
-
//#endregion
|
|
2263
|
-
//#region src/createIsoBoxReadableStream.d.ts
|
|
2264
|
-
/**
|
|
2265
|
-
* Creates a ReadableStream of ISO BMFF boxes as Uint8Arrays.
|
|
2266
|
-
*
|
|
2267
|
-
* @param boxes - The boxes to stream.
|
|
2268
|
-
* @param config - The configuration for the stream.
|
|
2269
|
-
*
|
|
2270
|
-
* @returns A new IsoBoxReadableStream.
|
|
2271
|
-
*
|
|
2272
|
-
* @example
|
|
2273
|
-
* {@includeCode ../test/createIsoBoxReadableStream.test.ts#example}
|
|
2274
|
-
*
|
|
2275
|
-
* @public
|
|
2276
|
-
*/
|
|
2277
|
-
declare function createIsoBoxReadableStream(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig): ReadableStream<Uint8Array>;
|
|
2278
|
-
//#endregion
|
|
2279
|
-
//#region src/filterIsoBoxes.d.ts
|
|
2280
|
-
/**
|
|
2281
|
-
* Filters boxes in the tree that satisfy the provided testing function.
|
|
2282
|
-
*
|
|
2283
|
-
* This function traverses the entire box structure (including nested boxes)
|
|
2284
|
-
* and returns all boxes for which the callback returns true.
|
|
2285
|
-
*
|
|
2286
|
-
* @param boxes - The boxes to search through
|
|
2287
|
-
* @param callback - A function that accepts a box and returns true if it matches
|
|
2288
|
-
* @param config - Configuration options for traversal
|
|
2289
|
-
*
|
|
2290
|
-
* @returns An array of boxes that satisfy the callback
|
|
2291
|
-
*
|
|
2292
|
-
* @example
|
|
2293
|
-
* {@includeCode ../test/filterIsoBoxes.test.ts#example}
|
|
2294
|
-
*
|
|
2295
|
-
* @public
|
|
2296
|
-
*/
|
|
2297
|
-
declare function filterIsoBoxes<T$1>(boxes: Iterable<T$1>, callback: (box: T$1) => boolean, config?: TraverseIsoBoxesConfig): T$1[];
|
|
2298
|
-
//#endregion
|
|
2299
|
-
//#region src/findIsoBox.d.ts
|
|
2300
|
-
/**
|
|
2301
|
-
* Finds the first box in the tree that satisfies the provided testing function.
|
|
2302
|
-
*
|
|
2303
|
-
* This function traverses the entire box structure (including nested boxes)
|
|
2304
|
-
* and returns the first box for which the callback returns true.
|
|
2305
|
-
*
|
|
2306
|
-
* @param boxes - The boxes to search through
|
|
2307
|
-
* @param callback - A function that accepts a box and returns true if it matches
|
|
2308
|
-
* @param config - Configuration options for traversal
|
|
2309
|
-
*
|
|
2310
|
-
* @returns The first box that satisfies the callback, or null if none is found
|
|
2311
|
-
*
|
|
2312
|
-
* @example
|
|
2313
|
-
* {@includeCode ../test/findIsoBox.test.ts#example}
|
|
2314
|
-
*
|
|
2315
|
-
* @public
|
|
2316
|
-
*/
|
|
2317
|
-
declare function findIsoBox<T$1>(boxes: Iterable<T$1>, callback: (box: T$1) => boolean, config?: TraverseIsoBoxesConfig): T$1 | null;
|
|
2318
|
-
//#endregion
|
|
2319
|
-
//#region src/IsoBoxReadableStream.d.ts
|
|
2320
|
-
/**
|
|
2321
|
-
* A readable stream of ISO BMFF boxes as Uint8Arrays.
|
|
2322
|
-
*
|
|
2323
|
-
* @public
|
|
2324
|
-
*/
|
|
2325
|
-
declare class IsoBoxReadableStream extends ReadableStream<Uint8Array> {
|
|
2326
|
-
/**
|
|
2327
|
-
* Constructs a new IsoBoxReadableStream.
|
|
2328
|
-
*
|
|
2329
|
-
* @param boxes - The boxes to stream.
|
|
2330
|
-
* @param config - The configuration for the stream.
|
|
2331
|
-
*/
|
|
2332
|
-
constructor(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig);
|
|
2333
|
-
}
|
|
2334
|
-
//#endregion
|
|
2335
2368
|
//#region src/readIsoBoxes.d.ts
|
|
2336
2369
|
/**
|
|
2337
2370
|
* Reads ISO boxes from a data source.
|
|
@@ -2401,14 +2434,14 @@ declare function writeIsoBoxes(boxes: Iterable<IsoBoxStreamable>, config?: IsoBo
|
|
|
2401
2434
|
//#endregion
|
|
2402
2435
|
//#region src/readers/createAudioSampleEntryReader.d.ts
|
|
2403
2436
|
/**
|
|
2404
|
-
* Creates a reader function for AudioSampleEntryBox with a custom type.
|
|
2437
|
+
* Creates a reader function for `AudioSampleEntryBox` with a custom type.
|
|
2405
2438
|
*
|
|
2406
2439
|
* This utility allows reading audio sample entry boxes with types that
|
|
2407
|
-
* aren't in the standard AudioSampleEntryType union (e.g., 'mp4a'
|
|
2440
|
+
* aren't in the standard `AudioSampleEntryType` union (e.g., `'mp4a'`, `'enca'`).
|
|
2408
2441
|
*
|
|
2409
2442
|
* @param type - The 4-character box type
|
|
2410
2443
|
*
|
|
2411
|
-
* @returns A reader function that can be passed to readIsoBoxes
|
|
2444
|
+
* @returns A reader function that can be passed to `readIsoBoxes`
|
|
2412
2445
|
*
|
|
2413
2446
|
* @example
|
|
2414
2447
|
* ```ts
|
|
@@ -2426,14 +2459,14 @@ declare function createAudioSampleEntryReader<T$1 extends IsoBoxType>(type: T$1)
|
|
|
2426
2459
|
//#endregion
|
|
2427
2460
|
//#region src/readers/createVisualSampleEntryReader.d.ts
|
|
2428
2461
|
/**
|
|
2429
|
-
* Creates a reader function for VisualSampleEntryBox with a custom type.
|
|
2462
|
+
* Creates a reader function for `VisualSampleEntryBox` with a custom type.
|
|
2430
2463
|
*
|
|
2431
2464
|
* This utility allows reading visual sample entry boxes with types that
|
|
2432
|
-
* aren't in the standard VisualSampleEntryType union (e.g., 'avc1'
|
|
2465
|
+
* aren't in the standard `VisualSampleEntryType` union (e.g., `'avc1'`, `'hvc1'`).
|
|
2433
2466
|
*
|
|
2434
2467
|
* @param type - The 4-character box type
|
|
2435
2468
|
*
|
|
2436
|
-
* @returns A reader function that can be passed to readIsoBoxes
|
|
2469
|
+
* @returns A reader function that can be passed to `readIsoBoxes`
|
|
2437
2470
|
*
|
|
2438
2471
|
* @example
|
|
2439
2472
|
* ```ts
|
|
@@ -2451,11 +2484,11 @@ declare function createVisualSampleEntryReader<T$1 extends IsoBoxType>(type: T$1
|
|
|
2451
2484
|
//#endregion
|
|
2452
2485
|
//#region src/readers/readArdi.d.ts
|
|
2453
2486
|
/**
|
|
2454
|
-
* Parse a AudioRenderingIndicationBox from an
|
|
2487
|
+
* Parse a `AudioRenderingIndicationBox` from an `IsoBoxReadView`.
|
|
2455
2488
|
*
|
|
2456
|
-
* @param view - The
|
|
2489
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2457
2490
|
*
|
|
2458
|
-
* @returns A parsed AudioRenderingIndicationBox
|
|
2491
|
+
* @returns A parsed `AudioRenderingIndicationBox`
|
|
2459
2492
|
*
|
|
2460
2493
|
* @public
|
|
2461
2494
|
*/
|
|
@@ -2463,12 +2496,12 @@ declare function readArdi(view: IsoBoxReadView): AudioRenderingIndicationBox;
|
|
|
2463
2496
|
//#endregion
|
|
2464
2497
|
//#region src/readers/readAudioSampleEntryBox.d.ts
|
|
2465
2498
|
/**
|
|
2466
|
-
* Parse a AudioSampleEntryBox from an
|
|
2499
|
+
* Parse a `AudioSampleEntryBox` from an `IsoBoxReadView`.
|
|
2467
2500
|
*
|
|
2468
|
-
* @param type - The type of AudioSampleEntryBox to read
|
|
2469
|
-
* @param view - The
|
|
2501
|
+
* @param type - The type of `AudioSampleEntryBox` to read
|
|
2502
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2470
2503
|
*
|
|
2471
|
-
* @returns A parsed AudioSampleEntryBox
|
|
2504
|
+
* @returns A parsed `AudioSampleEntryBox`
|
|
2472
2505
|
*
|
|
2473
2506
|
* @public
|
|
2474
2507
|
*/
|
|
@@ -2476,11 +2509,11 @@ declare function readAudioSampleEntryBox<T$1 extends IsoBoxType>(type: T$1, view
|
|
|
2476
2509
|
//#endregion
|
|
2477
2510
|
//#region src/readers/readAvc1.d.ts
|
|
2478
2511
|
/**
|
|
2479
|
-
* Parse a VisualSampleEntryBox from an
|
|
2512
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2480
2513
|
*
|
|
2481
|
-
* @param view - The
|
|
2514
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2482
2515
|
*
|
|
2483
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2516
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2484
2517
|
*
|
|
2485
2518
|
* @public
|
|
2486
2519
|
*/
|
|
@@ -2488,11 +2521,11 @@ declare function readAvc1(view: IsoBoxReadView): VisualSampleEntryBox<"avc1">;
|
|
|
2488
2521
|
//#endregion
|
|
2489
2522
|
//#region src/readers/readAvc2.d.ts
|
|
2490
2523
|
/**
|
|
2491
|
-
* Parse a VisualSampleEntryBox from an
|
|
2524
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2492
2525
|
*
|
|
2493
|
-
* @param view - The
|
|
2526
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2494
2527
|
*
|
|
2495
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2528
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2496
2529
|
*
|
|
2497
2530
|
* @public
|
|
2498
2531
|
*/
|
|
@@ -2500,11 +2533,11 @@ declare function readAvc2(view: IsoBoxReadView): VisualSampleEntryBox<"avc2">;
|
|
|
2500
2533
|
//#endregion
|
|
2501
2534
|
//#region src/readers/readAvc3.d.ts
|
|
2502
2535
|
/**
|
|
2503
|
-
* Parse a VisualSampleEntryBox from an
|
|
2536
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2504
2537
|
*
|
|
2505
|
-
* @param view - The
|
|
2538
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2506
2539
|
*
|
|
2507
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2540
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2508
2541
|
*
|
|
2509
2542
|
* @public
|
|
2510
2543
|
*/
|
|
@@ -2512,11 +2545,11 @@ declare function readAvc3(view: IsoBoxReadView): VisualSampleEntryBox<"avc3">;
|
|
|
2512
2545
|
//#endregion
|
|
2513
2546
|
//#region src/readers/readAvc4.d.ts
|
|
2514
2547
|
/**
|
|
2515
|
-
* Parse a VisualSampleEntryBox from an
|
|
2548
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2516
2549
|
*
|
|
2517
|
-
* @param view - The
|
|
2550
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2518
2551
|
*
|
|
2519
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2552
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2520
2553
|
*
|
|
2521
2554
|
* @public
|
|
2522
2555
|
*/
|
|
@@ -2524,11 +2557,11 @@ declare function readAvc4(view: IsoBoxReadView): VisualSampleEntryBox<"avc4">;
|
|
|
2524
2557
|
//#endregion
|
|
2525
2558
|
//#region src/readers/readCtts.d.ts
|
|
2526
2559
|
/**
|
|
2527
|
-
* Parse a CompositionTimeToSampleBox from an
|
|
2560
|
+
* Parse a `CompositionTimeToSampleBox` from an `IsoBoxReadView`.
|
|
2528
2561
|
*
|
|
2529
|
-
* @param view - The
|
|
2562
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2530
2563
|
*
|
|
2531
|
-
* @returns A parsed CompositionTimeToSampleBox
|
|
2564
|
+
* @returns A parsed `CompositionTimeToSampleBox`
|
|
2532
2565
|
*
|
|
2533
2566
|
* @public
|
|
2534
2567
|
*/
|
|
@@ -2536,11 +2569,11 @@ declare function readCtts(view: IsoBoxReadView): CompositionTimeToSampleBox;
|
|
|
2536
2569
|
//#endregion
|
|
2537
2570
|
//#region src/readers/readDref.d.ts
|
|
2538
2571
|
/**
|
|
2539
|
-
* Parse a DataReferenceBox from an
|
|
2572
|
+
* Parse a `DataReferenceBox` from an `IsoBoxReadView`.
|
|
2540
2573
|
*
|
|
2541
|
-
* @param view - The
|
|
2574
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2542
2575
|
*
|
|
2543
|
-
* @returns A parsed DataReferenceBox
|
|
2576
|
+
* @returns A parsed `DataReferenceBox`
|
|
2544
2577
|
*
|
|
2545
2578
|
* @public
|
|
2546
2579
|
*/
|
|
@@ -2548,11 +2581,11 @@ declare function readDref(view: IsoBoxReadView): DataReferenceBox;
|
|
|
2548
2581
|
//#endregion
|
|
2549
2582
|
//#region src/readers/readElng.d.ts
|
|
2550
2583
|
/**
|
|
2551
|
-
* Parse a ExtendedLanguageBox from an
|
|
2584
|
+
* Parse a `ExtendedLanguageBox` from an `IsoBoxReadView`.
|
|
2552
2585
|
*
|
|
2553
|
-
* @param view - The
|
|
2586
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2554
2587
|
*
|
|
2555
|
-
* @returns A parsed ExtendedLanguageBox
|
|
2588
|
+
* @returns A parsed `ExtendedLanguageBox`
|
|
2556
2589
|
*
|
|
2557
2590
|
* @public
|
|
2558
2591
|
*/
|
|
@@ -2560,11 +2593,11 @@ declare function readElng(view: IsoBoxReadView): ExtendedLanguageBox;
|
|
|
2560
2593
|
//#endregion
|
|
2561
2594
|
//#region src/readers/readElst.d.ts
|
|
2562
2595
|
/**
|
|
2563
|
-
* Parse a
|
|
2596
|
+
* Parse a `EditListBox` from an `IsoBoxReadView`.
|
|
2564
2597
|
*
|
|
2565
|
-
* @param view - The
|
|
2598
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2566
2599
|
*
|
|
2567
|
-
* @returns A parsed
|
|
2600
|
+
* @returns A parsed `EditListBox`
|
|
2568
2601
|
*
|
|
2569
2602
|
* @public
|
|
2570
2603
|
*/
|
|
@@ -2572,11 +2605,11 @@ declare function readElst(view: IsoBoxReadView): EditListBox;
|
|
|
2572
2605
|
//#endregion
|
|
2573
2606
|
//#region src/readers/readEmsg.d.ts
|
|
2574
2607
|
/**
|
|
2575
|
-
* Parse
|
|
2608
|
+
* Parse a `EventMessageBox` from an `IsoBoxReadView`.
|
|
2576
2609
|
*
|
|
2577
|
-
* @param view - The
|
|
2610
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2578
2611
|
*
|
|
2579
|
-
* @returns A parsed EventMessageBox
|
|
2612
|
+
* @returns A parsed `EventMessageBox`
|
|
2580
2613
|
*
|
|
2581
2614
|
* @public
|
|
2582
2615
|
*/
|
|
@@ -2584,11 +2617,11 @@ declare function readEmsg(view: IsoBoxReadView): EventMessageBox;
|
|
|
2584
2617
|
//#endregion
|
|
2585
2618
|
//#region src/readers/readEnca.d.ts
|
|
2586
2619
|
/**
|
|
2587
|
-
* Parse an
|
|
2620
|
+
* Parse an `AudioSampleEntryBox` from an `IsoBoxReadView`.
|
|
2588
2621
|
*
|
|
2589
|
-
* @param view - The
|
|
2622
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2590
2623
|
*
|
|
2591
|
-
* @returns A parsed
|
|
2624
|
+
* @returns A parsed `AudioSampleEntryBox`
|
|
2592
2625
|
*
|
|
2593
2626
|
* @public
|
|
2594
2627
|
*/
|
|
@@ -2596,11 +2629,11 @@ declare function readEnca(view: IsoBoxReadView): AudioSampleEntryBox<"enca">;
|
|
|
2596
2629
|
//#endregion
|
|
2597
2630
|
//#region src/readers/readEncv.d.ts
|
|
2598
2631
|
/**
|
|
2599
|
-
* Parse a VisualSampleEntryBox from an
|
|
2632
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2600
2633
|
*
|
|
2601
|
-
* @param view - The
|
|
2634
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2602
2635
|
*
|
|
2603
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2636
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2604
2637
|
*
|
|
2605
2638
|
* @public
|
|
2606
2639
|
*/
|
|
@@ -2608,11 +2641,11 @@ declare function readEncv(view: IsoBoxReadView): VisualSampleEntryBox<"encv">;
|
|
|
2608
2641
|
//#endregion
|
|
2609
2642
|
//#region src/readers/readFree.d.ts
|
|
2610
2643
|
/**
|
|
2611
|
-
* Parse a
|
|
2644
|
+
* Parse a `FreeSpaceBox` from an `IsoBoxReadView`.
|
|
2612
2645
|
*
|
|
2613
|
-
* @param view - The
|
|
2646
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2614
2647
|
*
|
|
2615
|
-
* @returns A parsed
|
|
2648
|
+
* @returns A parsed `FreeSpaceBox`
|
|
2616
2649
|
*
|
|
2617
2650
|
* @public
|
|
2618
2651
|
*/
|
|
@@ -2620,11 +2653,11 @@ declare function readFree(view: IsoBoxReadView): FreeSpaceBox;
|
|
|
2620
2653
|
//#endregion
|
|
2621
2654
|
//#region src/readers/readFrma.d.ts
|
|
2622
2655
|
/**
|
|
2623
|
-
* Parse an OriginalFormatBox from an
|
|
2656
|
+
* Parse an `OriginalFormatBox` from an `IsoBoxReadView`.
|
|
2624
2657
|
*
|
|
2625
|
-
* @param view - The
|
|
2658
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2626
2659
|
*
|
|
2627
|
-
* @returns A parsed OriginalFormatBox
|
|
2660
|
+
* @returns A parsed `OriginalFormatBox`
|
|
2628
2661
|
*
|
|
2629
2662
|
* @public
|
|
2630
2663
|
*/
|
|
@@ -2632,11 +2665,11 @@ declare function readFrma(view: IsoBoxReadView): OriginalFormatBox;
|
|
|
2632
2665
|
//#endregion
|
|
2633
2666
|
//#region src/readers/readFtyp.d.ts
|
|
2634
2667
|
/**
|
|
2635
|
-
* Parse a FileTypeBox from an
|
|
2668
|
+
* Parse a `FileTypeBox` from an `IsoBoxReadView`.
|
|
2636
2669
|
*
|
|
2637
|
-
* @param view - The
|
|
2670
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2638
2671
|
*
|
|
2639
|
-
* @returns A parsed FileTypeBox
|
|
2672
|
+
* @returns A parsed `FileTypeBox`
|
|
2640
2673
|
*
|
|
2641
2674
|
* @public
|
|
2642
2675
|
*/
|
|
@@ -2644,11 +2677,11 @@ declare function readFtyp(view: IsoBoxReadView): FileTypeBox;
|
|
|
2644
2677
|
//#endregion
|
|
2645
2678
|
//#region src/readers/readHdlr.d.ts
|
|
2646
2679
|
/**
|
|
2647
|
-
* Parse a HandlerReferenceBox from an
|
|
2680
|
+
* Parse a `HandlerReferenceBox` from an `IsoBoxReadView`.
|
|
2648
2681
|
*
|
|
2649
|
-
* @param view - The
|
|
2682
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2650
2683
|
*
|
|
2651
|
-
* @returns A parsed HandlerReferenceBox
|
|
2684
|
+
* @returns A parsed `HandlerReferenceBox`
|
|
2652
2685
|
*
|
|
2653
2686
|
* @public
|
|
2654
2687
|
*/
|
|
@@ -2656,11 +2689,11 @@ declare function readHdlr(view: IsoBoxReadView): HandlerReferenceBox;
|
|
|
2656
2689
|
//#endregion
|
|
2657
2690
|
//#region src/readers/readHev1.d.ts
|
|
2658
2691
|
/**
|
|
2659
|
-
* Parse a VisualSampleEntryBox from an
|
|
2692
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2660
2693
|
*
|
|
2661
|
-
* @param view - The
|
|
2694
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2662
2695
|
*
|
|
2663
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2696
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2664
2697
|
*
|
|
2665
2698
|
* @public
|
|
2666
2699
|
*/
|
|
@@ -2668,11 +2701,11 @@ declare function readHev1(view: IsoBoxReadView): VisualSampleEntryBox<"hev1">;
|
|
|
2668
2701
|
//#endregion
|
|
2669
2702
|
//#region src/readers/readHvc1.d.ts
|
|
2670
2703
|
/**
|
|
2671
|
-
* Parse a VisualSampleEntryBox from an
|
|
2704
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
2672
2705
|
*
|
|
2673
|
-
* @param view - The
|
|
2706
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2674
2707
|
*
|
|
2675
|
-
* @returns A parsed VisualSampleEntryBox
|
|
2708
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
2676
2709
|
*
|
|
2677
2710
|
* @public
|
|
2678
2711
|
*/
|
|
@@ -2680,11 +2713,11 @@ declare function readHvc1(view: IsoBoxReadView): VisualSampleEntryBox<"hvc1">;
|
|
|
2680
2713
|
//#endregion
|
|
2681
2714
|
//#region src/readers/readIden.d.ts
|
|
2682
2715
|
/**
|
|
2683
|
-
* Parse a
|
|
2716
|
+
* Parse a `WebVttCueIdBox` from an `IsoBoxReadView`.
|
|
2684
2717
|
*
|
|
2685
|
-
* @param view - The
|
|
2718
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2686
2719
|
*
|
|
2687
|
-
* @returns A parsed
|
|
2720
|
+
* @returns A parsed `WebVttCueIdBox`
|
|
2688
2721
|
*
|
|
2689
2722
|
* @public
|
|
2690
2723
|
*/
|
|
@@ -2692,11 +2725,11 @@ declare function readIden(view: IsoBoxReadView): WebVttCueIdBox;
|
|
|
2692
2725
|
//#endregion
|
|
2693
2726
|
//#region src/readers/readImda.d.ts
|
|
2694
2727
|
/**
|
|
2695
|
-
* Parse a IdentifiedMediaDataBox from an
|
|
2728
|
+
* Parse a `IdentifiedMediaDataBox` from an `IsoBoxReadView`.
|
|
2696
2729
|
*
|
|
2697
|
-
* @param view - The
|
|
2730
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2698
2731
|
*
|
|
2699
|
-
* @returns A parsed IdentifiedMediaDataBox
|
|
2732
|
+
* @returns A parsed `IdentifiedMediaDataBox`
|
|
2700
2733
|
*
|
|
2701
2734
|
* @public
|
|
2702
2735
|
*/
|
|
@@ -2704,11 +2737,11 @@ declare function readImda(view: IsoBoxReadView): IdentifiedMediaDataBox;
|
|
|
2704
2737
|
//#endregion
|
|
2705
2738
|
//#region src/readers/readKind.d.ts
|
|
2706
2739
|
/**
|
|
2707
|
-
* Parse a
|
|
2740
|
+
* Parse a `TrackKindBox` from an `IsoBoxReadView`.
|
|
2708
2741
|
*
|
|
2709
|
-
* @param view - The
|
|
2742
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2710
2743
|
*
|
|
2711
|
-
* @returns A parsed TrackKindBox
|
|
2744
|
+
* @returns A parsed `TrackKindBox`
|
|
2712
2745
|
*
|
|
2713
2746
|
* @public
|
|
2714
2747
|
*/
|
|
@@ -2716,11 +2749,11 @@ declare function readKind(view: IsoBoxReadView): TrackKindBox;
|
|
|
2716
2749
|
//#endregion
|
|
2717
2750
|
//#region src/readers/readLabl.d.ts
|
|
2718
2751
|
/**
|
|
2719
|
-
* Parse a LabelBox from an
|
|
2752
|
+
* Parse a `LabelBox` from an `IsoBoxReadView`.
|
|
2720
2753
|
*
|
|
2721
|
-
* @param view - The
|
|
2754
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2722
2755
|
*
|
|
2723
|
-
* @returns A parsed LabelBox
|
|
2756
|
+
* @returns A parsed `LabelBox`
|
|
2724
2757
|
*
|
|
2725
2758
|
* @public
|
|
2726
2759
|
*/
|
|
@@ -2728,11 +2761,11 @@ declare function readLabl(view: IsoBoxReadView): LabelBox;
|
|
|
2728
2761
|
//#endregion
|
|
2729
2762
|
//#region src/readers/readMdat.d.ts
|
|
2730
2763
|
/**
|
|
2731
|
-
* Parse a MediaDataBox from an
|
|
2764
|
+
* Parse a `MediaDataBox` from an `IsoBoxReadView`.
|
|
2732
2765
|
*
|
|
2733
|
-
* @param view - The
|
|
2766
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2734
2767
|
*
|
|
2735
|
-
* @returns A parsed MediaDataBox
|
|
2768
|
+
* @returns A parsed `MediaDataBox`
|
|
2736
2769
|
*
|
|
2737
2770
|
* @public
|
|
2738
2771
|
*/
|
|
@@ -2740,11 +2773,11 @@ declare function readMdat(view: IsoBoxReadView): MediaDataBox;
|
|
|
2740
2773
|
//#endregion
|
|
2741
2774
|
//#region src/readers/readMdhd.d.ts
|
|
2742
2775
|
/**
|
|
2743
|
-
* Parse a MediaHeaderBox from an
|
|
2776
|
+
* Parse a `MediaHeaderBox` from an `IsoBoxReadView`.
|
|
2744
2777
|
*
|
|
2745
|
-
* @param view - The
|
|
2778
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2746
2779
|
*
|
|
2747
|
-
* @returns A parsed MediaHeaderBox
|
|
2780
|
+
* @returns A parsed `MediaHeaderBox`
|
|
2748
2781
|
*
|
|
2749
2782
|
* @public
|
|
2750
2783
|
*/
|
|
@@ -2752,11 +2785,11 @@ declare function readMdhd(view: IsoBoxReadView): MediaHeaderBox;
|
|
|
2752
2785
|
//#endregion
|
|
2753
2786
|
//#region src/readers/readMehd.d.ts
|
|
2754
2787
|
/**
|
|
2755
|
-
* Parse a MovieExtendsHeaderBox from an
|
|
2788
|
+
* Parse a `MovieExtendsHeaderBox` from an `IsoBoxReadView`.
|
|
2756
2789
|
*
|
|
2757
|
-
* @param view - The
|
|
2790
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2758
2791
|
*
|
|
2759
|
-
* @returns A parsed MovieExtendsHeaderBox
|
|
2792
|
+
* @returns A parsed `MovieExtendsHeaderBox`
|
|
2760
2793
|
*
|
|
2761
2794
|
* @public
|
|
2762
2795
|
*/
|
|
@@ -2764,11 +2797,11 @@ declare function readMehd(view: IsoBoxReadView): MovieExtendsHeaderBox;
|
|
|
2764
2797
|
//#endregion
|
|
2765
2798
|
//#region src/readers/readMeta.d.ts
|
|
2766
2799
|
/**
|
|
2767
|
-
* Parse a MetaBox from an
|
|
2800
|
+
* Parse a `MetaBox` from an `IsoBoxReadView`.
|
|
2768
2801
|
*
|
|
2769
|
-
* @param view - The
|
|
2802
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2770
2803
|
*
|
|
2771
|
-
* @returns A parsed MetaBox
|
|
2804
|
+
* @returns A parsed `MetaBox`
|
|
2772
2805
|
*
|
|
2773
2806
|
* @public
|
|
2774
2807
|
*/
|
|
@@ -2776,11 +2809,11 @@ declare function readMeta(view: IsoBoxReadView): MetaBox;
|
|
|
2776
2809
|
//#endregion
|
|
2777
2810
|
//#region src/readers/readMfhd.d.ts
|
|
2778
2811
|
/**
|
|
2779
|
-
* Parse a MovieFragmentHeaderBox from an
|
|
2812
|
+
* Parse a `MovieFragmentHeaderBox` from an `IsoBoxReadView`.
|
|
2780
2813
|
*
|
|
2781
|
-
* @param view - The
|
|
2814
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2782
2815
|
*
|
|
2783
|
-
* @returns A parsed MovieFragmentHeaderBox
|
|
2816
|
+
* @returns A parsed `MovieFragmentHeaderBox`
|
|
2784
2817
|
*
|
|
2785
2818
|
* @public
|
|
2786
2819
|
*/
|
|
@@ -2788,11 +2821,11 @@ declare function readMfhd(view: IsoBoxReadView): MovieFragmentHeaderBox;
|
|
|
2788
2821
|
//#endregion
|
|
2789
2822
|
//#region src/readers/readMfro.d.ts
|
|
2790
2823
|
/**
|
|
2791
|
-
* Parse a
|
|
2824
|
+
* Parse a `MovieFragmentRandomAccessOffsetBox` from an `IsoBoxReadView`.
|
|
2792
2825
|
*
|
|
2793
|
-
* @param view - The
|
|
2826
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2794
2827
|
*
|
|
2795
|
-
* @returns A parsed
|
|
2828
|
+
* @returns A parsed `MovieFragmentRandomAccessOffsetBox`
|
|
2796
2829
|
*
|
|
2797
2830
|
* @public
|
|
2798
2831
|
*/
|
|
@@ -2800,11 +2833,11 @@ declare function readMfro(view: IsoBoxReadView): MovieFragmentRandomAccessOffset
|
|
|
2800
2833
|
//#endregion
|
|
2801
2834
|
//#region src/readers/readMp4a.d.ts
|
|
2802
2835
|
/**
|
|
2803
|
-
* Parse an
|
|
2836
|
+
* Parse an `AudioSampleEntryBox` from an `IsoBoxReadView`.
|
|
2804
2837
|
*
|
|
2805
|
-
* @param view - The
|
|
2838
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2806
2839
|
*
|
|
2807
|
-
* @returns A parsed
|
|
2840
|
+
* @returns A parsed `AudioSampleEntryBox`
|
|
2808
2841
|
*
|
|
2809
2842
|
* @public
|
|
2810
2843
|
*/
|
|
@@ -2812,11 +2845,11 @@ declare function readMp4a(view: IsoBoxReadView): AudioSampleEntryBox<"mp4a">;
|
|
|
2812
2845
|
//#endregion
|
|
2813
2846
|
//#region src/readers/readMvhd.d.ts
|
|
2814
2847
|
/**
|
|
2815
|
-
* Parse a
|
|
2848
|
+
* Parse a `MovieHeaderBox` from an `IsoBoxReadView`.
|
|
2816
2849
|
*
|
|
2817
|
-
* @param view - The
|
|
2850
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2818
2851
|
*
|
|
2819
|
-
* @returns A parsed
|
|
2852
|
+
* @returns A parsed `MovieHeaderBox`
|
|
2820
2853
|
*
|
|
2821
2854
|
* @public
|
|
2822
2855
|
*/
|
|
@@ -2824,11 +2857,11 @@ declare function readMvhd(view: IsoBoxReadView): MovieHeaderBox;
|
|
|
2824
2857
|
//#endregion
|
|
2825
2858
|
//#region src/readers/readPayl.d.ts
|
|
2826
2859
|
/**
|
|
2827
|
-
* Parse a
|
|
2860
|
+
* Parse a `WebVttCuePayloadBox` from an `IsoBoxReadView`.
|
|
2828
2861
|
*
|
|
2829
|
-
* @param view - The
|
|
2862
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2830
2863
|
*
|
|
2831
|
-
* @returns A parsed
|
|
2864
|
+
* @returns A parsed `WebVttCuePayloadBox`
|
|
2832
2865
|
*
|
|
2833
2866
|
* @public
|
|
2834
2867
|
*/
|
|
@@ -2836,11 +2869,11 @@ declare function readPayl(view: IsoBoxReadView): WebVttCuePayloadBox;
|
|
|
2836
2869
|
//#endregion
|
|
2837
2870
|
//#region src/readers/readPrft.d.ts
|
|
2838
2871
|
/**
|
|
2839
|
-
* Parse a ProducerReferenceTimeBox from an
|
|
2872
|
+
* Parse a `ProducerReferenceTimeBox` from an `IsoBoxReadView`.
|
|
2840
2873
|
*
|
|
2841
|
-
* @param view - The
|
|
2874
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2842
2875
|
*
|
|
2843
|
-
* @returns A parsed ProducerReferenceTimeBox
|
|
2876
|
+
* @returns A parsed `ProducerReferenceTimeBox`
|
|
2844
2877
|
*
|
|
2845
2878
|
* @public
|
|
2846
2879
|
*/
|
|
@@ -2848,11 +2881,11 @@ declare function readPrft(view: IsoBoxReadView): ProducerReferenceTimeBox;
|
|
|
2848
2881
|
//#endregion
|
|
2849
2882
|
//#region src/readers/readPrsl.d.ts
|
|
2850
2883
|
/**
|
|
2851
|
-
* Parse a PreselectionGroupBox from an
|
|
2884
|
+
* Parse a `PreselectionGroupBox` from an `IsoBoxReadView`.
|
|
2852
2885
|
*
|
|
2853
|
-
* @param view - The
|
|
2886
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2854
2887
|
*
|
|
2855
|
-
* @returns A parsed PreselectionGroupBox
|
|
2888
|
+
* @returns A parsed `PreselectionGroupBox`
|
|
2856
2889
|
*
|
|
2857
2890
|
* @public
|
|
2858
2891
|
*/
|
|
@@ -2860,11 +2893,11 @@ declare function readPrsl(view: IsoBoxReadView): PreselectionGroupBox;
|
|
|
2860
2893
|
//#endregion
|
|
2861
2894
|
//#region src/readers/readPssh.d.ts
|
|
2862
2895
|
/**
|
|
2863
|
-
* Parse a ProtectionSystemSpecificHeaderBox from an
|
|
2896
|
+
* Parse a `ProtectionSystemSpecificHeaderBox` from an `IsoBoxReadView`.
|
|
2864
2897
|
*
|
|
2865
|
-
* @param view - The
|
|
2898
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2866
2899
|
*
|
|
2867
|
-
* @returns A parsed ProtectionSystemSpecificHeaderBox
|
|
2900
|
+
* @returns A parsed `ProtectionSystemSpecificHeaderBox`
|
|
2868
2901
|
*
|
|
2869
2902
|
* @public
|
|
2870
2903
|
*/
|
|
@@ -2872,11 +2905,11 @@ declare function readPssh(view: IsoBoxReadView): ProtectionSystemSpecificHeaderB
|
|
|
2872
2905
|
//#endregion
|
|
2873
2906
|
//#region src/readers/readSchm.d.ts
|
|
2874
2907
|
/**
|
|
2875
|
-
* Parse a SchemeTypeBox from an
|
|
2908
|
+
* Parse a `SchemeTypeBox` from an `IsoBoxReadView`.
|
|
2876
2909
|
*
|
|
2877
|
-
* @param view - The
|
|
2910
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2878
2911
|
*
|
|
2879
|
-
* @returns A parsed SchemeTypeBox
|
|
2912
|
+
* @returns A parsed `SchemeTypeBox`
|
|
2880
2913
|
*
|
|
2881
2914
|
* @public
|
|
2882
2915
|
*/
|
|
@@ -2884,11 +2917,11 @@ declare function readSchm(view: IsoBoxReadView): SchemeTypeBox;
|
|
|
2884
2917
|
//#endregion
|
|
2885
2918
|
//#region src/readers/readSdtp.d.ts
|
|
2886
2919
|
/**
|
|
2887
|
-
* Parse a SampleDependencyTypeBox from an
|
|
2920
|
+
* Parse a `SampleDependencyTypeBox` from an `IsoBoxReadView`.
|
|
2888
2921
|
*
|
|
2889
|
-
* @param view - The
|
|
2922
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2890
2923
|
*
|
|
2891
|
-
* @returns A parsed SampleDependencyTypeBox
|
|
2924
|
+
* @returns A parsed `SampleDependencyTypeBox`
|
|
2892
2925
|
*
|
|
2893
2926
|
* @public
|
|
2894
2927
|
*/
|
|
@@ -2896,11 +2929,11 @@ declare function readSdtp(view: IsoBoxReadView): SampleDependencyTypeBox;
|
|
|
2896
2929
|
//#endregion
|
|
2897
2930
|
//#region src/readers/readSidx.d.ts
|
|
2898
2931
|
/**
|
|
2899
|
-
* Parse a SegmentIndexBox from an
|
|
2932
|
+
* Parse a `SegmentIndexBox` from an `IsoBoxReadView`.
|
|
2900
2933
|
*
|
|
2901
|
-
* @param view - The
|
|
2934
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2902
2935
|
*
|
|
2903
|
-
* @returns A parsed SegmentIndexBox
|
|
2936
|
+
* @returns A parsed `SegmentIndexBox`
|
|
2904
2937
|
*
|
|
2905
2938
|
* @public
|
|
2906
2939
|
*/
|
|
@@ -2908,11 +2941,11 @@ declare function readSidx(view: IsoBoxReadView): SegmentIndexBox;
|
|
|
2908
2941
|
//#endregion
|
|
2909
2942
|
//#region src/readers/readSkip.d.ts
|
|
2910
2943
|
/**
|
|
2911
|
-
* Parse a FreeSpaceBox from an
|
|
2944
|
+
* Parse a `FreeSpaceBox` from an `IsoBoxReadView`.
|
|
2912
2945
|
*
|
|
2913
|
-
* @param view - The
|
|
2946
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2914
2947
|
*
|
|
2915
|
-
* @returns A parsed FreeSpaceBox
|
|
2948
|
+
* @returns A parsed `FreeSpaceBox`
|
|
2916
2949
|
*
|
|
2917
2950
|
* @public
|
|
2918
2951
|
*/
|
|
@@ -2920,11 +2953,11 @@ declare function readSkip(view: IsoBoxReadView): FreeSpaceBox<"skip">;
|
|
|
2920
2953
|
//#endregion
|
|
2921
2954
|
//#region src/readers/readSmhd.d.ts
|
|
2922
2955
|
/**
|
|
2923
|
-
* Parse a SoundMediaHeaderBox from an
|
|
2956
|
+
* Parse a `SoundMediaHeaderBox` from an `IsoBoxReadView`.
|
|
2924
2957
|
*
|
|
2925
|
-
* @param view - The
|
|
2958
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2926
2959
|
*
|
|
2927
|
-
* @returns A parsed SoundMediaHeaderBox
|
|
2960
|
+
* @returns A parsed `SoundMediaHeaderBox`
|
|
2928
2961
|
*
|
|
2929
2962
|
* @public
|
|
2930
2963
|
*/
|
|
@@ -2932,11 +2965,11 @@ declare function readSmhd(view: IsoBoxReadView): SoundMediaHeaderBox;
|
|
|
2932
2965
|
//#endregion
|
|
2933
2966
|
//#region src/readers/readSsix.d.ts
|
|
2934
2967
|
/**
|
|
2935
|
-
* Parse a SubsegmentIndexBox from an
|
|
2968
|
+
* Parse a `SubsegmentIndexBox` from an `IsoBoxReadView`.
|
|
2936
2969
|
*
|
|
2937
|
-
* @param view - The
|
|
2970
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2938
2971
|
*
|
|
2939
|
-
* @returns A parsed SubsegmentIndexBox
|
|
2972
|
+
* @returns A parsed `SubsegmentIndexBox`
|
|
2940
2973
|
*
|
|
2941
2974
|
* @public
|
|
2942
2975
|
*/
|
|
@@ -2944,11 +2977,11 @@ declare function readSsix(view: IsoBoxReadView): SubsegmentIndexBox;
|
|
|
2944
2977
|
//#endregion
|
|
2945
2978
|
//#region src/readers/readSthd.d.ts
|
|
2946
2979
|
/**
|
|
2947
|
-
* Parse a SubtitleMediaHeaderBox from an
|
|
2980
|
+
* Parse a `SubtitleMediaHeaderBox` from an `IsoBoxReadView`.
|
|
2948
2981
|
*
|
|
2949
|
-
* @param view - The
|
|
2982
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2950
2983
|
*
|
|
2951
|
-
* @returns A parsed SubtitleMediaHeaderBox
|
|
2984
|
+
* @returns A parsed `SubtitleMediaHeaderBox`
|
|
2952
2985
|
*
|
|
2953
2986
|
* @public
|
|
2954
2987
|
*/
|
|
@@ -2956,11 +2989,11 @@ declare function readSthd(view: IsoBoxReadView): SubtitleMediaHeaderBox;
|
|
|
2956
2989
|
//#endregion
|
|
2957
2990
|
//#region src/readers/readStsd.d.ts
|
|
2958
2991
|
/**
|
|
2959
|
-
* Parse a SampleDescriptionBox from an
|
|
2992
|
+
* Parse a `SampleDescriptionBox` from an `IsoBoxReadView`.
|
|
2960
2993
|
*
|
|
2961
|
-
* @param view - The
|
|
2994
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2962
2995
|
*
|
|
2963
|
-
* @returns A parsed SampleDescriptionBox
|
|
2996
|
+
* @returns A parsed `SampleDescriptionBox`
|
|
2964
2997
|
*
|
|
2965
2998
|
* @public
|
|
2966
2999
|
*/
|
|
@@ -2968,11 +3001,11 @@ declare function readStsd<E extends SampleEntryBox = AudioSampleEntryBox | Visua
|
|
|
2968
3001
|
//#endregion
|
|
2969
3002
|
//#region src/readers/readStss.d.ts
|
|
2970
3003
|
/**
|
|
2971
|
-
* Parse a SyncSampleBox from an
|
|
3004
|
+
* Parse a `SyncSampleBox` from an `IsoBoxReadView`.
|
|
2972
3005
|
*
|
|
2973
|
-
* @param view - The
|
|
3006
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2974
3007
|
*
|
|
2975
|
-
* @returns A parsed SyncSampleBox
|
|
3008
|
+
* @returns A parsed `SyncSampleBox`
|
|
2976
3009
|
*
|
|
2977
3010
|
* @public
|
|
2978
3011
|
*/
|
|
@@ -2980,11 +3013,11 @@ declare function readStss(view: IsoBoxReadView): SyncSampleBox;
|
|
|
2980
3013
|
//#endregion
|
|
2981
3014
|
//#region src/readers/readSttg.d.ts
|
|
2982
3015
|
/**
|
|
2983
|
-
* Parse a
|
|
3016
|
+
* Parse a `WebVttSettingsBox` from an `IsoBoxReadView`.
|
|
2984
3017
|
*
|
|
2985
|
-
* @param view - The
|
|
3018
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2986
3019
|
*
|
|
2987
|
-
* @returns A parsed
|
|
3020
|
+
* @returns A parsed `WebVttSettingsBox`
|
|
2988
3021
|
*
|
|
2989
3022
|
* @public
|
|
2990
3023
|
*/
|
|
@@ -2992,11 +3025,11 @@ declare function readSttg(view: IsoBoxReadView): WebVttSettingsBox;
|
|
|
2992
3025
|
//#endregion
|
|
2993
3026
|
//#region src/readers/readStts.d.ts
|
|
2994
3027
|
/**
|
|
2995
|
-
* Parse a DecodingTimeToSampleBox from an
|
|
3028
|
+
* Parse a `DecodingTimeToSampleBox` from an `IsoBoxReadView`.
|
|
2996
3029
|
*
|
|
2997
|
-
* @param view - The
|
|
3030
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
2998
3031
|
*
|
|
2999
|
-
* @returns A parsed DecodingTimeToSampleBox
|
|
3032
|
+
* @returns A parsed `DecodingTimeToSampleBox`
|
|
3000
3033
|
*
|
|
3001
3034
|
* @public
|
|
3002
3035
|
*/
|
|
@@ -3004,11 +3037,11 @@ declare function readStts(view: IsoBoxReadView): DecodingTimeToSampleBox;
|
|
|
3004
3037
|
//#endregion
|
|
3005
3038
|
//#region src/readers/readStyp.d.ts
|
|
3006
3039
|
/**
|
|
3007
|
-
* Parse a SegmentTypeBox from an
|
|
3040
|
+
* Parse a `SegmentTypeBox` from an `IsoBoxReadView`.
|
|
3008
3041
|
*
|
|
3009
|
-
* @param view - The
|
|
3042
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3010
3043
|
*
|
|
3011
|
-
* @returns A parsed SegmentTypeBox
|
|
3044
|
+
* @returns A parsed `SegmentTypeBox`
|
|
3012
3045
|
*
|
|
3013
3046
|
* @public
|
|
3014
3047
|
*/
|
|
@@ -3016,11 +3049,11 @@ declare function readStyp(view: IsoBoxReadView): SegmentTypeBox;
|
|
|
3016
3049
|
//#endregion
|
|
3017
3050
|
//#region src/readers/readSubs.d.ts
|
|
3018
3051
|
/**
|
|
3019
|
-
* Parse a
|
|
3052
|
+
* Parse a `SubsampleInformationBox` from an `IsoBoxReadView`.
|
|
3020
3053
|
*
|
|
3021
|
-
* @param view - The
|
|
3054
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3022
3055
|
*
|
|
3023
|
-
* @returns A parsed
|
|
3056
|
+
* @returns A parsed `SubsampleInformationBox`
|
|
3024
3057
|
*
|
|
3025
3058
|
* @public
|
|
3026
3059
|
*/
|
|
@@ -3028,11 +3061,11 @@ declare function readSubs(view: IsoBoxReadView): SubsampleInformationBox;
|
|
|
3028
3061
|
//#endregion
|
|
3029
3062
|
//#region src/readers/readTenc.d.ts
|
|
3030
3063
|
/**
|
|
3031
|
-
* Parse a TrackEncryptionBox from an
|
|
3064
|
+
* Parse a `TrackEncryptionBox` from an `IsoBoxReadView`.
|
|
3032
3065
|
*
|
|
3033
|
-
* @param view - The
|
|
3066
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3034
3067
|
*
|
|
3035
|
-
* @returns A parsed TrackEncryptionBox
|
|
3068
|
+
* @returns A parsed `TrackEncryptionBox`
|
|
3036
3069
|
*
|
|
3037
3070
|
* @public
|
|
3038
3071
|
*/
|
|
@@ -3040,11 +3073,11 @@ declare function readTenc(view: IsoBoxReadView): TrackEncryptionBox;
|
|
|
3040
3073
|
//#endregion
|
|
3041
3074
|
//#region src/readers/readTfdt.d.ts
|
|
3042
3075
|
/**
|
|
3043
|
-
* Parse a
|
|
3076
|
+
* Parse a `TrackFragmentBaseMediaDecodeTimeBox` from an `IsoBoxReadView`.
|
|
3044
3077
|
*
|
|
3045
|
-
* @param view - The
|
|
3078
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3046
3079
|
*
|
|
3047
|
-
* @returns A parsed
|
|
3080
|
+
* @returns A parsed `TrackFragmentBaseMediaDecodeTimeBox`
|
|
3048
3081
|
*
|
|
3049
3082
|
* @public
|
|
3050
3083
|
*/
|
|
@@ -3052,11 +3085,11 @@ declare function readTfdt(view: IsoBoxReadView): TrackFragmentBaseMediaDecodeTim
|
|
|
3052
3085
|
//#endregion
|
|
3053
3086
|
//#region src/readers/readTfhd.d.ts
|
|
3054
3087
|
/**
|
|
3055
|
-
* Parse a TrackFragmentHeaderBox from an
|
|
3088
|
+
* Parse a `TrackFragmentHeaderBox` from an `IsoBoxReadView`.
|
|
3056
3089
|
*
|
|
3057
|
-
* @param view - The
|
|
3090
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3058
3091
|
*
|
|
3059
|
-
* @returns A parsed TrackFragmentHeaderBox
|
|
3092
|
+
* @returns A parsed `TrackFragmentHeaderBox`
|
|
3060
3093
|
*
|
|
3061
3094
|
* @public
|
|
3062
3095
|
*/
|
|
@@ -3064,11 +3097,11 @@ declare function readTfhd(view: IsoBoxReadView): TrackFragmentHeaderBox;
|
|
|
3064
3097
|
//#endregion
|
|
3065
3098
|
//#region src/readers/readTfra.d.ts
|
|
3066
3099
|
/**
|
|
3067
|
-
* Parse a TrackFragmentRandomAccessBox from an
|
|
3100
|
+
* Parse a `TrackFragmentRandomAccessBox` from an `IsoBoxReadView`.
|
|
3068
3101
|
*
|
|
3069
|
-
* @param view - The
|
|
3102
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3070
3103
|
*
|
|
3071
|
-
* @returns A parsed TrackFragmentRandomAccessBox
|
|
3104
|
+
* @returns A parsed `TrackFragmentRandomAccessBox`
|
|
3072
3105
|
*
|
|
3073
3106
|
* @public
|
|
3074
3107
|
*/
|
|
@@ -3076,11 +3109,11 @@ declare function readTfra(view: IsoBoxReadView): TrackFragmentRandomAccessBox;
|
|
|
3076
3109
|
//#endregion
|
|
3077
3110
|
//#region src/readers/readTkhd.d.ts
|
|
3078
3111
|
/**
|
|
3079
|
-
* Parse a TrackHeaderBox from an
|
|
3112
|
+
* Parse a `TrackHeaderBox` from an `IsoBoxReadView`.
|
|
3080
3113
|
*
|
|
3081
|
-
* @param view - The
|
|
3114
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3082
3115
|
*
|
|
3083
|
-
* @returns A parsed TrackHeaderBox
|
|
3116
|
+
* @returns A parsed `TrackHeaderBox`
|
|
3084
3117
|
*
|
|
3085
3118
|
* @public
|
|
3086
3119
|
*/
|
|
@@ -3088,11 +3121,11 @@ declare function readTkhd(view: IsoBoxReadView): TrackHeaderBox;
|
|
|
3088
3121
|
//#endregion
|
|
3089
3122
|
//#region src/readers/readTrex.d.ts
|
|
3090
3123
|
/**
|
|
3091
|
-
* Parse a TrackExtendsBox from an
|
|
3124
|
+
* Parse a `TrackExtendsBox` from an `IsoBoxReadView`.
|
|
3092
3125
|
*
|
|
3093
|
-
* @param view - The
|
|
3126
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3094
3127
|
*
|
|
3095
|
-
* @returns A parsed TrackExtendsBox
|
|
3128
|
+
* @returns A parsed `TrackExtendsBox`
|
|
3096
3129
|
*
|
|
3097
3130
|
* @public
|
|
3098
3131
|
*/
|
|
@@ -3100,11 +3133,11 @@ declare function readTrex(view: IsoBoxReadView): TrackExtendsBox;
|
|
|
3100
3133
|
//#endregion
|
|
3101
3134
|
//#region src/readers/readTrun.d.ts
|
|
3102
3135
|
/**
|
|
3103
|
-
* Parse a TrackRunBox from an
|
|
3136
|
+
* Parse a `TrackRunBox` from an `IsoBoxReadView`.
|
|
3104
3137
|
*
|
|
3105
|
-
* @param view - The
|
|
3138
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3106
3139
|
*
|
|
3107
|
-
* @returns A parsed TrackRunBox
|
|
3140
|
+
* @returns A parsed `TrackRunBox`
|
|
3108
3141
|
*
|
|
3109
3142
|
* @public
|
|
3110
3143
|
*/
|
|
@@ -3112,11 +3145,11 @@ declare function readTrun(view: IsoBoxReadView): TrackRunBox;
|
|
|
3112
3145
|
//#endregion
|
|
3113
3146
|
//#region src/readers/readUrl.d.ts
|
|
3114
3147
|
/**
|
|
3115
|
-
* Parse a
|
|
3148
|
+
* Parse a `DataEntryUrlBox` from an `IsoBoxReadView`.
|
|
3116
3149
|
*
|
|
3117
|
-
* @param view - The
|
|
3150
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3118
3151
|
*
|
|
3119
|
-
* @returns A parsed
|
|
3152
|
+
* @returns A parsed `DataEntryUrlBox`
|
|
3120
3153
|
*
|
|
3121
3154
|
* @public
|
|
3122
3155
|
*/
|
|
@@ -3124,11 +3157,11 @@ declare function readUrl(view: IsoBoxReadView): DataEntryUrlBox;
|
|
|
3124
3157
|
//#endregion
|
|
3125
3158
|
//#region src/readers/readUrn.d.ts
|
|
3126
3159
|
/**
|
|
3127
|
-
* Parse a
|
|
3160
|
+
* Parse a `DataEntryUrnBox` from an `IsoBoxReadView`.
|
|
3128
3161
|
*
|
|
3129
|
-
* @param view - The
|
|
3162
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3130
3163
|
*
|
|
3131
|
-
* @returns A parsed
|
|
3164
|
+
* @returns A parsed `DataEntryUrnBox`
|
|
3132
3165
|
*
|
|
3133
3166
|
* @public
|
|
3134
3167
|
*/
|
|
@@ -3136,12 +3169,12 @@ declare function readUrn(view: IsoBoxReadView): DataEntryUrnBox;
|
|
|
3136
3169
|
//#endregion
|
|
3137
3170
|
//#region src/readers/readVisualSampleEntryBox.d.ts
|
|
3138
3171
|
/**
|
|
3139
|
-
* Parse a VisualSampleEntryBox from an
|
|
3172
|
+
* Parse a `VisualSampleEntryBox` from an `IsoBoxReadView`.
|
|
3140
3173
|
*
|
|
3141
|
-
* @param type - The type of VisualSampleEntryBox to read
|
|
3142
|
-
* @param view - The
|
|
3174
|
+
* @param type - The type of `VisualSampleEntryBox` to read
|
|
3175
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3143
3176
|
*
|
|
3144
|
-
* @returns A parsed VisualSampleEntryBox
|
|
3177
|
+
* @returns A parsed `VisualSampleEntryBox`
|
|
3145
3178
|
*
|
|
3146
3179
|
* @public
|
|
3147
3180
|
*/
|
|
@@ -3149,11 +3182,11 @@ declare function readVisualSampleEntryBox<T$1 extends IsoBoxType>(type: T$1, vie
|
|
|
3149
3182
|
//#endregion
|
|
3150
3183
|
//#region src/readers/readVlab.d.ts
|
|
3151
3184
|
/**
|
|
3152
|
-
* Parse a
|
|
3185
|
+
* Parse a `WebVttSourceLabelBox` from an `IsoBoxReadView`.
|
|
3153
3186
|
*
|
|
3154
|
-
* @param view - The
|
|
3187
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3155
3188
|
*
|
|
3156
|
-
* @returns A parsed
|
|
3189
|
+
* @returns A parsed `WebVttSourceLabelBox`
|
|
3157
3190
|
*
|
|
3158
3191
|
* @public
|
|
3159
3192
|
*/
|
|
@@ -3161,11 +3194,11 @@ declare function readVlab(view: IsoBoxReadView): WebVttSourceLabelBox;
|
|
|
3161
3194
|
//#endregion
|
|
3162
3195
|
//#region src/readers/readVmhd.d.ts
|
|
3163
3196
|
/**
|
|
3164
|
-
* Parse a VideoMediaHeaderBox from an
|
|
3197
|
+
* Parse a `VideoMediaHeaderBox` from an `IsoBoxReadView`.
|
|
3165
3198
|
*
|
|
3166
|
-
* @param view - The
|
|
3199
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3167
3200
|
*
|
|
3168
|
-
* @returns A parsed VideoMediaHeaderBox
|
|
3201
|
+
* @returns A parsed `VideoMediaHeaderBox`
|
|
3169
3202
|
*
|
|
3170
3203
|
* @public
|
|
3171
3204
|
*/
|
|
@@ -3173,11 +3206,11 @@ declare function readVmhd(view: IsoBoxReadView): VideoMediaHeaderBox;
|
|
|
3173
3206
|
//#endregion
|
|
3174
3207
|
//#region src/readers/readVttC.d.ts
|
|
3175
3208
|
/**
|
|
3176
|
-
* Parse a
|
|
3209
|
+
* Parse a `WebVttConfigurationBox` from an `IsoBoxReadView`.
|
|
3177
3210
|
*
|
|
3178
|
-
* @param view - The
|
|
3211
|
+
* @param view - The `IsoBoxReadView` to read data from
|
|
3179
3212
|
*
|
|
3180
|
-
* @returns A parsed WebVttConfigurationBox
|
|
3213
|
+
* @returns A parsed `WebVttConfigurationBox`
|
|
3181
3214
|
*
|
|
3182
3215
|
* @public
|
|
3183
3216
|
*/
|
|
@@ -3185,9 +3218,9 @@ declare function readVttC(view: IsoBoxReadView): WebVttConfigurationBox;
|
|
|
3185
3218
|
//#endregion
|
|
3186
3219
|
//#region src/readers/readVtte.d.ts
|
|
3187
3220
|
/**
|
|
3188
|
-
* Parse a
|
|
3221
|
+
* Parse a `WebVttEmptySampleBox` from an `IsoBoxReadView`.
|
|
3189
3222
|
*
|
|
3190
|
-
* @returns A parsed
|
|
3223
|
+
* @returns A parsed `WebVttEmptySampleBox`
|
|
3191
3224
|
*
|
|
3192
3225
|
* @public
|
|
3193
3226
|
*/
|
|
@@ -3227,11 +3260,11 @@ declare function isFullBox(box: any): box is FullBox;
|
|
|
3227
3260
|
//#endregion
|
|
3228
3261
|
//#region src/writers/writeArdi.d.ts
|
|
3229
3262
|
/**
|
|
3230
|
-
* Write an AudioRenderingIndicationBox to an
|
|
3263
|
+
* Write an `AudioRenderingIndicationBox` to an `IsoBoxWriteView`.
|
|
3231
3264
|
*
|
|
3232
|
-
* @param box - The AudioRenderingIndicationBox fields to write
|
|
3265
|
+
* @param box - The `AudioRenderingIndicationBox` fields to write
|
|
3233
3266
|
*
|
|
3234
|
-
* @returns An
|
|
3267
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3235
3268
|
*
|
|
3236
3269
|
* @public
|
|
3237
3270
|
*/
|
|
@@ -3239,14 +3272,14 @@ declare function writeArdi(box: AudioRenderingIndicationBox): IsoBoxWriteView;
|
|
|
3239
3272
|
//#endregion
|
|
3240
3273
|
//#region src/writers/writeAudioSampleEntryBox.d.ts
|
|
3241
3274
|
/**
|
|
3242
|
-
* Write an AudioSampleEntryBox to an
|
|
3275
|
+
* Write an `AudioSampleEntryBox` to an `IsoBoxWriteView`.
|
|
3243
3276
|
*
|
|
3244
3277
|
* ISO/IEC 14496-12:2012 - 12.2.3 Audio Sample Entry
|
|
3245
3278
|
*
|
|
3246
|
-
* @param box - The AudioSampleEntryBox fields to write
|
|
3247
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3279
|
+
* @param box - The `AudioSampleEntryBox` fields to write
|
|
3280
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3248
3281
|
*
|
|
3249
|
-
* @returns An
|
|
3282
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3250
3283
|
*
|
|
3251
3284
|
* @public
|
|
3252
3285
|
*/
|
|
@@ -3254,14 +3287,14 @@ declare function writeAudioSampleEntryBox<T$1 extends AudioSampleEntryType = Aud
|
|
|
3254
3287
|
//#endregion
|
|
3255
3288
|
//#region src/writers/writeAvc1.d.ts
|
|
3256
3289
|
/**
|
|
3257
|
-
* Write a VisualSampleEntryBox to an
|
|
3290
|
+
* Write a `VisualSampleEntryBox` to an `IsoBoxWriteView`.
|
|
3258
3291
|
*
|
|
3259
3292
|
* ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry
|
|
3260
3293
|
*
|
|
3261
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3262
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3294
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3295
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3263
3296
|
*
|
|
3264
|
-
* @returns An
|
|
3297
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3265
3298
|
*
|
|
3266
3299
|
* @public
|
|
3267
3300
|
*/
|
|
@@ -3269,12 +3302,12 @@ declare function writeAvc1(box: VisualSampleEntryBox<"avc1">, config: IsoBoxWrit
|
|
|
3269
3302
|
//#endregion
|
|
3270
3303
|
//#region src/writers/writeAvc2.d.ts
|
|
3271
3304
|
/**
|
|
3272
|
-
* Write a VisualSampleEntryBox (avc2) to an
|
|
3305
|
+
* Write a `VisualSampleEntryBox` (avc2) to an `IsoBoxWriteView`.
|
|
3273
3306
|
*
|
|
3274
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3275
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3307
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3308
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3276
3309
|
*
|
|
3277
|
-
* @returns An
|
|
3310
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3278
3311
|
*
|
|
3279
3312
|
* @public
|
|
3280
3313
|
*/
|
|
@@ -3282,12 +3315,12 @@ declare function writeAvc2(box: VisualSampleEntryBox<"avc2">, config: IsoBoxWrit
|
|
|
3282
3315
|
//#endregion
|
|
3283
3316
|
//#region src/writers/writeAvc3.d.ts
|
|
3284
3317
|
/**
|
|
3285
|
-
* Write a VisualSampleEntryBox (avc3) to an
|
|
3318
|
+
* Write a `VisualSampleEntryBox` (avc3) to an `IsoBoxWriteView`.
|
|
3286
3319
|
*
|
|
3287
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3320
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3288
3321
|
* @param config - The IsoBoxWriteViewConfig to use
|
|
3289
3322
|
*
|
|
3290
|
-
* @returns An
|
|
3323
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3291
3324
|
*
|
|
3292
3325
|
* @public
|
|
3293
3326
|
*/
|
|
@@ -3295,12 +3328,12 @@ declare function writeAvc3(box: VisualSampleEntryBox<"avc3">, config: IsoBoxWrit
|
|
|
3295
3328
|
//#endregion
|
|
3296
3329
|
//#region src/writers/writeAvc4.d.ts
|
|
3297
3330
|
/**
|
|
3298
|
-
* Write a VisualSampleEntryBox (avc4) to an
|
|
3331
|
+
* Write a `VisualSampleEntryBox` (avc4) to an `IsoBoxWriteView`.
|
|
3299
3332
|
*
|
|
3300
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3301
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3333
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3334
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3302
3335
|
*
|
|
3303
|
-
* @returns An
|
|
3336
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3304
3337
|
*
|
|
3305
3338
|
* @public
|
|
3306
3339
|
*/
|
|
@@ -3308,13 +3341,13 @@ declare function writeAvc4(box: VisualSampleEntryBox<"avc4">, config: IsoBoxWrit
|
|
|
3308
3341
|
//#endregion
|
|
3309
3342
|
//#region src/writers/writeCtts.d.ts
|
|
3310
3343
|
/**
|
|
3311
|
-
* Write a CompositionTimeToSampleBox to an
|
|
3344
|
+
* Write a `CompositionTimeToSampleBox` to an `IsoBoxWriteView`.
|
|
3312
3345
|
*
|
|
3313
3346
|
* ISO/IEC 14496-12:2012 - 8.6.1.3 Composition Time to Sample Box
|
|
3314
3347
|
*
|
|
3315
|
-
* @param box - The CompositionTimeToSampleBox fields to write
|
|
3348
|
+
* @param box - The `CompositionTimeToSampleBox` fields to write
|
|
3316
3349
|
*
|
|
3317
|
-
* @returns An
|
|
3350
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3318
3351
|
*
|
|
3319
3352
|
* @public
|
|
3320
3353
|
*/
|
|
@@ -3322,12 +3355,12 @@ declare function writeCtts(box: CompositionTimeToSampleBox): IsoBoxWriteView;
|
|
|
3322
3355
|
//#endregion
|
|
3323
3356
|
//#region src/writers/writeDref.d.ts
|
|
3324
3357
|
/**
|
|
3325
|
-
* Write a DataReferenceBox to an
|
|
3358
|
+
* Write a `DataReferenceBox` to an `IsoBoxWriteView`.
|
|
3326
3359
|
*
|
|
3327
|
-
* @param box - The DataReferenceBox fields to write
|
|
3360
|
+
* @param box - The `DataReferenceBox` fields to write
|
|
3328
3361
|
* @param config - The IsoBoxWriteViewConfig to use
|
|
3329
3362
|
*
|
|
3330
|
-
* @returns An
|
|
3363
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3331
3364
|
*
|
|
3332
3365
|
* @public
|
|
3333
3366
|
*/
|
|
@@ -3335,13 +3368,13 @@ declare function writeDref(box: DataReferenceBox, config: IsoBoxWriteViewConfig)
|
|
|
3335
3368
|
//#endregion
|
|
3336
3369
|
//#region src/writers/writeElng.d.ts
|
|
3337
3370
|
/**
|
|
3338
|
-
* Write an ExtendedLanguageBox to an
|
|
3371
|
+
* Write an `ExtendedLanguageBox` to an `IsoBoxWriteView`.
|
|
3339
3372
|
*
|
|
3340
3373
|
* ISO/IEC 14496-12:2012 - 8.4.6 Extended Language Tag
|
|
3341
3374
|
*
|
|
3342
|
-
* @param box - The ExtendedLanguageBox fields to write
|
|
3375
|
+
* @param box - The `ExtendedLanguageBox` fields to write
|
|
3343
3376
|
*
|
|
3344
|
-
* @returns An
|
|
3377
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3345
3378
|
*
|
|
3346
3379
|
* @public
|
|
3347
3380
|
*/
|
|
@@ -3349,13 +3382,13 @@ declare function writeElng(box: ExtendedLanguageBox): IsoBoxWriteView;
|
|
|
3349
3382
|
//#endregion
|
|
3350
3383
|
//#region src/writers/writeElst.d.ts
|
|
3351
3384
|
/**
|
|
3352
|
-
* Write an EditListBox to an
|
|
3385
|
+
* Write an `EditListBox` to an `IsoBoxWriteView`.
|
|
3353
3386
|
*
|
|
3354
3387
|
* ISO/IEC 14496-12:2012 - 8.6.6 Edit List Box
|
|
3355
3388
|
*
|
|
3356
|
-
* @param box - The EditListBox fields to write
|
|
3389
|
+
* @param box - The `EditListBox` fields to write
|
|
3357
3390
|
*
|
|
3358
|
-
* @returns An
|
|
3391
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3359
3392
|
*
|
|
3360
3393
|
* @public
|
|
3361
3394
|
*/
|
|
@@ -3363,13 +3396,13 @@ declare function writeElst(box: EditListBox): IsoBoxWriteView;
|
|
|
3363
3396
|
//#endregion
|
|
3364
3397
|
//#region src/writers/writeEmsg.d.ts
|
|
3365
3398
|
/**
|
|
3366
|
-
* Write an EventMessageBox to an
|
|
3399
|
+
* Write an `EventMessageBox` to an `IsoBoxWriteView`.
|
|
3367
3400
|
*
|
|
3368
3401
|
* ISO/IEC 23009-1 - 5.10.3.3 Event Message Box
|
|
3369
3402
|
*
|
|
3370
|
-
* @param box - The EventMessageBox fields to write
|
|
3403
|
+
* @param box - The `EventMessageBox` fields to write
|
|
3371
3404
|
*
|
|
3372
|
-
* @returns An
|
|
3405
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3373
3406
|
*
|
|
3374
3407
|
* @public
|
|
3375
3408
|
*/
|
|
@@ -3377,12 +3410,12 @@ declare function writeEmsg(box: EventMessageBox): IsoBoxWriteView;
|
|
|
3377
3410
|
//#endregion
|
|
3378
3411
|
//#region src/writers/writeEnca.d.ts
|
|
3379
3412
|
/**
|
|
3380
|
-
* Write an AudioSampleEntryBox (enca) to an
|
|
3413
|
+
* Write an `AudioSampleEntryBox` (enca) to an `IsoBoxWriteView`.
|
|
3381
3414
|
*
|
|
3382
|
-
* @param box - The AudioSampleEntryBox fields to write
|
|
3383
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3415
|
+
* @param box - The `AudioSampleEntryBox` fields to write
|
|
3416
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3384
3417
|
*
|
|
3385
|
-
* @returns An
|
|
3418
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3386
3419
|
*
|
|
3387
3420
|
* @public
|
|
3388
3421
|
*/
|
|
@@ -3390,12 +3423,12 @@ declare function writeEnca(box: AudioSampleEntryBox<"enca">, config: IsoBoxWrite
|
|
|
3390
3423
|
//#endregion
|
|
3391
3424
|
//#region src/writers/writeEncv.d.ts
|
|
3392
3425
|
/**
|
|
3393
|
-
* Write a VisualSampleEntryBox (encv) to an
|
|
3426
|
+
* Write a `VisualSampleEntryBox` (encv) to an `IsoBoxWriteView`.
|
|
3394
3427
|
*
|
|
3395
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3396
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3428
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3429
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3397
3430
|
*
|
|
3398
|
-
* @returns An
|
|
3431
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3399
3432
|
*
|
|
3400
3433
|
* @public
|
|
3401
3434
|
*/
|
|
@@ -3403,13 +3436,13 @@ declare function writeEncv(box: VisualSampleEntryBox<"encv">, config: IsoBoxWrit
|
|
|
3403
3436
|
//#endregion
|
|
3404
3437
|
//#region src/writers/writeFree.d.ts
|
|
3405
3438
|
/**
|
|
3406
|
-
* Write a FreeSpaceBox to an
|
|
3439
|
+
* Write a `FreeSpaceBox` to an `IsoBoxWriteView`.
|
|
3407
3440
|
*
|
|
3408
3441
|
* ISO/IEC 14496-12:2012 - 8.1.2 Free Space Box
|
|
3409
3442
|
*
|
|
3410
|
-
* @param box - The FreeSpaceBox fields to write
|
|
3443
|
+
* @param box - The `FreeSpaceBox` fields to write
|
|
3411
3444
|
*
|
|
3412
|
-
* @returns An
|
|
3445
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3413
3446
|
*
|
|
3414
3447
|
* @public
|
|
3415
3448
|
*/
|
|
@@ -3417,13 +3450,13 @@ declare function writeFree(box: FreeSpaceBox<"free">): IsoBoxWriteView;
|
|
|
3417
3450
|
//#endregion
|
|
3418
3451
|
//#region src/writers/writeFrma.d.ts
|
|
3419
3452
|
/**
|
|
3420
|
-
* Write an OriginalFormatBox to an
|
|
3453
|
+
* Write an `OriginalFormatBox` to an `IsoBoxWriteView`.
|
|
3421
3454
|
*
|
|
3422
3455
|
* ISO/IEC 14496-12:2012 - 8.12.2 Original Format Box
|
|
3423
3456
|
*
|
|
3424
|
-
* @param box - The OriginalFormatBox fields to write
|
|
3457
|
+
* @param box - The `OriginalFormatBox` fields to write
|
|
3425
3458
|
*
|
|
3426
|
-
* @returns An
|
|
3459
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3427
3460
|
*
|
|
3428
3461
|
* @public
|
|
3429
3462
|
*/
|
|
@@ -3431,13 +3464,13 @@ declare function writeFrma(box: OriginalFormatBox): IsoBoxWriteView;
|
|
|
3431
3464
|
//#endregion
|
|
3432
3465
|
//#region src/writers/writeFtyp.d.ts
|
|
3433
3466
|
/**
|
|
3434
|
-
* Write a FileTypeBox to an
|
|
3467
|
+
* Write a `FileTypeBox` to an `IsoBoxWriteView`.
|
|
3435
3468
|
*
|
|
3436
3469
|
* ISO/IEC 14496-12:2012 - 4.3 File Type Box
|
|
3437
3470
|
*
|
|
3438
|
-
* @param box - The FileTypeBox fields to write
|
|
3471
|
+
* @param box - The `FileTypeBox` fields to write
|
|
3439
3472
|
*
|
|
3440
|
-
* @returns An
|
|
3473
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3441
3474
|
*
|
|
3442
3475
|
* @public
|
|
3443
3476
|
*/
|
|
@@ -3445,13 +3478,13 @@ declare function writeFtyp(box: FileTypeBox): IsoBoxWriteView;
|
|
|
3445
3478
|
//#endregion
|
|
3446
3479
|
//#region src/writers/writeHdlr.d.ts
|
|
3447
3480
|
/**
|
|
3448
|
-
* Write a HandlerReferenceBox to an
|
|
3481
|
+
* Write a `HandlerReferenceBox` to an `IsoBoxWriteView`.
|
|
3449
3482
|
*
|
|
3450
3483
|
* ISO/IEC 14496-12:2012 - 8.4.3 Handler Reference Box
|
|
3451
3484
|
*
|
|
3452
|
-
* @param box - The HandlerReferenceBox fields to write
|
|
3485
|
+
* @param box - The `HandlerReferenceBox` fields to write
|
|
3453
3486
|
*
|
|
3454
|
-
* @returns An
|
|
3487
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3455
3488
|
*
|
|
3456
3489
|
* @public
|
|
3457
3490
|
*/
|
|
@@ -3459,12 +3492,12 @@ declare function writeHdlr(box: HandlerReferenceBox): IsoBoxWriteView;
|
|
|
3459
3492
|
//#endregion
|
|
3460
3493
|
//#region src/writers/writeHev1.d.ts
|
|
3461
3494
|
/**
|
|
3462
|
-
* Write a VisualSampleEntryBox (hev1) to an
|
|
3495
|
+
* Write a `VisualSampleEntryBox` (hev1) to an `IsoBoxWriteView`.
|
|
3463
3496
|
*
|
|
3464
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3465
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3497
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3498
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3466
3499
|
*
|
|
3467
|
-
* @returns An
|
|
3500
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3468
3501
|
*
|
|
3469
3502
|
* @public
|
|
3470
3503
|
*/
|
|
@@ -3472,12 +3505,12 @@ declare function writeHev1(box: VisualSampleEntryBox<"hev1">, config: IsoBoxWrit
|
|
|
3472
3505
|
//#endregion
|
|
3473
3506
|
//#region src/writers/writeHvc1.d.ts
|
|
3474
3507
|
/**
|
|
3475
|
-
* Write a VisualSampleEntryBox (hvc1) to an
|
|
3508
|
+
* Write a `VisualSampleEntryBox` (hvc1) to an `IsoBoxWriteView`.
|
|
3476
3509
|
*
|
|
3477
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
3478
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3510
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
3511
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3479
3512
|
*
|
|
3480
|
-
* @returns An
|
|
3513
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3481
3514
|
*
|
|
3482
3515
|
* @public
|
|
3483
3516
|
*/
|
|
@@ -3485,11 +3518,11 @@ declare function writeHvc1(box: VisualSampleEntryBox<"hvc1">, config: IsoBoxWrit
|
|
|
3485
3518
|
//#endregion
|
|
3486
3519
|
//#region src/writers/writeIden.d.ts
|
|
3487
3520
|
/**
|
|
3488
|
-
* Write a WebVttCueIdBox to an
|
|
3521
|
+
* Write a `WebVttCueIdBox` to an `IsoBoxWriteView`.
|
|
3489
3522
|
*
|
|
3490
|
-
* @param box - The WebVttCueIdBox fields to write
|
|
3523
|
+
* @param box - The `WebVttCueIdBox` fields to write
|
|
3491
3524
|
*
|
|
3492
|
-
* @returns An
|
|
3525
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3493
3526
|
*
|
|
3494
3527
|
* @public
|
|
3495
3528
|
*/
|
|
@@ -3497,11 +3530,11 @@ declare function writeIden(box: WebVttCueIdBox): IsoBoxWriteView;
|
|
|
3497
3530
|
//#endregion
|
|
3498
3531
|
//#region src/writers/writeImda.d.ts
|
|
3499
3532
|
/**
|
|
3500
|
-
* Write an IdentifiedMediaDataBox to an
|
|
3533
|
+
* Write an `IdentifiedMediaDataBox` to an `IsoBoxWriteView`.
|
|
3501
3534
|
*
|
|
3502
|
-
* @param box - The IdentifiedMediaDataBox fields to write
|
|
3535
|
+
* @param box - The `IdentifiedMediaDataBox` fields to write
|
|
3503
3536
|
*
|
|
3504
|
-
* @returns An
|
|
3537
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3505
3538
|
*
|
|
3506
3539
|
* @public
|
|
3507
3540
|
*/
|
|
@@ -3509,11 +3542,11 @@ declare function writeImda(box: IdentifiedMediaDataBox): IsoBoxWriteView;
|
|
|
3509
3542
|
//#endregion
|
|
3510
3543
|
//#region src/writers/writeKind.d.ts
|
|
3511
3544
|
/**
|
|
3512
|
-
* Write a TrackKindBox to an
|
|
3545
|
+
* Write a `TrackKindBox` to an `IsoBoxWriteView`.
|
|
3513
3546
|
*
|
|
3514
|
-
* @param box - The TrackKindBox fields to write
|
|
3547
|
+
* @param box - The `TrackKindBox` fields to write
|
|
3515
3548
|
*
|
|
3516
|
-
* @returns An
|
|
3549
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3517
3550
|
*
|
|
3518
3551
|
* @public
|
|
3519
3552
|
*/
|
|
@@ -3521,11 +3554,11 @@ declare function writeKind(box: TrackKindBox): IsoBoxWriteView;
|
|
|
3521
3554
|
//#endregion
|
|
3522
3555
|
//#region src/writers/writeLabl.d.ts
|
|
3523
3556
|
/**
|
|
3524
|
-
* Write a LabelBox to an
|
|
3557
|
+
* Write a `LabelBox` to an `IsoBoxWriteView`.
|
|
3525
3558
|
*
|
|
3526
|
-
* @param box - The LabelBox fields to write
|
|
3559
|
+
* @param box - The `LabelBox` fields to write
|
|
3527
3560
|
*
|
|
3528
|
-
* @returns An
|
|
3561
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3529
3562
|
*
|
|
3530
3563
|
* @public
|
|
3531
3564
|
*/
|
|
@@ -3533,13 +3566,13 @@ declare function writeLabl(box: LabelBox): IsoBoxWriteView;
|
|
|
3533
3566
|
//#endregion
|
|
3534
3567
|
//#region src/writers/writeMdat.d.ts
|
|
3535
3568
|
/**
|
|
3536
|
-
* Write a MediaDataBox to an
|
|
3569
|
+
* Write a `MediaDataBox` to an `IsoBoxWriteView`.
|
|
3537
3570
|
*
|
|
3538
3571
|
* ISO/IEC 14496-12:2012 - 8.1.1 Media Data Box
|
|
3539
3572
|
*
|
|
3540
|
-
* @param box - The MediaDataBox fields to write
|
|
3573
|
+
* @param box - The `MediaDataBox` fields to write
|
|
3541
3574
|
*
|
|
3542
|
-
* @returns An
|
|
3575
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3543
3576
|
*
|
|
3544
3577
|
* @public
|
|
3545
3578
|
*/
|
|
@@ -3547,13 +3580,13 @@ declare function writeMdat(box: MediaDataBox): IsoBoxWriteView;
|
|
|
3547
3580
|
//#endregion
|
|
3548
3581
|
//#region src/writers/writeMdhd.d.ts
|
|
3549
3582
|
/**
|
|
3550
|
-
* Write a MediaHeaderBox to an
|
|
3583
|
+
* Write a `MediaHeaderBox` to an `IsoBoxWriteView`.
|
|
3551
3584
|
*
|
|
3552
3585
|
* ISO/IEC 14496-12:2012 - 8.4.2 Media Header Box
|
|
3553
3586
|
*
|
|
3554
|
-
* @param box - The MediaHeaderBox fields to write
|
|
3587
|
+
* @param box - The `MediaHeaderBox` fields to write
|
|
3555
3588
|
*
|
|
3556
|
-
* @returns An
|
|
3589
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3557
3590
|
*
|
|
3558
3591
|
* @public
|
|
3559
3592
|
*/
|
|
@@ -3561,13 +3594,13 @@ declare function writeMdhd(box: MediaHeaderBox): IsoBoxWriteView;
|
|
|
3561
3594
|
//#endregion
|
|
3562
3595
|
//#region src/writers/writeMehd.d.ts
|
|
3563
3596
|
/**
|
|
3564
|
-
* Write a MovieExtendsHeaderBox to an
|
|
3597
|
+
* Write a `MovieExtendsHeaderBox` to an `IsoBoxWriteView`.
|
|
3565
3598
|
*
|
|
3566
3599
|
* ISO/IEC 14496-12:2012 - 8.8.2 Movie Extends Header Box
|
|
3567
3600
|
*
|
|
3568
|
-
* @param box - The MovieExtendsHeaderBox fields to write
|
|
3601
|
+
* @param box - The `MovieExtendsHeaderBox` fields to write
|
|
3569
3602
|
*
|
|
3570
|
-
* @returns An
|
|
3603
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3571
3604
|
*
|
|
3572
3605
|
* @public
|
|
3573
3606
|
*/
|
|
@@ -3575,14 +3608,14 @@ declare function writeMehd(box: MovieExtendsHeaderBox): IsoBoxWriteView;
|
|
|
3575
3608
|
//#endregion
|
|
3576
3609
|
//#region src/writers/writeMeta.d.ts
|
|
3577
3610
|
/**
|
|
3578
|
-
* Write a MetaBox to an
|
|
3611
|
+
* Write a `MetaBox` to an `IsoBoxWriteView`.
|
|
3579
3612
|
*
|
|
3580
3613
|
* ISO/IEC 14496-12:2012 - 8.11.1 Meta Box
|
|
3581
3614
|
*
|
|
3582
|
-
* @param box - The MetaBox fields to write
|
|
3583
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3615
|
+
* @param box - The `MetaBox` fields to write
|
|
3616
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3584
3617
|
*
|
|
3585
|
-
* @returns An
|
|
3618
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3586
3619
|
*
|
|
3587
3620
|
* @public
|
|
3588
3621
|
*/
|
|
@@ -3590,13 +3623,13 @@ declare function writeMeta(box: MetaBox, config: IsoBoxWriteViewConfig): IsoBoxW
|
|
|
3590
3623
|
//#endregion
|
|
3591
3624
|
//#region src/writers/writeMfhd.d.ts
|
|
3592
3625
|
/**
|
|
3593
|
-
* Write a MovieFragmentHeaderBox to an
|
|
3626
|
+
* Write a `MovieFragmentHeaderBox` to an `IsoBoxWriteView`.
|
|
3594
3627
|
*
|
|
3595
3628
|
* ISO/IEC 14496-12:2012 - 8.8.5 Movie Fragment Header Box
|
|
3596
3629
|
*
|
|
3597
|
-
* @param box - The MovieFragmentHeaderBox fields to write
|
|
3630
|
+
* @param box - The `MovieFragmentHeaderBox` fields to write
|
|
3598
3631
|
*
|
|
3599
|
-
* @returns An
|
|
3632
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3600
3633
|
*
|
|
3601
3634
|
* @public
|
|
3602
3635
|
*/
|
|
@@ -3604,13 +3637,13 @@ declare function writeMfhd(box: MovieFragmentHeaderBox): IsoBoxWriteView;
|
|
|
3604
3637
|
//#endregion
|
|
3605
3638
|
//#region src/writers/writeMfro.d.ts
|
|
3606
3639
|
/**
|
|
3607
|
-
* Write a MovieFragmentRandomAccessOffsetBox to an
|
|
3640
|
+
* Write a `MovieFragmentRandomAccessOffsetBox` to an `IsoBoxWriteView`.
|
|
3608
3641
|
*
|
|
3609
3642
|
* ISO/IEC 14496-12:2012 - 8.8.11 Movie Fragment Random Access Offset Box
|
|
3610
3643
|
*
|
|
3611
|
-
* @param box - The MovieFragmentRandomAccessOffsetBox fields to write
|
|
3644
|
+
* @param box - The `MovieFragmentRandomAccessOffsetBox` fields to write
|
|
3612
3645
|
*
|
|
3613
|
-
* @returns An
|
|
3646
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3614
3647
|
*
|
|
3615
3648
|
* @public
|
|
3616
3649
|
*/
|
|
@@ -3618,13 +3651,13 @@ declare function writeMfro(box: MovieFragmentRandomAccessOffsetBox): IsoBoxWrite
|
|
|
3618
3651
|
//#endregion
|
|
3619
3652
|
//#region src/writers/writeMp4a.d.ts
|
|
3620
3653
|
/**
|
|
3621
|
-
* Write an AudioSampleEntryBox to an
|
|
3654
|
+
* Write an `AudioSampleEntryBox` to an `IsoBoxWriteView`.
|
|
3622
3655
|
*
|
|
3623
3656
|
* ISO/IEC 14496-12:2012 - 12.2.3 Audio Sample Entry
|
|
3624
3657
|
*
|
|
3625
|
-
* @param box - The AudioSampleEntryBox fields to write
|
|
3658
|
+
* @param box - The `AudioSampleEntryBox` fields to write
|
|
3626
3659
|
*
|
|
3627
|
-
* @returns An
|
|
3660
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3628
3661
|
*
|
|
3629
3662
|
* @public
|
|
3630
3663
|
*/
|
|
@@ -3632,13 +3665,13 @@ declare function writeMp4a(box: AudioSampleEntryBox<"mp4a">, config: IsoBoxWrite
|
|
|
3632
3665
|
//#endregion
|
|
3633
3666
|
//#region src/writers/writeMvhd.d.ts
|
|
3634
3667
|
/**
|
|
3635
|
-
* Write a MovieHeaderBox to an
|
|
3668
|
+
* Write a `MovieHeaderBox` to an `IsoBoxWriteView`.
|
|
3636
3669
|
*
|
|
3637
3670
|
* ISO/IEC 14496-12:2012 - 8.2.2 Movie Header Box
|
|
3638
3671
|
*
|
|
3639
|
-
* @param box - The MovieHeaderBox fields to write
|
|
3672
|
+
* @param box - The `MovieHeaderBox` fields to write
|
|
3640
3673
|
*
|
|
3641
|
-
* @returns An
|
|
3674
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3642
3675
|
*
|
|
3643
3676
|
* @public
|
|
3644
3677
|
*/
|
|
@@ -3646,11 +3679,11 @@ declare function writeMvhd(box: MovieHeaderBox): IsoBoxWriteView;
|
|
|
3646
3679
|
//#endregion
|
|
3647
3680
|
//#region src/writers/writePayl.d.ts
|
|
3648
3681
|
/**
|
|
3649
|
-
* Write a WebVttCuePayloadBox to an
|
|
3682
|
+
* Write a `WebVttCuePayloadBox` to an `IsoBoxWriteView`.
|
|
3650
3683
|
*
|
|
3651
|
-
* @param box - The WebVttCuePayloadBox fields to write
|
|
3684
|
+
* @param box - The `WebVttCuePayloadBox` fields to write
|
|
3652
3685
|
*
|
|
3653
|
-
* @returns An
|
|
3686
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3654
3687
|
*
|
|
3655
3688
|
* @public
|
|
3656
3689
|
*/
|
|
@@ -3658,13 +3691,13 @@ declare function writePayl(box: WebVttCuePayloadBox): IsoBoxWriteView;
|
|
|
3658
3691
|
//#endregion
|
|
3659
3692
|
//#region src/writers/writePrft.d.ts
|
|
3660
3693
|
/**
|
|
3661
|
-
* Write a ProducerReferenceTimeBox to an
|
|
3694
|
+
* Write a `ProducerReferenceTimeBox` to an `IsoBoxWriteView`.
|
|
3662
3695
|
*
|
|
3663
3696
|
* ISO/IEC 14496-12:2012 - 8.16.5 Producer Reference Time Box
|
|
3664
3697
|
*
|
|
3665
|
-
* @param box - The ProducerReferenceTimeBox fields to write
|
|
3698
|
+
* @param box - The `ProducerReferenceTimeBox` fields to write
|
|
3666
3699
|
*
|
|
3667
|
-
* @returns An
|
|
3700
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3668
3701
|
*
|
|
3669
3702
|
* @public
|
|
3670
3703
|
*/
|
|
@@ -3672,12 +3705,12 @@ declare function writePrft(box: ProducerReferenceTimeBox): IsoBoxWriteView;
|
|
|
3672
3705
|
//#endregion
|
|
3673
3706
|
//#region src/writers/writePrsl.d.ts
|
|
3674
3707
|
/**
|
|
3675
|
-
* Write a PreselectionGroupBox to an
|
|
3708
|
+
* Write a `PreselectionGroupBox` to an `IsoBoxWriteView`.
|
|
3676
3709
|
*
|
|
3677
|
-
* @param box - The PreselectionGroupBox fields to write
|
|
3678
|
-
* @param config - The IsoBoxWriteViewConfig to use
|
|
3710
|
+
* @param box - The `PreselectionGroupBox` fields to write
|
|
3711
|
+
* @param config - The `IsoBoxWriteViewConfig` to use
|
|
3679
3712
|
*
|
|
3680
|
-
* @returns An
|
|
3713
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3681
3714
|
*
|
|
3682
3715
|
* @public
|
|
3683
3716
|
*/
|
|
@@ -3685,13 +3718,13 @@ declare function writePrsl(box: PreselectionGroupBox, config: IsoBoxWriteViewCon
|
|
|
3685
3718
|
//#endregion
|
|
3686
3719
|
//#region src/writers/writePssh.d.ts
|
|
3687
3720
|
/**
|
|
3688
|
-
* Write a ProtectionSystemSpecificHeaderBox to an
|
|
3721
|
+
* Write a `ProtectionSystemSpecificHeaderBox` to an `IsoBoxWriteView`.
|
|
3689
3722
|
*
|
|
3690
3723
|
* ISO/IEC 23001-7 - 8.1 Protection System Specific Header Box
|
|
3691
3724
|
*
|
|
3692
|
-
* @param box - The ProtectionSystemSpecificHeaderBox fields to write
|
|
3725
|
+
* @param box - The `ProtectionSystemSpecificHeaderBox` fields to write
|
|
3693
3726
|
*
|
|
3694
|
-
* @returns An
|
|
3727
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3695
3728
|
*
|
|
3696
3729
|
* @public
|
|
3697
3730
|
*/
|
|
@@ -3699,13 +3732,13 @@ declare function writePssh(box: ProtectionSystemSpecificHeaderBox): IsoBoxWriteV
|
|
|
3699
3732
|
//#endregion
|
|
3700
3733
|
//#region src/writers/writeSchm.d.ts
|
|
3701
3734
|
/**
|
|
3702
|
-
* Write a SchemeTypeBox to an
|
|
3735
|
+
* Write a `SchemeTypeBox` to an `IsoBoxWriteView`.
|
|
3703
3736
|
*
|
|
3704
3737
|
* ISO/IEC 14496-12:2012 - 8.12.5 Scheme Type Box
|
|
3705
3738
|
*
|
|
3706
|
-
* @param box - The SchemeTypeBox fields to write
|
|
3739
|
+
* @param box - The `SchemeTypeBox` fields to write
|
|
3707
3740
|
*
|
|
3708
|
-
* @returns An
|
|
3741
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3709
3742
|
*
|
|
3710
3743
|
* @public
|
|
3711
3744
|
*/
|
|
@@ -3713,13 +3746,13 @@ declare function writeSchm(box: SchemeTypeBox): IsoBoxWriteView;
|
|
|
3713
3746
|
//#endregion
|
|
3714
3747
|
//#region src/writers/writeSdtp.d.ts
|
|
3715
3748
|
/**
|
|
3716
|
-
* Write a SampleDependencyTypeBox to an
|
|
3749
|
+
* Write a `SampleDependencyTypeBox` to an `IsoBoxWriteView`.
|
|
3717
3750
|
*
|
|
3718
3751
|
* ISO/IEC 14496-12:2012 - 8.6.4 Independent and Disposable Samples Box
|
|
3719
3752
|
*
|
|
3720
|
-
* @param box - The SampleDependencyTypeBox fields to write
|
|
3753
|
+
* @param box - The `SampleDependencyTypeBox` fields to write
|
|
3721
3754
|
*
|
|
3722
|
-
* @returns An
|
|
3755
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3723
3756
|
*
|
|
3724
3757
|
* @public
|
|
3725
3758
|
*/
|
|
@@ -3727,13 +3760,13 @@ declare function writeSdtp(box: SampleDependencyTypeBox): IsoBoxWriteView;
|
|
|
3727
3760
|
//#endregion
|
|
3728
3761
|
//#region src/writers/writeSidx.d.ts
|
|
3729
3762
|
/**
|
|
3730
|
-
* Write a SegmentIndexBox to an
|
|
3763
|
+
* Write a `SegmentIndexBox` to an `IsoBoxWriteView`.
|
|
3731
3764
|
*
|
|
3732
3765
|
* ISO/IEC 14496-12:2012 - 8.16.3 Segment Index Box
|
|
3733
3766
|
*
|
|
3734
|
-
* @param box - The SegmentIndexBox fields to write
|
|
3767
|
+
* @param box - The `SegmentIndexBox` fields to write
|
|
3735
3768
|
*
|
|
3736
|
-
* @returns An
|
|
3769
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3737
3770
|
*
|
|
3738
3771
|
* @public
|
|
3739
3772
|
*/
|
|
@@ -3741,13 +3774,13 @@ declare function writeSidx(box: SegmentIndexBox): IsoBoxWriteView;
|
|
|
3741
3774
|
//#endregion
|
|
3742
3775
|
//#region src/writers/writeSkip.d.ts
|
|
3743
3776
|
/**
|
|
3744
|
-
* Write a FreeSpaceBox (skip variant) to an
|
|
3777
|
+
* Write a `FreeSpaceBox` (skip variant) to an `IsoBoxWriteView`.
|
|
3745
3778
|
*
|
|
3746
3779
|
* ISO/IEC 14496-12:2012 - 8.1.2 Free Space Box
|
|
3747
3780
|
*
|
|
3748
|
-
* @param box - The FreeSpaceBox fields to write
|
|
3781
|
+
* @param box - The `FreeSpaceBox` fields to write
|
|
3749
3782
|
*
|
|
3750
|
-
* @returns An
|
|
3783
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3751
3784
|
*
|
|
3752
3785
|
* @public
|
|
3753
3786
|
*/
|
|
@@ -3755,13 +3788,13 @@ declare function writeSkip(box: FreeSpaceBox<"skip">): IsoBoxWriteView;
|
|
|
3755
3788
|
//#endregion
|
|
3756
3789
|
//#region src/writers/writeSmhd.d.ts
|
|
3757
3790
|
/**
|
|
3758
|
-
* Write a SoundMediaHeaderBox to an
|
|
3791
|
+
* Write a `SoundMediaHeaderBox` to an `IsoBoxWriteView`.
|
|
3759
3792
|
*
|
|
3760
3793
|
* ISO/IEC 14496-12:2012 - 12.2.2 Sound Media Header Box
|
|
3761
3794
|
*
|
|
3762
|
-
* @param box - The SoundMediaHeaderBox fields to write
|
|
3795
|
+
* @param box - The `SoundMediaHeaderBox` fields to write
|
|
3763
3796
|
*
|
|
3764
|
-
* @returns An
|
|
3797
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3765
3798
|
*
|
|
3766
3799
|
* @public
|
|
3767
3800
|
*/
|
|
@@ -3769,13 +3802,13 @@ declare function writeSmhd(box: SoundMediaHeaderBox): IsoBoxWriteView;
|
|
|
3769
3802
|
//#endregion
|
|
3770
3803
|
//#region src/writers/writeSsix.d.ts
|
|
3771
3804
|
/**
|
|
3772
|
-
* Write a SubsegmentIndexBox to an
|
|
3805
|
+
* Write a `SubsegmentIndexBox` to an `IsoBoxWriteView`.
|
|
3773
3806
|
*
|
|
3774
3807
|
* ISO/IEC 14496-12:2012 - 8.16.4 Subsegment Index Box
|
|
3775
3808
|
*
|
|
3776
|
-
* @param box - The SubsegmentIndexBox fields to write
|
|
3809
|
+
* @param box - The `SubsegmentIndexBox` fields to write
|
|
3777
3810
|
*
|
|
3778
|
-
* @returns An
|
|
3811
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3779
3812
|
*
|
|
3780
3813
|
* @public
|
|
3781
3814
|
*/
|
|
@@ -3783,13 +3816,13 @@ declare function writeSsix(box: SubsegmentIndexBox): IsoBoxWriteView;
|
|
|
3783
3816
|
//#endregion
|
|
3784
3817
|
//#region src/writers/writeSthd.d.ts
|
|
3785
3818
|
/**
|
|
3786
|
-
* Write a SubtitleMediaHeaderBox to an
|
|
3819
|
+
* Write a `SubtitleMediaHeaderBox` to an `IsoBoxWriteView`.
|
|
3787
3820
|
*
|
|
3788
3821
|
* ISO/IEC 14496-12:2012 - 12.6.2 Subtitle Media Header Box
|
|
3789
3822
|
*
|
|
3790
|
-
* @param box - The SubtitleMediaHeaderBox fields to write
|
|
3823
|
+
* @param box - The `SubtitleMediaHeaderBox` fields to write
|
|
3791
3824
|
*
|
|
3792
|
-
* @returns An
|
|
3825
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3793
3826
|
*
|
|
3794
3827
|
* @public
|
|
3795
3828
|
*/
|
|
@@ -3797,12 +3830,12 @@ declare function writeSthd(box: SubtitleMediaHeaderBox): IsoBoxWriteView;
|
|
|
3797
3830
|
//#endregion
|
|
3798
3831
|
//#region src/writers/writeStsd.d.ts
|
|
3799
3832
|
/**
|
|
3800
|
-
* Write a SampleDescriptionBox to an
|
|
3833
|
+
* Write a `SampleDescriptionBox` to an `IsoBoxWriteView`.
|
|
3801
3834
|
*
|
|
3802
|
-
* @param box - The SampleDescriptionBox fields to write
|
|
3835
|
+
* @param box - The `SampleDescriptionBox` fields to write
|
|
3803
3836
|
* @param config - The IsoBoxWriteViewConfig to use
|
|
3804
3837
|
*
|
|
3805
|
-
* @returns An
|
|
3838
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3806
3839
|
*
|
|
3807
3840
|
* @public
|
|
3808
3841
|
*/
|
|
@@ -3810,13 +3843,13 @@ declare function writeStsd(box: SampleDescriptionBox, config: IsoBoxWriteViewCon
|
|
|
3810
3843
|
//#endregion
|
|
3811
3844
|
//#region src/writers/writeStss.d.ts
|
|
3812
3845
|
/**
|
|
3813
|
-
* Write a SyncSampleBox to an
|
|
3846
|
+
* Write a `SyncSampleBox` to an `IsoBoxWriteView`.
|
|
3814
3847
|
*
|
|
3815
3848
|
* ISO/IEC 14496-12:2012 - 8.6.2 Sync Sample Box
|
|
3816
3849
|
*
|
|
3817
|
-
* @param box - The SyncSampleBox fields to write
|
|
3850
|
+
* @param box - The `SyncSampleBox` fields to write
|
|
3818
3851
|
*
|
|
3819
|
-
* @returns An
|
|
3852
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3820
3853
|
*
|
|
3821
3854
|
* @public
|
|
3822
3855
|
*/
|
|
@@ -3824,11 +3857,11 @@ declare function writeStss(box: SyncSampleBox): IsoBoxWriteView;
|
|
|
3824
3857
|
//#endregion
|
|
3825
3858
|
//#region src/writers/writeSttg.d.ts
|
|
3826
3859
|
/**
|
|
3827
|
-
* Write a WebVttSettingsBox to an
|
|
3860
|
+
* Write a `WebVttSettingsBox` to an `IsoBoxWriteView`.
|
|
3828
3861
|
*
|
|
3829
|
-
* @param box - The WebVttSettingsBox fields to write
|
|
3862
|
+
* @param box - The `WebVttSettingsBox` fields to write
|
|
3830
3863
|
*
|
|
3831
|
-
* @returns An
|
|
3864
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3832
3865
|
*
|
|
3833
3866
|
* @public
|
|
3834
3867
|
*/
|
|
@@ -3836,13 +3869,13 @@ declare function writeSttg(box: WebVttSettingsBox): IsoBoxWriteView;
|
|
|
3836
3869
|
//#endregion
|
|
3837
3870
|
//#region src/writers/writeStts.d.ts
|
|
3838
3871
|
/**
|
|
3839
|
-
* Write a DecodingTimeToSampleBox to an
|
|
3872
|
+
* Write a `DecodingTimeToSampleBox` to an `IsoBoxWriteView`.
|
|
3840
3873
|
*
|
|
3841
3874
|
* ISO/IEC 14496-12:2012 - 8.6.1.2 Decoding Time to Sample Box
|
|
3842
3875
|
*
|
|
3843
|
-
* @param box - The DecodingTimeToSampleBox fields to write
|
|
3876
|
+
* @param box - The `DecodingTimeToSampleBox` fields to write
|
|
3844
3877
|
*
|
|
3845
|
-
* @returns An
|
|
3878
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3846
3879
|
*
|
|
3847
3880
|
* @public
|
|
3848
3881
|
*/
|
|
@@ -3850,13 +3883,13 @@ declare function writeStts(box: DecodingTimeToSampleBox): IsoBoxWriteView;
|
|
|
3850
3883
|
//#endregion
|
|
3851
3884
|
//#region src/writers/writeStyp.d.ts
|
|
3852
3885
|
/**
|
|
3853
|
-
* Write a SegmentTypeBox to an
|
|
3886
|
+
* Write a `SegmentTypeBox` to an `IsoBoxWriteView`.
|
|
3854
3887
|
*
|
|
3855
3888
|
* ISO/IEC 14496-12:2012 - 8.16.2 Segment Type Box
|
|
3856
3889
|
*
|
|
3857
|
-
* @param box - The SegmentTypeBox fields to write
|
|
3890
|
+
* @param box - The `SegmentTypeBox` fields to write
|
|
3858
3891
|
*
|
|
3859
|
-
* @returns An
|
|
3892
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3860
3893
|
*
|
|
3861
3894
|
* @public
|
|
3862
3895
|
*/
|
|
@@ -3864,13 +3897,13 @@ declare function writeStyp(box: SegmentTypeBox): IsoBoxWriteView;
|
|
|
3864
3897
|
//#endregion
|
|
3865
3898
|
//#region src/writers/writeSubs.d.ts
|
|
3866
3899
|
/**
|
|
3867
|
-
* Write a SubsampleInformationBox to an
|
|
3900
|
+
* Write a `SubsampleInformationBox` to an `IsoBoxWriteView`.
|
|
3868
3901
|
*
|
|
3869
3902
|
* ISO/IEC 14496-12:2012 - 8.7.7 Sub-Sample Information Box
|
|
3870
3903
|
*
|
|
3871
|
-
* @param box - The SubsampleInformationBox fields to write
|
|
3904
|
+
* @param box - The `SubsampleInformationBox` fields to write
|
|
3872
3905
|
*
|
|
3873
|
-
* @returns An
|
|
3906
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3874
3907
|
*
|
|
3875
3908
|
* @public
|
|
3876
3909
|
*/
|
|
@@ -3878,13 +3911,13 @@ declare function writeSubs(box: SubsampleInformationBox): IsoBoxWriteView;
|
|
|
3878
3911
|
//#endregion
|
|
3879
3912
|
//#region src/writers/writeTenc.d.ts
|
|
3880
3913
|
/**
|
|
3881
|
-
* Write a TrackEncryptionBox to an
|
|
3914
|
+
* Write a `TrackEncryptionBox` to an `IsoBoxWriteView`.
|
|
3882
3915
|
*
|
|
3883
3916
|
* ISO/IEC 23001-7 - 8.2 Track Encryption Box
|
|
3884
3917
|
*
|
|
3885
|
-
* @param box - The TrackEncryptionBox fields to write
|
|
3918
|
+
* @param box - The `TrackEncryptionBox` fields to write
|
|
3886
3919
|
*
|
|
3887
|
-
* @returns An
|
|
3920
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3888
3921
|
*
|
|
3889
3922
|
* @public
|
|
3890
3923
|
*/
|
|
@@ -3892,13 +3925,13 @@ declare function writeTenc(box: TrackEncryptionBox): IsoBoxWriteView;
|
|
|
3892
3925
|
//#endregion
|
|
3893
3926
|
//#region src/writers/writeTfdt.d.ts
|
|
3894
3927
|
/**
|
|
3895
|
-
* Write a TrackFragmentBaseMediaDecodeTimeBox to an
|
|
3928
|
+
* Write a `TrackFragmentBaseMediaDecodeTimeBox` to an `IsoBoxWriteView`.
|
|
3896
3929
|
*
|
|
3897
3930
|
* ISO/IEC 14496-12:2012 - 8.8.12 Track Fragment Base Media Decode Time Box
|
|
3898
3931
|
*
|
|
3899
|
-
* @param box - The TrackFragmentBaseMediaDecodeTimeBox fields to write
|
|
3932
|
+
* @param box - The `TrackFragmentBaseMediaDecodeTimeBox` fields to write
|
|
3900
3933
|
*
|
|
3901
|
-
* @returns An
|
|
3934
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3902
3935
|
*
|
|
3903
3936
|
* @public
|
|
3904
3937
|
*/
|
|
@@ -3906,13 +3939,13 @@ declare function writeTfdt(box: TrackFragmentBaseMediaDecodeTimeBox): IsoBoxWrit
|
|
|
3906
3939
|
//#endregion
|
|
3907
3940
|
//#region src/writers/writeTfhd.d.ts
|
|
3908
3941
|
/**
|
|
3909
|
-
* Write a TrackFragmentHeaderBox to an
|
|
3942
|
+
* Write a `TrackFragmentHeaderBox` to an `IsoBoxWriteView`.
|
|
3910
3943
|
*
|
|
3911
3944
|
* ISO/IEC 14496-12:2012 - 8.8.7 Track Fragment Header Box
|
|
3912
3945
|
*
|
|
3913
|
-
* @param box - The TrackFragmentHeaderBox fields to write
|
|
3946
|
+
* @param box - The `TrackFragmentHeaderBox` fields to write
|
|
3914
3947
|
*
|
|
3915
|
-
* @returns An
|
|
3948
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3916
3949
|
*
|
|
3917
3950
|
* @public
|
|
3918
3951
|
*/
|
|
@@ -3920,13 +3953,13 @@ declare function writeTfhd(box: TrackFragmentHeaderBox): IsoBoxWriteView;
|
|
|
3920
3953
|
//#endregion
|
|
3921
3954
|
//#region src/writers/writeTfra.d.ts
|
|
3922
3955
|
/**
|
|
3923
|
-
* Write a TrackFragmentRandomAccessBox to an
|
|
3956
|
+
* Write a `TrackFragmentRandomAccessBox` to an `IsoBoxWriteView`.
|
|
3924
3957
|
*
|
|
3925
3958
|
* ISO/IEC 14496-12:2012 - 8.8.10 Track Fragment Random Access Box
|
|
3926
3959
|
*
|
|
3927
|
-
* @param box - The TrackFragmentRandomAccessBox fields to write
|
|
3960
|
+
* @param box - The `TrackFragmentRandomAccessBox` fields to write
|
|
3928
3961
|
*
|
|
3929
|
-
* @returns An
|
|
3962
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3930
3963
|
*
|
|
3931
3964
|
* @public
|
|
3932
3965
|
*/
|
|
@@ -3934,13 +3967,13 @@ declare function writeTfra(box: TrackFragmentRandomAccessBox): IsoBoxWriteView;
|
|
|
3934
3967
|
//#endregion
|
|
3935
3968
|
//#region src/writers/writeTkhd.d.ts
|
|
3936
3969
|
/**
|
|
3937
|
-
* Write a TrackHeaderBox to an
|
|
3970
|
+
* Write a `TrackHeaderBox` to an `IsoBoxWriteView`.
|
|
3938
3971
|
*
|
|
3939
3972
|
* ISO/IEC 14496-12:2012 - 8.3.2 Track Header Box
|
|
3940
3973
|
*
|
|
3941
|
-
* @param box - The TrackHeaderBox fields to write
|
|
3974
|
+
* @param box - The `TrackHeaderBox` fields to write
|
|
3942
3975
|
*
|
|
3943
|
-
* @returns An
|
|
3976
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3944
3977
|
*
|
|
3945
3978
|
* @public
|
|
3946
3979
|
*/
|
|
@@ -3948,13 +3981,13 @@ declare function writeTkhd(box: TrackHeaderBox): IsoBoxWriteView;
|
|
|
3948
3981
|
//#endregion
|
|
3949
3982
|
//#region src/writers/writeTrex.d.ts
|
|
3950
3983
|
/**
|
|
3951
|
-
* Write a TrackExtendsBox to an
|
|
3984
|
+
* Write a `TrackExtendsBox` to an `IsoBoxWriteView`.
|
|
3952
3985
|
*
|
|
3953
3986
|
* ISO/IEC 14496-12:2012 - 8.8.3 Track Extends Box
|
|
3954
3987
|
*
|
|
3955
|
-
* @param box - The TrackExtendsBox fields to write
|
|
3988
|
+
* @param box - The `TrackExtendsBox` fields to write
|
|
3956
3989
|
*
|
|
3957
|
-
* @returns An
|
|
3990
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3958
3991
|
*
|
|
3959
3992
|
* @public
|
|
3960
3993
|
*/
|
|
@@ -3962,13 +3995,13 @@ declare function writeTrex(box: TrackExtendsBox): IsoBoxWriteView;
|
|
|
3962
3995
|
//#endregion
|
|
3963
3996
|
//#region src/writers/writeTrun.d.ts
|
|
3964
3997
|
/**
|
|
3965
|
-
* Write a TrackRunBox to an
|
|
3998
|
+
* Write a `TrackRunBox` to an `IsoBoxWriteView`.
|
|
3966
3999
|
*
|
|
3967
4000
|
* ISO/IEC 14496-12:2012 - 8.8.8 Track Run Box
|
|
3968
4001
|
*
|
|
3969
|
-
* @param box - The TrackRunBox fields to write
|
|
4002
|
+
* @param box - The `TrackRunBox` fields to write
|
|
3970
4003
|
*
|
|
3971
|
-
* @returns An
|
|
4004
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3972
4005
|
*
|
|
3973
4006
|
* @public
|
|
3974
4007
|
*/
|
|
@@ -3976,13 +4009,13 @@ declare function writeTrun(box: TrackRunBox): IsoBoxWriteView;
|
|
|
3976
4009
|
//#endregion
|
|
3977
4010
|
//#region src/writers/writeUrl.d.ts
|
|
3978
4011
|
/**
|
|
3979
|
-
* Write a
|
|
4012
|
+
* Write a `DataEntryUrlBox` to an `IsoBoxWriteView`.
|
|
3980
4013
|
*
|
|
3981
4014
|
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
3982
4015
|
*
|
|
3983
|
-
* @param box - The
|
|
4016
|
+
* @param box - The `DataEntryUrlBox` fields to write
|
|
3984
4017
|
*
|
|
3985
|
-
* @returns An
|
|
4018
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
3986
4019
|
*
|
|
3987
4020
|
* @public
|
|
3988
4021
|
*/
|
|
@@ -3990,13 +4023,13 @@ declare function writeUrl(box: DataEntryUrlBox): IsoBoxWriteView;
|
|
|
3990
4023
|
//#endregion
|
|
3991
4024
|
//#region src/writers/writeUrn.d.ts
|
|
3992
4025
|
/**
|
|
3993
|
-
* Write a
|
|
4026
|
+
* Write a `DataEntryUrnBox` to an `IsoBoxWriteView`.
|
|
3994
4027
|
*
|
|
3995
4028
|
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
3996
4029
|
*
|
|
3997
|
-
* @param box - The
|
|
4030
|
+
* @param box - The `DataEntryUrnBox` fields to write
|
|
3998
4031
|
*
|
|
3999
|
-
* @returns An
|
|
4032
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
4000
4033
|
*
|
|
4001
4034
|
* @public
|
|
4002
4035
|
*/
|
|
@@ -4004,14 +4037,14 @@ declare function writeUrn(box: DataEntryUrnBox): IsoBoxWriteView;
|
|
|
4004
4037
|
//#endregion
|
|
4005
4038
|
//#region src/writers/writeVisualSampleEntryBox.d.ts
|
|
4006
4039
|
/**
|
|
4007
|
-
* Write a VisualSampleEntryBox to an
|
|
4040
|
+
* Write a `VisualSampleEntryBox` to an `IsoBoxWriteView`.
|
|
4008
4041
|
*
|
|
4009
4042
|
* ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry
|
|
4010
4043
|
*
|
|
4011
|
-
* @param box - The VisualSampleEntryBox fields to write
|
|
4044
|
+
* @param box - The `VisualSampleEntryBox` fields to write
|
|
4012
4045
|
* @param config - The configuration for the writer
|
|
4013
4046
|
*
|
|
4014
|
-
* @returns An
|
|
4047
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
4015
4048
|
*
|
|
4016
4049
|
* @public
|
|
4017
4050
|
*/
|
|
@@ -4019,11 +4052,11 @@ declare function writeVisualSampleEntryBox<T$1 extends VisualSampleEntryType = V
|
|
|
4019
4052
|
//#endregion
|
|
4020
4053
|
//#region src/writers/writeVlab.d.ts
|
|
4021
4054
|
/**
|
|
4022
|
-
* Write a WebVttSourceLabelBox to an
|
|
4055
|
+
* Write a `WebVttSourceLabelBox` to an `IsoBoxWriteView`.
|
|
4023
4056
|
*
|
|
4024
|
-
* @param box - The WebVttSourceLabelBox fields to write
|
|
4057
|
+
* @param box - The `WebVttSourceLabelBox` fields to write
|
|
4025
4058
|
*
|
|
4026
|
-
* @returns An
|
|
4059
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
4027
4060
|
*
|
|
4028
4061
|
* @public
|
|
4029
4062
|
*/
|
|
@@ -4031,13 +4064,13 @@ declare function writeVlab(box: WebVttSourceLabelBox): IsoBoxWriteView;
|
|
|
4031
4064
|
//#endregion
|
|
4032
4065
|
//#region src/writers/writeVmhd.d.ts
|
|
4033
4066
|
/**
|
|
4034
|
-
* Write a VideoMediaHeaderBox to an
|
|
4067
|
+
* Write a `VideoMediaHeaderBox` to an `IsoBoxWriteView`.
|
|
4035
4068
|
*
|
|
4036
4069
|
* ISO/IEC 14496-12:2012 - 12.1.2 Video Media Header Box
|
|
4037
4070
|
*
|
|
4038
|
-
* @param box - The VideoMediaHeaderBox fields to write
|
|
4071
|
+
* @param box - The `VideoMediaHeaderBox` fields to write
|
|
4039
4072
|
*
|
|
4040
|
-
* @returns An
|
|
4073
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
4041
4074
|
*
|
|
4042
4075
|
* @public
|
|
4043
4076
|
*/
|
|
@@ -4045,11 +4078,11 @@ declare function writeVmhd(box: VideoMediaHeaderBox): IsoBoxWriteView;
|
|
|
4045
4078
|
//#endregion
|
|
4046
4079
|
//#region src/writers/writeVttC.d.ts
|
|
4047
4080
|
/**
|
|
4048
|
-
* Write a WebVttConfigurationBox to an
|
|
4081
|
+
* Write a `WebVttConfigurationBox` to an `IsoBoxWriteView`.
|
|
4049
4082
|
*
|
|
4050
|
-
* @param box - The WebVttConfigurationBox fields to write
|
|
4083
|
+
* @param box - The `WebVttConfigurationBox` fields to write
|
|
4051
4084
|
*
|
|
4052
|
-
* @returns An
|
|
4085
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
4053
4086
|
*
|
|
4054
4087
|
* @public
|
|
4055
4088
|
*/
|
|
@@ -4057,13 +4090,13 @@ declare function writeVttC(box: WebVttConfigurationBox): IsoBoxWriteView;
|
|
|
4057
4090
|
//#endregion
|
|
4058
4091
|
//#region src/writers/writeVtte.d.ts
|
|
4059
4092
|
/**
|
|
4060
|
-
* Write a WebVttEmptySampleBox to an
|
|
4093
|
+
* Write a `WebVttEmptySampleBox` to an `IsoBoxWriteView`.
|
|
4061
4094
|
*
|
|
4062
|
-
* @returns An
|
|
4095
|
+
* @returns An `IsoBoxWriteView` containing the encoded box
|
|
4063
4096
|
*
|
|
4064
4097
|
* @public
|
|
4065
4098
|
*/
|
|
4066
4099
|
declare function writeVtte(_: WebVttEmptySampleBox): IsoBoxWriteView;
|
|
4067
4100
|
//#endregion
|
|
4068
|
-
export { AdditionalMetadataContainerBox, AdditionalMetadataContainerBoxChild, AudioRenderingIndicationBox, AudioSampleEntryBox, AudioSampleEntryBoxChild, AudioSampleEntryType, Box, CONTAINERS, ChunkLargeOffsetBox, ChunkOffsetBox, CompactSampleSizeBox, CompositionTimeToSampleBox, CompositionTimeToSampleEntry, DATA, DataEntryUrlBox, DataEntryUrnBox, DataInformationBox, DataInformationBoxChild, DataReferenceBox, DecodingTimeSample, DecodingTimeToSampleBox, DegradationPriorityBox, EditBox, EditBoxChild, EditListBox, EditListEntry, EncryptedSample, Entity, EventMessageBox, ExtendedLanguageBox, FileTypeBox, FreeSpaceBox, FullBox, GroupsListBox, GroupsListBoxChild, HandlerReferenceBox, HintMediaHeaderBox, INT, IdentifiedMediaDataBox, IpmpInfoBox, IsoBox, IsoBoxContainer, IsoBoxContainerMap, IsoBoxData, IsoBoxMap, IsoBoxReadView, IsoBoxReadViewConfig, IsoBoxReadableStream, IsoBoxReader, IsoBoxReaderMap, IsoBoxReaderReturn, IsoBoxStreamable, IsoBoxType, IsoBoxWriteView, IsoBoxWriteViewConfig, IsoBoxWriter, IsoBoxWriterMap, IsoFieldTypeMap, IsoTypedParsedBox, ItemExtent, ItemInfoBox, ItemInfoBoxChild, ItemInfoEntry, ItemLocation, ItemLocationBox, ItemProtectionBox, ItemProtectionBoxChild, ItemReferenceBox, ItemReferenceBoxChild, LabelBox, MediaBox, MediaBoxChild, MediaDataBox, MediaHeaderBox, MediaInformationBox, MediaInformationBoxChild, MetaBox, MetaBoxChild, MovieBox, MovieBoxChild, MovieExtendsBox, MovieExtendsBoxChild, MovieExtendsHeaderBox, MovieFragmentBox, MovieFragmentBoxChild, MovieFragmentHeaderBox, MovieFragmentRandomAccessBox, MovieFragmentRandomAccessBoxChild, MovieFragmentRandomAccessOffsetBox, MovieHeaderBox, NullMediaHeaderBox, OriginalFormatBox, ParsedBox, ParsedIsoBox, PreselectionGroupBox, PreselectionGroupBoxChild, PrimaryItemBox, ProducerReferenceTimeBox, ProtectionSchemeInformationBox, ProtectionSchemeInformationBoxChild, ProtectionSystemSpecificHeaderBox, STRING, SampleAuxiliaryInformationOffsetsBox, SampleAuxiliaryInformationSizesBox, SampleDependencyTypeBox, SampleDescriptionBox, SampleEncryptionBox, SampleEntryBox, SampleGroupDescriptionBox, SampleSizeBox, SampleTableBox, SampleTableBoxChild, SampleToChunkBox, SampleToChunkEntry, SampleToGroupBox, SampleToGroupEntry, SchemeInformationBox, SchemeInformationBoxChild, SchemeTypeBox, SegmentIndexBox, SegmentIndexReference, SegmentTypeBox, ShadowSyncEntry, ShadowSyncSampleBox, SingleItemTypeReferenceBox, SoundMediaHeaderBox, SubTrackBox, SubTrackBoxChild, Subsample, SubsampleEncryption, SubsampleEntry, SubsampleInformationBox, Subsegment, SubsegmentIndexBox, SubsegmentRange, SubtitleMediaHeaderBox, SyncSample, SyncSampleBox, TEMPLATE, TrackBox, TrackBoxChild, TrackEncryptionBox, TrackExtendsBox, TrackFragmentBaseMediaDecodeTimeBox, TrackFragmentBox, TrackFragmentBoxChild, TrackFragmentHeaderBox, TrackFragmentRandomAccessBox, TrackFragmentRandomAccessEntry, TrackHeaderBox, TrackKindBox, TrackReferenceBox, TrackReferenceBoxChild, TrackReferenceTypeBox, TrackRunBox, TrackRunSample, TraverseIsoBoxesConfig, TypeBox, UINT, UTF8, UserDataBox, UserDataBoxChild, VideoMediaHeaderBox, VisualSampleEntryBox, VisualSampleEntryBoxChild, VisualSampleEntryType, WebVttConfigurationBox, WebVttCueBox, WebVttCueChild, WebVttCueIdBox, WebVttCuePayloadBox, WebVttEmptySampleBox, WebVttSettingsBox, WebVttSourceLabelBox, co64, 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, stz2, traverseIsoBoxes, url, urn, 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 };
|
|
4101
|
+
export { AdditionalMetadataContainerBox, AdditionalMetadataContainerBoxChild, AudioRenderingIndicationBox, AudioSampleEntryBox, AudioSampleEntryBoxChild, AudioSampleEntryType, Box, CONTAINERS, ChunkLargeOffsetBox, ChunkOffsetBox, CompactSampleSizeBox, CompositionTimeToSampleBox, CompositionTimeToSampleEntry, DATA, DataEntryUrlBox, DataEntryUrnBox, DataInformationBox, DataInformationBoxChild, DataReferenceBox, DecodingTimeSample, DecodingTimeToSampleBox, DegradationPriorityBox, EditBox, EditBoxChild, EditListBox, EditListEntry, EncryptedSample, Entity, EventMessageBox, ExtendedLanguageBox, FileTypeBox, FreeSpaceBox, FullBox, GroupsListBox, GroupsListBoxChild, HandlerReferenceBox, HintMediaHeaderBox, INT, IdentifiedMediaDataBox, IpmpInfoBox, IsoBox, IsoBoxContainer, IsoBoxContainerMap, IsoBoxData, IsoBoxFields, IsoBoxMap, IsoBoxReadView, IsoBoxReadViewConfig, IsoBoxReadableStream, IsoBoxReader, IsoBoxReaderMap, IsoBoxReaderReturn, IsoBoxStreamable, IsoBoxType, IsoBoxWriteView, IsoBoxWriteViewConfig, IsoBoxWriter, IsoBoxWriterMap, IsoFieldTypeMap, IsoTypedParsedBox, ItemExtent, ItemInfoBox, ItemInfoBoxChild, ItemInfoEntry, ItemLocation, ItemLocationBox, ItemProtectionBox, ItemProtectionBoxChild, ItemReferenceBox, ItemReferenceBoxChild, LabelBox, MediaBox, MediaBoxChild, MediaDataBox, MediaHeaderBox, MediaInformationBox, MediaInformationBoxChild, MetaBox, MetaBoxChild, MovieBox, MovieBoxChild, MovieExtendsBox, MovieExtendsBoxChild, MovieExtendsHeaderBox, MovieFragmentBox, MovieFragmentBoxChild, MovieFragmentHeaderBox, MovieFragmentRandomAccessBox, MovieFragmentRandomAccessBoxChild, MovieFragmentRandomAccessOffsetBox, MovieHeaderBox, NullMediaHeaderBox, OriginalFormatBox, ParsedBox, ParsedIsoBox, PreselectionGroupBox, PreselectionGroupBoxChild, PrimaryItemBox, ProducerReferenceTimeBox, ProtectionSchemeInformationBox, ProtectionSchemeInformationBoxChild, ProtectionSystemSpecificHeaderBox, STRING, SampleAuxiliaryInformationOffsetsBox, SampleAuxiliaryInformationSizesBox, SampleDependencyTypeBox, SampleDescriptionBox, SampleEncryptionBox, SampleEntryBox, SampleGroupDescriptionBox, SampleSizeBox, SampleTableBox, SampleTableBoxChild, SampleToChunkBox, SampleToChunkEntry, SampleToGroupBox, SampleToGroupEntry, SchemeInformationBox, SchemeInformationBoxChild, SchemeTypeBox, SegmentIndexBox, SegmentIndexReference, SegmentTypeBox, ShadowSyncEntry, ShadowSyncSampleBox, SingleItemTypeReferenceBox, SoundMediaHeaderBox, SubTrackBox, SubTrackBoxChild, Subsample, SubsampleEncryption, SubsampleEntry, SubsampleInformationBox, Subsegment, SubsegmentIndexBox, SubsegmentRange, SubtitleMediaHeaderBox, SyncSample, SyncSampleBox, TEMPLATE, TrackBox, TrackBoxChild, TrackEncryptionBox, TrackExtendsBox, TrackFragmentBaseMediaDecodeTimeBox, TrackFragmentBox, TrackFragmentBoxChild, TrackFragmentHeaderBox, TrackFragmentRandomAccessBox, TrackFragmentRandomAccessEntry, TrackHeaderBox, TrackKindBox, TrackReferenceBox, TrackReferenceBoxChild, TrackReferenceTypeBox, TrackRunBox, TrackRunSample, TraverseIsoBoxesConfig, TypeBox, UINT, UTF8, UserDataBox, UserDataBoxChild, VideoMediaHeaderBox, VisualSampleEntryBox, VisualSampleEntryBoxChild, VisualSampleEntryType, WebVttConfigurationBox, WebVttCueBox, WebVttCueChild, WebVttCueIdBox, WebVttCuePayloadBox, WebVttEmptySampleBox, WebVttSettingsBox, WebVttSourceLabelBox, co64, 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, stz2, traverseIsoBoxes, url, urn, 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 };
|
|
4069
4102
|
//# sourceMappingURL=index.d.ts.map
|