From fff8c75b1cec3d9b563a9e05e04bf6824d7c095a Mon Sep 17 00:00:00 2001 From: Luke Pommersheim Date: Wed, 17 Aug 2022 14:48:04 -0400 Subject: [PATCH] remove clearTimer from abr interface and documentation --- docs/API.md | 3 +-- src/types/component-api.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/API.md b/docs/API.md index 30c8b22d543..f2a9c434eab 100644 --- a/docs/API.md +++ b/docs/API.md @@ -906,10 +906,9 @@ var config = { Customized Adaptive Bitrate Streaming Controller. -Parameter should be a class providing a getter/setter, a `clearTimer` method, and a `destroy()` method: +Parameter should be a class providing a getter/setter and a `destroy()` method: - get/set `nextAutoLevel`: return next auto-quality level/force next auto-quality level that should be returned (currently used for emergency switch down) -- `clearTimer()` - Stops the abandon rules check polling until another fragment is loaded - `destroy()`: should clean-up all used resources For `hls.bandwidthEstimate()` to return an estimate from your custom controller, it will also need to satisfy `abrController.bwEstimator.getEstimate()`. diff --git a/src/types/component-api.ts b/src/types/component-api.ts index 8fb3285b65a..ac408daee64 100644 --- a/src/types/component-api.ts +++ b/src/types/component-api.ts @@ -6,7 +6,6 @@ export interface ComponentAPI { export interface AbrComponentAPI extends ComponentAPI { nextAutoLevel: Number; - clearTimer(): void; readonly bwEstimator?: EwmaBandWidthEstimator; }