Skip to content

Commit

Permalink
fix: reference typo to hls instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Ziv authored Feb 28, 2018
1 parent 4940b1f commit 20a994e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hls-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export default class HlsAdapter extends BaseMediaSourceAdapter {
_recoverDecodingError(): void {
this._recoverDecodingErrorDate = performance.now();
HlsAdapter._logger.warn("try to recover media Error");
this.hls.recoverMediaError();
this._hls.recoverMediaError();
}

/**
Expand All @@ -636,8 +636,8 @@ export default class HlsAdapter extends BaseMediaSourceAdapter {
_recoverSwapAudioCodec(): void {
this._recoverSwapAudioCodecDate = performance.now();
HlsAdapter._logger.warn("try to swap Audio Codec and recover media Error");
this.hls.swapAudioCodec();
this.hls.recoverMediaError();
this._hls.swapAudioCodec();
this._hls.recoverMediaError();
}

/**
Expand Down

0 comments on commit 20a994e

Please sign in to comment.