Undid a unnecessary change
This commit is contained in:
1 parent
62b01c5f8e
commit
91cd8c7608
1 file changed
+1
-1
@@ -54,7 +54,7 @@
|
|||||||
const devices = await navigator.mediaDevices.enumerateDevices();
|
const devices = await navigator.mediaDevices.enumerateDevices();
|
||||||
videoInputDevices = devices.filter((device) => device.kind === 'videoinput');
|
videoInputDevices = devices.filter((device) => device.kind === 'videoinput');
|
||||||
|
|
||||||
if (navigator.mediaDevices.getDisplayMedia) {
|
if (!!navigator.mediaDevices.getDisplayMedia) {
|
||||||
videoInputDevices = [
|
videoInputDevices = [
|
||||||
...videoInputDevices,
|
...videoInputDevices,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user