mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
autoconfig: set media.webrtc.camera.allow-pipewire (MR 38)
As suggested by Robert Mader in issue 57, thanks.
This commit is contained in:
parent
4116b6663b
commit
a205c5fa64
1 changed files with 6 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue