Download raw body.
Actualized access to /dev/videoX from browsers
On Thu, 21 Aug 2025 11:56:41 +0200, Stuart Henderson <stu@spacehopper.org> wrote: > > 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. > > Very good point. Right now both browsers support out of the box multiple devices, all which is created by default. I think the right way is... nuke this paragraph. It is irrelevant and suggest very wrong way. Index: faq/faq13.html =================================================================== RCS file: /cvs/www/faq/faq13.html,v diff -u -p -r1.228 faq13.html --- faq/faq13.html 10 Apr 2023 02:55:09 -0000 1.228 +++ faq/faq13.html 21 Aug 2025 10:18:50 -0000 @@ -647,19 +647,6 @@ All the settings can be reverted to thei <p> Some settings support automatic adjustments if set to a value of "auto." -<h3>Webcam Access in Web Browsers</h3> - -Chromium has access to <code>/dev/video</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. -To allow Firefox to access other video devices, the device paths must be -added to <code>/etc/firefox/unveil.main</code>. - <!-- XXX To record MIDI files, you can use the <code>smfrec</code> utility bundled in the <code>audio/midish</code> port. -- wbr, Kirill
Actualized access to /dev/videoX from browsers