Error with web client video conferencing options

Status
Not open for further replies.

hanseat

Customer
Joined
Nov 12, 2021
Messages
2
Reaction score
0
If the MediaDeviceInfo returns an array of different cameras but the same deviceID, the options window is no longer displayed.

The error occurs in the function validate_each_keys(ctx, list, get_context, get_key) (wmr-cdn.3cdx.net/client/node_modules/svelte/internal/index.mjs line 1518) when the MediaDeviceInfo returns an array of different cameras but the same deviceID.

Uncaught (in promise) Error: Cannot have duplicate keys in a keyed each
validate_each_keys index.mjs:1523
create_if_block_5$b wmclient.js:8511
create_else_block$f wmclient.js:8054
update wmclient.js:9518
update index.mjs:1057
flush index.mjs:1025
promise callback*schedule_update index.mjs:1000
make_dirty index.mjs:1759
ctx index.mjs:1797
open_settings wmclient.js:9805

This can happen e.g. in Firefox when a Hello compatible webcam is used and Firefox returns the normal camera and the infrared camera function with the same deviceID.

You could do without the exception and just ignore the duplicate deviceId, then there will be no errors.
Or, you could handle it like in the previous version, where the whole thing didn't lead to any error and the IR camera was also offered.
 
Hi,
thank you for your feedback.
Can you tell us which webcam are you using, please?
 
It is the webcam in the Philips monitor Brilliance 346P.
The error occurs in Firefox 94 under Ubuntu 20.04.3.

dmesg output:
[25152.334399] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
[25152.395867] input: USB2.0 FHD UVC WebCam: USB2.0 F as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/input/input35
[25152.403667] uvcvideo: Found UVC 1.50 device USB2.0 FHD UVC WebCam (04f2:b612)
[25152.420624] input: USB2.0 FHD UVC WebCam: IR Camer as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.2/input/input36

Firefox returns the same deviceID twice for the camera.
It is a USB device with several video interfaces.

Maybe you can get it working again faster, after all it worked fine in the previous version (17?) of the 3cx.
 
Last edited:
Hi,
we are able to reproduce the problem.
It seems happening only using firefox, not chrome (on chrome only one cam is recognized).
If it is possible for you, please use chrome until the fix will be released.
Thank you
 
Status
Not open for further replies.

Forum statistics

Threads
112,349
Messages
592,027
Members
165,513
Latest member
megalmazan