From 17a7291cc638b8400ca8ef189dc619bd94cc93a3 Mon Sep 17 00:00:00 2001 From: latenighticecream Date: Sun, 13 Nov 2022 17:12:52 +0100 Subject: [PATCH] drop down test 9 --- src/frontend/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/index.js b/src/frontend/index.js index a83ac4f..d5ff4ac 100644 --- a/src/frontend/index.js +++ b/src/frontend/index.js @@ -112,7 +112,7 @@ async function onWebcamDropDownClicked () { function onWebcamDropDownItemSelected(item) { console.log(item); - app.setVideoDeviceId(item.content.deviceId); + app.setVideoDeviceId(item.deviceId); } // start processing as soon as page is loaded