how to connect vpn using nodejs without port number
It's not clear from your question if you are asking about how to correctly use getUserMedia() .
If so, then you can pass the ID of your audio / video devices in the options:
navigator.mediaDevices.getUserMedia({ audio: { deviceId: ... }, video: { deviceId: ... })
You get these IDs from another call ( enumerateDevices() ):
navigator.mediaDevices.enumerateDevices()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.