Skip to content

Commit 1cf8138

Browse files
authored
fix, complete types definition file (#3755)
* fix, complete types definition file
1 parent 6a0d37c commit 1cf8138

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ declare namespace dashjs {
12671267

12681268
getCurrentSchedulingInfo(type: MediaType): object;
12691269

1270-
getCurrentDVRInfo(type: MediaType): IDVRInfo;
1270+
getCurrentDVRInfo(type?: MediaType): IDVRInfo;
12711271

12721272
getCurrentManifestUpdate(): any;
12731273

@@ -1288,6 +1288,8 @@ declare namespace dashjs {
12881288
* @param periodIdx Make sure this is the period index not id
12891289
*/
12901290
getMaxIndexForBufferType(bufferType: MediaType, periodIdx: number): number;
1291+
1292+
getMpd(externalManifest?: object): object;
12911293
}
12921294

12931295
export interface ProtectionDataSet {

0 commit comments

Comments
 (0)