File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ onMounted(() => {
118118 <div >
119119 <StandardButton
120120 type =" button"
121- text =" I am a Exhibitor"
121+ text =" I am an Exhibitor"
122122 class =" btn-primary mt-6 w-full justify-center"
123123 @click =" handleRoleSelection('Exhibitor')"
124124 />
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ function switchCamera() {
8282 console .log (' switchCamera: having the following cameras:' )
8383 console .log (cameraStore .cameraDevices )
8484 console .log (' switchCamera: cameraDevices.value = ' + cameraStore .cameraDevices .value )
85- if (cameraStore .cameraDevices .length === 0 ) {
85+ console .log (' camerastore.cameradevices.length = ' + cameraStore .cameraDevices .length )
86+ if (cameraStore .cameraDevices .length === 1 && cameraStore .cameraDevices [0 ].id == " " ) {
8687 console .log (" No cameras found in cameraStore, re-enumerating them" )
8788 updateAvailableCamera ()
8889 }
You can’t perform that action at this time.
0 commit comments