azot 0.8.3 → 0.9.0

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.
@@ -0,0 +1,46 @@
1
+ import type { VideoCodec, DynamicRange, AudioCodec } from 'dasha';
2
+
3
+ export type Options = {
4
+ videoQuality?: string;
5
+ videoCodecs?: VideoCodec[];
6
+ videoRange?: DynamicRange;
7
+ videoBitrate?: number;
8
+ videoDimension?: '2D' | '3D';
9
+
10
+ audioCodecs?: AudioCodec[];
11
+ audioChannels?: number;
12
+ audioBitrate?: number;
13
+
14
+ subtitleFormat?: string;
15
+ subtitleLanguages?: string[];
16
+
17
+ languages?: string[];
18
+
19
+ skipVideo?: boolean;
20
+ skipAudio?: boolean;
21
+ skipSubtitles?: boolean;
22
+ skipMux?: boolean;
23
+
24
+ experimentalSelectTracks?: boolean;
25
+
26
+ episodes?: Map<number, Set<number>>;
27
+ retry?: number;
28
+ connections?: number;
29
+ proxy?: string | null;
30
+ proxyMeta?: string | null;
31
+ proxyMedia?: string | null;
32
+
33
+ movieTemplate?: string;
34
+ episodeTemplate?: string;
35
+ hardsub?: boolean;
36
+ trimBegin?: string;
37
+ trimEnd?: string;
38
+
39
+ pssh?: string;
40
+ drmTemplate?: string;
41
+ header?: Record<string, string>;
42
+
43
+ http2?: boolean;
44
+ keys?: { kid: string; key: string }[];
45
+ debug?: boolean;
46
+ };
@@ -0,0 +1,17 @@
1
+ declare global {
2
+ interface Uint8Array {
3
+ /** [TC39 proposal](https://github.com/tc39/proposal-arraybuffer-base64) */
4
+ toBase64(): string;
5
+ /** [TC39 proposal](https://github.com/tc39/proposal-arraybuffer-base64) */
6
+ toHex(): string;
7
+ }
8
+
9
+ interface Uint8ArrayConstructor {
10
+ /** [TC39 proposal](https://github.com/tc39/proposal-arraybuffer-base64) */
11
+ fromBase64(base64String: string): Uint8Array;
12
+ /** [TC39 proposal](https://github.com/tc39/proposal-arraybuffer-base64) */
13
+ fromHex(hexString: string): Uint8Array;
14
+ }
15
+ }
16
+
17
+ export {};