Skip to content

Commit 0489a30

Browse files
committed
Invert the Polarity of the Neutron Flow
1 parent 49a8ebc commit 0489a30

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/mediasources.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,10 @@ function MediaSources() {
354354
}
355355

356356
function availableAudioDescribedCdns(): string[] {
357-
console.log("AD: ")
358-
console.table(audioDescribedSources)
359-
console.log("Failover: ")
360-
console.table(failedOverSources)
361357
const adCdns = audioDescribedSources.map((adSource) => adSource.cdn)
362-
return adCdns.filter((adCdn) => failedOverSources.map((failedOverSources) => failedOverSources.cdn).includes(adCdn))
358+
return adCdns.filter(
359+
(adCdn) => !failedOverSources.map((failedOverSources) => failedOverSources.cdn).includes(adCdn)
360+
)
363361
}
364362

365363
function updateDebugOutput() {

0 commit comments

Comments
 (0)