mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-03 20:15:56 +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
 | 
			
		||||
    // and it's slightly annoying if you do not want to register an account.
 | 
			
		||||
    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() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue