Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2018 15:26:51 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463894 - in head/www/firefox: . files
Message-ID:  <201803081526.w28FQpMc000950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Mar  8 15:26:51 2018
New Revision: 463894
URL: https://svnweb.freebsd.org/changeset/ports/463894

Log:
  www/firefox: unbreak WebRTC audio after r463675
  
  MFH:		2018Q1

Added:
  head/www/firefox/files/patch-bug1444074   (contents, props changed)
Modified:
  head/www/firefox/Makefile   (contents, props changed)

Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile	Thu Mar  8 15:26:34 2018	(r463893)
+++ head/www/firefox/Makefile	Thu Mar  8 15:26:51 2018	(r463894)
@@ -3,7 +3,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	59.0
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	https://hg.mozilla.org/releases/mozilla-release/archive/

Added: head/www/firefox/files/patch-bug1444074
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/firefox/files/patch-bug1444074	Thu Mar  8 15:26:51 2018	(r463894)
@@ -0,0 +1,34 @@
+Enable full-duplex by default for all platforms
+
+diff --git modules/libpref/init/all.js modules/libpref/init/all.js
+index a152e4944e95..322d009da739 100644
+--- modules/libpref/init/all.js
++++ modules/libpref/init/all.js
+@@ -557,25 +557,18 @@ pref("media.getusermedia.agc", 3); // kAgcAdaptiveDigital
+ // capture_delay: Adjustments for OS-specific input delay (lower bound)
+ // playout_delay: Adjustments for OS-specific AudioStream+cubeb+output delay (lower bound)
+ // full_duplex: enable cubeb full-duplex capture/playback
++pref("media.navigator.audio.full_duplex", true);
+ #if defined(XP_MACOSX)
+ pref("media.peerconnection.capture_delay", 50);
+-pref("media.navigator.audio.full_duplex", true);
+ #elif defined(XP_WIN)
+ pref("media.peerconnection.capture_delay", 50);
+-pref("media.navigator.audio.full_duplex", true);
+ #elif defined(ANDROID)
+ pref("media.peerconnection.capture_delay", 100);
+-pref("media.navigator.audio.full_duplex", true);
+ pref("media.navigator.hardware.vp8_encode.acceleration_enabled", true);
+ pref("media.navigator.hardware.vp8_encode.acceleration_remote_enabled", true);
+ pref("media.navigator.hardware.vp8_decode.acceleration_enabled", false);
+-#elif defined(XP_LINUX) || defined(MOZ_SNDIO)
+-pref("media.peerconnection.capture_delay", 70);
+-pref("media.navigator.audio.full_duplex", true);
+ #else
+-// *BSD, others - merely a guess for now
+-pref("media.peerconnection.capture_delay", 50);
+-pref("media.navigator.audio.full_duplex", false);
++pref("media.peerconnection.capture_delay", 70);
+ #endif
+ // Use MediaDataDecoder API for WebRTC, this includes hardware acceleration for
+ // decoding.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803081526.w28FQpMc000950>