mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Remove missed dead code
This commit is contained in:
@@ -282,15 +282,6 @@ onMessage(message => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const status = message.data;
|
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);
|
const receiverDevice = receiverDevices.get(status.receiverId);
|
||||||
if (!receiverDevice) {
|
if (!receiverDevice) {
|
||||||
logger.error(
|
logger.error(
|
||||||
|
|||||||
Reference in New Issue
Block a user