Skip to content

Commit

Permalink
use AbrComponentApi interface in abr-controller.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lpommers committed Aug 16, 2022
1 parent 49674f0 commit ae0eaf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/abr-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import type {
ErrorData,
LevelLoadedData,
} from '../types/events';
import type { ComponentAPI } from '../types/component-api';
import type { AbrComponentAPI } from '../types/component-api';

class AbrController implements ComponentAPI {
class AbrController implements AbrComponentAPI {
protected hls: Hls;
private lastLoadedFragLevel: number = 0;
private _nextAutoLevel: number = -1;
Expand Down

0 comments on commit ae0eaf6

Please sign in to comment.