autoconfig: set media.webrtc.camera.allow-pipewire (MR 38)

As suggested by Robert Mader in issue 57, thanks.
This commit is contained in:
Oliver Smith 2023-09-08 09:51:45 +02:00
parent 4116b6663b
commit a205c5fa64
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -309,6 +309,12 @@ function set_default_prefs() {
// shows recently closed tabs. The always pinned tab takes up screen estate // shows recently closed tabs. The always pinned tab takes up screen estate
// and it's slightly annoying if you do not want to register an account. // and it's slightly annoying if you do not want to register an account.
defaultPref('browser.tabs.firefox-view', false); defaultPref('browser.tabs.firefox-view', false);
// FF >= 116 allows to use cameras via Pipewire. While it will likely still
// take a while until this is made the default, on most mobile devices it
// makes a lot of sense to enable it unconditionally, as cameras usually
// only work with libcamera, not via plain v4l2.
defaultPref('media.webrtc.camera.allow-pipewire', true);
} }
function main() { function main() {