如何检测HDMI设备是否与Node JS连接? [英] How to detect HDMI device is connected with Node JS?
本文介绍了如何检测HDMI设备是否与Node JS连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们需要Nodejs和Electron中的HDMI信息.如果有任何HDMI连接到系统,则我们必须对Electron应用程序执行一些特定的任务.
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.
推荐答案
You can give a try with @senzil/cec-monitor
package or simmilar to monitor the HDMI devices.
这篇关于如何检测HDMI设备是否与Node JS连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文