We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4deaed8 commit 9af7928Copy full SHA for 9af7928
types/m3u8-parser/index.d.ts
@@ -124,7 +124,7 @@ export interface Manifest {
124
125
export class Parser extends Stream {
126
constructor(options?: {
127
- url?: string;
+ uri?: string;
128
mainDefinitions?: Record<string, string>;
129
});
130
lineStream: LineStream;
types/m3u8-parser/m3u8-parser-tests.ts
@@ -10,7 +10,7 @@ parser.end();
10
const parsedManifest = parser.manifest.playlists?.[0].contentProtection?.["com.apple.fps.1_0"]?.attributes.resoltion;
11
12
const parser2 = new Parser({
13
- url: "https://exmaple.com/video.m3u8?param_a=34¶m_b=abc",
+ uri: "https://exmaple.com/video.m3u8?param_a=34¶m_b=abc",
14
mainDefinitions: {
15
param_c: "def",
16
},
0 commit comments