简体   繁体   English

如何使用nodejs连接vpn

[英]How to connect vpn using nodejs

how to connect vpn using nodejs without port number如何使用没有端口号的nodejs连接vpn

It's not clear from your question if you are asking about how to correctly use getUserMedia() .如果您询问如何正确使用getUserMedia() ,您的问题尚不清楚。

If so, then you can pass the ID of your audio / video devices in the options:如果是这样,那么您可以在选项中传递您的音频/视频设备的 ID:

navigator.mediaDevices.getUserMedia({ audio: { deviceId: ... }, video: { deviceId: ... })

You get these IDs from another call ( enumerateDevices() ):您从另一个调用 ( enumerateDevices() ) 中获取这些 ID:

navigator.mediaDevices.enumerateDevices()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM