schellingb / UnityCapture

Streams Unity rendered output to other Windows applications as virtual capture device
430 stars 68 forks source link

Identical device ID #39

Closed Sash0check closed 12 months ago

Sash0check commented 12 months ago

Hello! I'm using InstallMultipleDevices.bat to create multiple cameras. I need to output these cameras on the front using javascript (navigator.media Devices). The problem is that the same picture is displayed from different cameras. I found out that they have the same DeviceID. To check this you can use this example: https://codepen.io/jan-j/pen/pNxRvX

Sash0check commented 12 months ago

Could you tell me where the identifier is assigned in the code? Or how can I fix it? Thank you!

Sash0check commented 12 months ago

Figured it out, you set all devices path as "foo:bar".