From 4f551cc8a8ee8a2576285bcb5f83874423abcedd Mon Sep 17 00:00:00 2001 From: Guillaume du Pontavice Date: Thu, 13 Jul 2017 23:47:14 -0700 Subject: [PATCH] lint --- src/controller/stream-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/stream-controller.js b/src/controller/stream-controller.js index 578f7925db5..050fc408b4d 100644 --- a/src/controller/stream-controller.js +++ b/src/controller/stream-controller.js @@ -361,7 +361,7 @@ class StreamController extends EventHandler { const targetSN = fragPrevious.sn + 1; if (targetSN >= levelDetails.startSN && targetSN <= levelDetails.endSN) { const fragNext = fragments[targetSN - levelDetails.startSN]; - if (fragPrevious.cc == fragNext.cc) { + if (fragPrevious.cc === fragNext.cc) { frag = fragNext; logger.log(`live playlist, switching playlist, load frag with next SN: ${frag.sn}`); }