From owner-svn-ports-head@freebsd.org Thu Mar 8 15:26:52 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 683BFF3B4EB; Thu, 8 Mar 2018 15:26:52 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1501B7F63A; Thu, 8 Mar 2018 15:26:52 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBA1F1284C; Thu, 8 Mar 2018 15:26:51 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w28FQppU000952; Thu, 8 Mar 2018 15:26:51 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w28FQpMc000950; Thu, 8 Mar 2018 15:26:51 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201803081526.w28FQpMc000950@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 8 Mar 2018 15:26:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463894 - in head/www/firefox: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/www/firefox: . files X-SVN-Commit-Revision: 463894 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 15:26:52 -0000 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.