Hi,

It being understood that web services such as jitsi and bigbluebutton
require WASM to be enabled,[1] I am experiencing issues with access to
the webcam by iridium or chromium.

For the record, I used the BBB testing instance,[2] and Webcam
Test.[3]

I followed the intructions given in the FAQ,[4] including those found
at the bottom of the page, and modified /etc/ididium/unveil.main and
/etc/iridium/unveil.utility_video as follows:

=============================================
--- unveil.main.orig    Mon Nov 21 16:54:24 2022
+++ unveil.main Sat Dec 24 13:50:22 2022
@@ -1,5 +1,6 @@
 # needed for video(4)
 /dev/video rw
+/dev/video0 rw
 
 # needed for FIDO authentication
 /dev/fido rw

--- unveil.utility_video.orig   Mon Nov 21 16:54:24 2022
+++ unveil.utility_video        Sat Dec 24 13:55:42 2022
@@ -6,3 +6,4 @@
 
 # needed for video(4)
 /dev/video rw
+/dev/video0 rw
=============================================

Even so, iridium fails to access the webcam.  BBB says that the device
may be used by another application and /var/log/messages reads as
follows:

Dec 24 13:59:03  /bsd: uvideo0 at uhub0 port 2 configuration 1 interface 0 " 4K 
Document Camera" rev 2.00/1.33 addr 2
Dec 24 13:59:03  /bsd: video0 at uvideo0
Dec 24 13:59:03  /bsd: uaudio0 at uhub0 port 2 configuration 1 interface 3 " 4K 
Document Camera" rev 2.00/1.33 addr 2
Dec 24 13:59:03  /bsd: uaudio0: class v1, high-speed, sync, channels: 0 play, 2 
rec, 2 ctls
Dec 24 13:59:03  /bsd: audio1 at uaudio0
Dec 24 13:59:22  /bsd: uvideo0: could not SET probe request: STALLED

The last message is repeated each time I attempt to share the webcam.

I think it is worth mentioning that this happens even if unveil.main
and unveil.utility_video are left untouched.

This does not happen with firefox. (It can't be tested with BBB as
it is unable to enter the testing room, but can be tested with
webcamtests[3] or jitsi.[5])

Any help would be much appreciated.

-- Robert

Footnotes:
[1]  See https://marc.info/?l=openbsd-misc&m=167181801710114&w=2 and
     the link to openbsd-ports

[2]  https://test.bigbluebutton.org

[3]  https://webcamtests.com/

[4]  https://www.openbsd.org/faq/faq13.html#webcam

[5]  https://meet.jit.si

Reply via email to