Skip to content

Commit 895fdd9

Browse files
authored
Remove unused periodIndex parameter from getMainAdaptationForType type definition and JSDoc (Dash-Industry-Forum#4826)
1 parent e0d04f5 commit 895fdd9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ declare namespace dashjs {
10441044

10451045
areMediaInfosEqual(mInfoOne: MediaInfo, mInfoTwo: MediaInfo): boolean;
10461046

1047-
getMainAdaptationForType(periodIndex: number, type: MediaType, streamInfo: object): IAdaptation | null;
1047+
getMainAdaptationForType(type: MediaType, streamInfo: object): IAdaptation | null;
10481048

10491049
getAllMediaInfoForType(streamInfo: object, type: MediaType, externalManifest?: object | null): any[];
10501050

src/dash/DashAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ function DashAdapter() {
132132

133133
/**
134134
* Returns the AdaptationSet for a given period index and a given mediaType.
135-
* @param {number} periodIndex
136135
* @param {MediaType} type
137136
* @param {object} streamInfo
138137
* @returns {null|object} adaptation

0 commit comments

Comments
 (0)