Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Actualized access to /dev/videoX from browsers
To:
tech@openbsd.org
Cc:
Landry Breuil <landry@rhaalovely.net>
Date:
Thu, 21 Aug 2025 10:56:41 +0100

Download raw body.

Thread
On 2025/08/21 03:25, Kirill A. Korinsky wrote:
> tech@,
> 
> I had noticed that our faq a bit outdated regarding access to /dev/videoX
> devices from Chromium and Firefox.

do we actually need to tell users to do anything for chromium?
more than 7 devices is not that likely.

can we sync the unveil in firefox to allow up to video7 too?

users editing the unveil files are preparing a foot-gun.


> Ok?
> 
> Index: faq13.html
> ===================================================================
> RCS file: /cvs/www/faq/faq13.html,v
> diff -u -p -r1.228 faq13.html
> --- faq13.html	10 Apr 2023 02:55:09 -0000	1.228
> +++ faq13.html	21 Aug 2025 01:23:52 -0000
> @@ -649,14 +649,15 @@ Some settings support automatic adjustme
>  
>  <h3>Webcam Access in Web Browsers</h3>
>  
> -Chromium has access to <code>/dev/video</code> by default.
> +Chromium has access to devices <code>/dev/video0</code>
> +through <code>/dev/video7</code> by default.
>  To allow Chromium to access other video devices, the device paths must be
>  added to <code>/etc/chromium/unveil.main</code> and
>  <code>/etc/chromium/unveil.utility_video</code>.
>  
>  <p>
> -Firefox has access to <code>/dev/video</code> and <code>/dev/video0</code>
> -by default.
> +Firefox has access to devices <code>/dev/video0</code>
> +through <code>/dev/video3</code> by default.
>  To allow Firefox to access other video devices, the device paths must be
>  added to <code>/etc/firefox/unveil.main</code>.
>  
> 
> 
> -- 
> wbr, Kirill
>