Skip to content

Commit

Permalink
Remove unused stream controller property
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch committed Aug 17, 2022
1 parent ab4ce50 commit 8fa4cd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controller/stream-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default class StreamController
private onvplaying: EventListener | null = null;
private onvseeked: EventListener | null = null;
private fragLastKbps: number = 0;
private stalled: boolean = false;
private couldBacktrack: boolean = false;
private backtrackFragment: Fragment | null = null;
private audioCodecSwitch: boolean = false;
Expand Down Expand Up @@ -545,7 +544,7 @@ export default class StreamController
this.log('Trigger BUFFER_RESET');
this.hls.trigger(Events.BUFFER_RESET, undefined);
this.fragmentTracker.removeAllFragments();
this.couldBacktrack = this.stalled = false;
this.couldBacktrack = false;
this.startPosition = this.lastCurrentTime = 0;
this.fragPlaying = null;
this.backtrackFragment = null;
Expand Down

0 comments on commit 8fa4cd5

Please sign in to comment.