From 08ab414b4268a4dedc9e529ebe7c96d691756820 Mon Sep 17 00:00:00 2001 From: hensm Date: Sun, 17 Apr 2022 07:54:22 +0100 Subject: [PATCH] Remove missed dead code --- ext/src/cast/api/index.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ext/src/cast/api/index.ts b/ext/src/cast/api/index.ts index 6bade9d..6b01bf7 100644 --- a/ext/src/cast/api/index.ts +++ b/ext/src/cast/api/index.ts @@ -282,15 +282,6 @@ onMessage(message => { }); const status = message.data; - - // TODO: Implement persistent per-origin receiver IDs - const receiver1 = new Receiver( - status.receiverId, // label - status.receiverFriendlyName, // friendlyName - [Capability.VIDEO_OUT, Capability.AUDIO_OUT], // capabilities - status.volume // volume - ); - const receiverDevice = receiverDevices.get(status.receiverId); if (!receiverDevice) { logger.error(