@@ -35,7 +35,7 @@ import DashManifestModel from './models/DashManifestModel.js';
35
35
import FactoryMaker from '../core/FactoryMaker.js' ;
36
36
37
37
/**
38
- * @Module DashMetrics
38
+ * @module DashMetrics
39
39
*/
40
40
function DashMetrics ( ) {
41
41
@@ -60,8 +60,8 @@ function DashMetrics() {
60
60
61
61
/**
62
62
*
63
- * @param representationId
64
- * @param periodIdx
63
+ * @param { string } representationId
64
+ * @param { number } periodIdx
65
65
* @returns {* }
66
66
*/
67
67
function getIndexForRepresentation ( representationId , periodIdx ) {
@@ -76,9 +76,9 @@ function DashMetrics() {
76
76
/**
77
77
* This method returns the current max index based on what is defined in the MPD.
78
78
*
79
- * @param bufferType - String 'audio' or 'video',
80
- * @param periodIdx - Make sure this is the period index not id
81
- * @return int
79
+ * @param { string } bufferType - String 'audio' or 'video',
80
+ * @param { number } periodIdx - Make sure this is the period index not id
81
+ * @return { number }
82
82
* @memberof module:DashMetrics
83
83
* @instance
84
84
*/
@@ -95,9 +95,9 @@ function DashMetrics() {
95
95
* This method returns the current max index correlated to the max allowed bitrate
96
96
* explicitly set via the MediaPlayer's API setMaxAllowedBitrateFor.
97
97
*
98
- * @param bufferType - String 'audio' or 'video',
99
- * @param periodId - Make sure this is the period id not index.
100
- * @return int
98
+ * @param { string } bufferType - String 'audio' or 'video',
99
+ * @param { number } periodId - Make sure this is the period id not index.
100
+ * @return { number }
101
101
* @see {@link module:MediaPlayer#setMaxAllowedBitrateFor setMaxAllowedBitrateFor() }
102
102
* @see {@link DashMetrics#getMaxIndexForBufferType getMaxIndexForBufferType() }
103
103
* @memberof module:DashMetrics
@@ -115,7 +115,7 @@ function DashMetrics() {
115
115
}
116
116
117
117
/**
118
- * @param metrics
118
+ * @param { MetricsList } metrics
119
119
* @returns {* }
120
120
* @memberof module:DashMetrics
121
121
* @instance
@@ -142,7 +142,7 @@ function DashMetrics() {
142
142
}
143
143
144
144
/**
145
- * @param metrics
145
+ * @param { MetricsList } metrics
146
146
* @returns {* }
147
147
* @memberof module:DashMetrics
148
148
* @instance
@@ -161,7 +161,7 @@ function DashMetrics() {
161
161
}
162
162
163
163
/**
164
- * @param metrics
164
+ * @param { MetricsList } metrics
165
165
* @returns {number }
166
166
* @memberof module:DashMetrics
167
167
* @instance
@@ -180,7 +180,7 @@ function DashMetrics() {
180
180
}
181
181
182
182
/**
183
- * @param metrics
183
+ * @param { MetricsList } metrics
184
184
* @returns {null|*|vo }
185
185
* @memberof module:DashMetrics
186
186
* @instance
@@ -190,7 +190,7 @@ function DashMetrics() {
190
190
}
191
191
192
192
/**
193
- * @param metrics
193
+ * @param { MetricsList } metrics
194
194
* @returns {* }
195
195
* @memberof module:DashMetrics
196
196
* @instance
@@ -224,7 +224,7 @@ function DashMetrics() {
224
224
}
225
225
226
226
/**
227
- * @param metrics
227
+ * @param { MetricsList } metrics
228
228
* @returns {* }
229
229
* @memberof module:DashMetrics
230
230
* @instance
@@ -238,7 +238,7 @@ function DashMetrics() {
238
238
}
239
239
240
240
/**
241
- * @param metrics
241
+ * @param { MetricsList } metrics
242
242
* @returns {* }
243
243
* @memberof module:DashMetrics
244
244
* @instance
@@ -263,7 +263,7 @@ function DashMetrics() {
263
263
}
264
264
265
265
/**
266
- * @param metrics
266
+ * @param { MetricsList } metrics
267
267
* @returns {* }
268
268
* @memberof module:DashMetrics
269
269
* @instance
@@ -289,7 +289,7 @@ function DashMetrics() {
289
289
}
290
290
291
291
/**
292
- * @param metrics
292
+ * @param { MetricsList } metrics
293
293
* @returns {* }
294
294
* @memberof module:DashMetrics
295
295
* @instance
@@ -315,7 +315,7 @@ function DashMetrics() {
315
315
}
316
316
317
317
/**
318
- * @param metrics
318
+ * @param { MetricsList } metrics
319
319
* @returns {* }
320
320
* @memberof module:DashMetrics
321
321
* @instance
@@ -341,8 +341,8 @@ function DashMetrics() {
341
341
}
342
342
343
343
/**
344
- * @param metrics
345
- * @param id
344
+ * @param { MetricsList } metrics
345
+ * @param { string } id
346
346
* @returns {* }
347
347
* @memberof module:DashMetrics
348
348
* @instance
@@ -372,8 +372,8 @@ function DashMetrics() {
372
372
}
373
373
374
374
/**
375
- * @param metrics
376
- * @param id
375
+ * @param { MetricsList } metrics
376
+ * @param { string } id
377
377
* @returns {* }
378
378
* @memberof module:DashMetrics
379
379
* @instance
0 commit comments