We required HDMI info in Nodejs and Electron. If any HDMI is connected with system then we have to do some specific task with the Electron application.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can give a try with @senzil/cec-monitor
package or simmilar to monitor the HDMI devices.