Skip to content

Commit

Permalink
The C keybind should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicminer256 committed Dec 19, 2023
1 parent 04001da commit 04fcbae
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,23 +265,23 @@ class capturecard2VideoSidebar{
d[mediaDevice.groupId]["audio"] = mediaDevice.deviceId
}
});
if(arr.length == 0){
alert("No devices found!")
return
}
for(let devi in arr){
finalstring += devi+": "+arr[devi].label+"\n";
}
let a = arr[prompt("What device do you want to use?\n"+finalstring)]
console.log(a)
if(typeof a['video'] == 'string'){
videoDeviceID = a['video']
}
if(typeof a['audio'] == 'string'){
audioDeviceID = a['audio']
}
this.cap2vid.changeDevice()
});
if(arr.length == 0){
alert("No devices found!")
return
}
for(let devi in arr){
finalstring += devi+": "+arr[devi].label+"\n";
}
let a = arr[prompt("What device do you want to use?\n"+finalstring)]
console.log(a)
if(typeof a['video'] == 'string'){
videoDeviceID = a['video']
}
if(typeof a['audio'] == 'string'){
audioDeviceID = a['audio']
}
this.cap2vid.changeDevice()
}
}
}
Expand Down

0 comments on commit 04fcbae

Please sign in to comment.