Commit Graph

6437 Commits

Author SHA1 Message Date
Alex Chronopoulos
36e3215092 Bug 1500377 - Update cubeb-pulse-rs to upstream commit 100b858. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D9242

--HG--
extra : moz-landing-system : lando
2018-10-19 22:00:38 +00:00
Alex Chronopoulos
bd29f8d97c Bug 1500377 - Update cubeb to upstream commit a68892d. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D9241

--HG--
extra : moz-landing-system : lando
2018-10-19 22:00:20 +00:00
Byron Campen [:bwc]
37b133bd26 Bug 1495569: Create answers with a=mid even if the offer did not have a=mid r=mjf,jib
Bug 1495569 - Part 0: web-platform-test that verifies handling of offer without mid.
Bug 1495569 - Part 1: Ensure that answers are created with the transceiver's mid when the offer did not have a mid.

Differential Revision: https://phabricator.services.mozilla.com/D8853

--HG--
extra : moz-landing-system : lando
2018-10-17 18:50:45 +00:00
Nils Ohlmeier [:drno]
dedc2f2c81 Bug 1498068: fixed SRTP key length assertion for GCM 128 bit. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D8324

--HG--
extra : moz-landing-system : lando
2018-10-16 03:30:57 +00:00
Andreas Pehrson
7561a1fdef Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8064

--HG--
extra : moz-landing-system : lando
2018-10-15 08:17:07 +00:00
Philipp Hancke
c0cf9f10eb Bug 1435789: implement relayProtocol for localcandidate stats r=smaug,ng
relayProtocol is the standardized variant of mozLocalTransport.
Spec:
  https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-relayprotocol

IDL:
  https://w3c.github.io/webrtc-stats/#icecandidate-dict*

Differential Revision: https://phabricator.services.mozilla.com/D3428

--HG--
extra : moz-landing-system : lando
2018-10-07 07:42:48 +00:00
Ciure Andrei
26b40a4469 Merge inbound to mozilla-central. a=merge 2018-10-13 12:36:04 +03:00
Sylvestre Ledru
dd5741407b Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
Too hard/impossible for the tool to format correctly these structs

Differential Revision: https://phabricator.services.mozilla.com/D8569

--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
Paul Adenot
e9769f1597 Bug 1487057 - Part 5 - Remove MediaEngineWebRTCMicrophoneSource::mStarted. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5439

--HG--
extra : rebase_source : 31a0b36e2bc6431a6c7aa387baddfd9d3e35f8f8
2018-09-03 11:10:32 +02:00
Paul Adenot
3f4724fcbb Bug 1487057 - Part 4 - Remove AsyncLatencyLogger and associated code. r=pehrsons
It's not maintained and probably does not work anymore.

Differential Revision: https://phabricator.services.mozilla.com/D5438

--HG--
extra : rebase_source : ccd622e40844dda5d16266e49991462d4ea94224
2018-08-30 17:11:57 +02:00
Alex Chronopoulos
d5435d7c3a Bug 1498519 - Update cubeb from upstream to 4559815. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D8527
2018-10-12 13:31:18 +03:00
Jean-Yves Avenard
ab78780c77 Bug 1496529 - P8. Add media.navigator.mediadatadecoder_h264_enabled preference. r=drno
For now, the H264 decoding support is rather sturdy. It handles change of resolution and content smoothly thanks to the H264Converter.
The VP8/VP9 one however, not so much.

So we make a preference to only enable H264 for now.

Depends on D7895

Differential Revision: https://phabricator.services.mozilla.com/D7908

--HG--
extra : moz-landing-system : lando
2018-10-09 20:36:18 +00:00
Jean-Yves Avenard
26ace1a1c9 Bug 1496529 - P5. Don't unnecessarily wait on decoder to shutdown r=bryce
Depends on D7864

Differential Revision: https://phabricator.services.mozilla.com/D7865

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:14 +00:00
Jean-Yves Avenard
2ae449a166 Bug 1496529 - P4. Remove unnecessary code. r=bryce
TaskQueue no longer requires explicit shutdown

Depends on D7862

Differential Revision: https://phabricator.services.mozilla.com/D7864

--HG--
extra : moz-landing-system : lando
2018-10-09 16:59:12 +00:00
Ryan VanderMeulen
4991ef2f9d Bug 1425835 - Update libjpeg-turbo to version 2.0.0. r=aosmond
Also includes the fix for upstream issue #288 to avoid crashes on some older Win7 systems.

Differential Revision: https://phabricator.services.mozilla.com/D7758

--HG--
rename : media/libjpeg/simd/jsimd_arm.c => media/libjpeg/simd/arm/jsimd.c
rename : media/libjpeg/simd/jsimd_arm_neon.S => media/libjpeg/simd/arm/jsimd_neon.S
rename : media/libjpeg/simd/jsimd_arm64.c => media/libjpeg/simd/arm64/jsimd.c
rename : media/libjpeg/simd/jsimd_arm64_neon.S => media/libjpeg/simd/arm64/jsimd_neon.S
rename : media/libjpeg/simd/jccolext-mmx.asm => media/libjpeg/simd/i386/jccolext-mmx.asm
rename : media/libjpeg/simd/jccolext-sse2.asm => media/libjpeg/simd/i386/jccolext-sse2.asm
rename : media/libjpeg/simd/jccolor-mmx.asm => media/libjpeg/simd/i386/jccolor-mmx.asm
rename : media/libjpeg/simd/jccolor-sse2.asm => media/libjpeg/simd/i386/jccolor-sse2.asm
rename : media/libjpeg/simd/jcgray-mmx.asm => media/libjpeg/simd/i386/jcgray-mmx.asm
rename : media/libjpeg/simd/jcgray-sse2.asm => media/libjpeg/simd/i386/jcgray-sse2.asm
rename : media/libjpeg/simd/jcgryext-mmx.asm => media/libjpeg/simd/i386/jcgryext-mmx.asm
rename : media/libjpeg/simd/jcgryext-sse2.asm => media/libjpeg/simd/i386/jcgryext-sse2.asm
rename : media/libjpeg/simd/jchuff-sse2.asm => media/libjpeg/simd/i386/jchuff-sse2.asm
rename : media/libjpeg/simd/jcsample-mmx.asm => media/libjpeg/simd/i386/jcsample-mmx.asm
rename : media/libjpeg/simd/jcsample-sse2.asm => media/libjpeg/simd/i386/jcsample-sse2.asm
rename : media/libjpeg/simd/jdcolext-mmx.asm => media/libjpeg/simd/i386/jdcolext-mmx.asm
rename : media/libjpeg/simd/jdcolext-sse2.asm => media/libjpeg/simd/i386/jdcolext-sse2.asm
rename : media/libjpeg/simd/jdcolor-mmx.asm => media/libjpeg/simd/i386/jdcolor-mmx.asm
rename : media/libjpeg/simd/jdcolor-sse2.asm => media/libjpeg/simd/i386/jdcolor-sse2.asm
rename : media/libjpeg/simd/jdmerge-mmx.asm => media/libjpeg/simd/i386/jdmerge-mmx.asm
rename : media/libjpeg/simd/jdmerge-sse2.asm => media/libjpeg/simd/i386/jdmerge-sse2.asm
rename : media/libjpeg/simd/jdmrgext-mmx.asm => media/libjpeg/simd/i386/jdmrgext-mmx.asm
rename : media/libjpeg/simd/jdmrgext-sse2.asm => media/libjpeg/simd/i386/jdmrgext-sse2.asm
rename : media/libjpeg/simd/jdsample-mmx.asm => media/libjpeg/simd/i386/jdsample-mmx.asm
rename : media/libjpeg/simd/jdsample-sse2.asm => media/libjpeg/simd/i386/jdsample-sse2.asm
rename : media/libjpeg/simd/jfdctflt-3dn.asm => media/libjpeg/simd/i386/jfdctflt-3dn.asm
rename : media/libjpeg/simd/jfdctflt-sse.asm => media/libjpeg/simd/i386/jfdctflt-sse.asm
rename : media/libjpeg/simd/jfdctfst-mmx.asm => media/libjpeg/simd/i386/jfdctfst-mmx.asm
rename : media/libjpeg/simd/jfdctfst-sse2.asm => media/libjpeg/simd/i386/jfdctfst-sse2.asm
rename : media/libjpeg/simd/jfdctint-mmx.asm => media/libjpeg/simd/i386/jfdctint-mmx.asm
rename : media/libjpeg/simd/jfdctint-sse2.asm => media/libjpeg/simd/i386/jfdctint-sse2.asm
rename : media/libjpeg/simd/jidctflt-3dn.asm => media/libjpeg/simd/i386/jidctflt-3dn.asm
rename : media/libjpeg/simd/jidctflt-sse.asm => media/libjpeg/simd/i386/jidctflt-sse.asm
rename : media/libjpeg/simd/jidctflt-sse2.asm => media/libjpeg/simd/i386/jidctflt-sse2.asm
rename : media/libjpeg/simd/jidctfst-mmx.asm => media/libjpeg/simd/i386/jidctfst-mmx.asm
rename : media/libjpeg/simd/jidctfst-sse2.asm => media/libjpeg/simd/i386/jidctfst-sse2.asm
rename : media/libjpeg/simd/jidctint-mmx.asm => media/libjpeg/simd/i386/jidctint-mmx.asm
rename : media/libjpeg/simd/jidctint-sse2.asm => media/libjpeg/simd/i386/jidctint-sse2.asm
rename : media/libjpeg/simd/jidctred-mmx.asm => media/libjpeg/simd/i386/jidctred-mmx.asm
rename : media/libjpeg/simd/jidctred-sse2.asm => media/libjpeg/simd/i386/jidctred-sse2.asm
rename : media/libjpeg/simd/jquant-3dn.asm => media/libjpeg/simd/i386/jquant-3dn.asm
rename : media/libjpeg/simd/jquant-mmx.asm => media/libjpeg/simd/i386/jquant-mmx.asm
rename : media/libjpeg/simd/jquant-sse.asm => media/libjpeg/simd/i386/jquant-sse.asm
rename : media/libjpeg/simd/jquantf-sse2.asm => media/libjpeg/simd/i386/jquantf-sse2.asm
rename : media/libjpeg/simd/jquanti-sse2.asm => media/libjpeg/simd/i386/jquanti-sse2.asm
rename : media/libjpeg/simd/jsimd_i386.c => media/libjpeg/simd/i386/jsimd.c
rename : media/libjpeg/simd/jsimdcpu.asm => media/libjpeg/simd/i386/jsimdcpu.asm
rename : media/libjpeg/simd/jsimd_mips.c => media/libjpeg/simd/mips/jsimd.c
rename : media/libjpeg/simd/jsimd_mips_dspr2.S => media/libjpeg/simd/mips/jsimd_dspr2.S
rename : media/libjpeg/simd/jsimd_mips_dspr2_asm.h => media/libjpeg/simd/mips/jsimd_dspr2_asm.h
rename : media/libjpeg/simd/jcolsamp.inc => media/libjpeg/simd/nasm/jcolsamp.inc
rename : media/libjpeg/simd/jdct.inc => media/libjpeg/simd/nasm/jdct.inc
rename : media/libjpeg/simd/jpeg_nbits_table.inc => media/libjpeg/simd/nasm/jpeg_nbits_table.inc
rename : media/libjpeg/simd/jsimdcfg.inc => media/libjpeg/simd/nasm/jsimdcfg.inc
rename : media/libjpeg/simd/jsimdext.inc => media/libjpeg/simd/nasm/jsimdext.inc
rename : media/libjpeg/simd/jccolext-altivec.c => media/libjpeg/simd/powerpc/jccolext-altivec.c
rename : media/libjpeg/simd/jccolor-altivec.c => media/libjpeg/simd/powerpc/jccolor-altivec.c
rename : media/libjpeg/simd/jcgray-altivec.c => media/libjpeg/simd/powerpc/jcgray-altivec.c
rename : media/libjpeg/simd/jcgryext-altivec.c => media/libjpeg/simd/powerpc/jcgryext-altivec.c
rename : media/libjpeg/simd/jcsample-altivec.c => media/libjpeg/simd/powerpc/jcsample-altivec.c
rename : media/libjpeg/simd/jcsample.h => media/libjpeg/simd/powerpc/jcsample.h
rename : media/libjpeg/simd/jdcolext-altivec.c => media/libjpeg/simd/powerpc/jdcolext-altivec.c
rename : media/libjpeg/simd/jdcolor-altivec.c => media/libjpeg/simd/powerpc/jdcolor-altivec.c
rename : media/libjpeg/simd/jdmerge-altivec.c => media/libjpeg/simd/powerpc/jdmerge-altivec.c
rename : media/libjpeg/simd/jdmrgext-altivec.c => media/libjpeg/simd/powerpc/jdmrgext-altivec.c
rename : media/libjpeg/simd/jdsample-altivec.c => media/libjpeg/simd/powerpc/jdsample-altivec.c
rename : media/libjpeg/simd/jfdctfst-altivec.c => media/libjpeg/simd/powerpc/jfdctfst-altivec.c
rename : media/libjpeg/simd/jfdctint-altivec.c => media/libjpeg/simd/powerpc/jfdctint-altivec.c
rename : media/libjpeg/simd/jidctfst-altivec.c => media/libjpeg/simd/powerpc/jidctfst-altivec.c
rename : media/libjpeg/simd/jidctint-altivec.c => media/libjpeg/simd/powerpc/jidctint-altivec.c
rename : media/libjpeg/simd/jquanti-altivec.c => media/libjpeg/simd/powerpc/jquanti-altivec.c
rename : media/libjpeg/simd/jsimd_powerpc.c => media/libjpeg/simd/powerpc/jsimd.c
rename : media/libjpeg/simd/jsimd_altivec.h => media/libjpeg/simd/powerpc/jsimd_altivec.h
rename : media/libjpeg/simd/jccolext-sse2-64.asm => media/libjpeg/simd/x86_64/jccolext-sse2.asm
rename : media/libjpeg/simd/jccolor-sse2-64.asm => media/libjpeg/simd/x86_64/jccolor-sse2.asm
rename : media/libjpeg/simd/jcgray-sse2-64.asm => media/libjpeg/simd/x86_64/jcgray-sse2.asm
rename : media/libjpeg/simd/jcgryext-sse2-64.asm => media/libjpeg/simd/x86_64/jcgryext-sse2.asm
rename : media/libjpeg/simd/jchuff-sse2-64.asm => media/libjpeg/simd/x86_64/jchuff-sse2.asm
rename : media/libjpeg/simd/jcsample-sse2-64.asm => media/libjpeg/simd/x86_64/jcsample-sse2.asm
rename : media/libjpeg/simd/jdcolext-sse2-64.asm => media/libjpeg/simd/x86_64/jdcolext-sse2.asm
rename : media/libjpeg/simd/jdcolor-sse2-64.asm => media/libjpeg/simd/x86_64/jdcolor-sse2.asm
rename : media/libjpeg/simd/jdmerge-sse2-64.asm => media/libjpeg/simd/x86_64/jdmerge-sse2.asm
rename : media/libjpeg/simd/jdmrgext-sse2-64.asm => media/libjpeg/simd/x86_64/jdmrgext-sse2.asm
rename : media/libjpeg/simd/jdsample-sse2-64.asm => media/libjpeg/simd/x86_64/jdsample-sse2.asm
rename : media/libjpeg/simd/jfdctflt-sse-64.asm => media/libjpeg/simd/x86_64/jfdctflt-sse.asm
rename : media/libjpeg/simd/jfdctfst-sse2-64.asm => media/libjpeg/simd/x86_64/jfdctfst-sse2.asm
rename : media/libjpeg/simd/jfdctint-sse2-64.asm => media/libjpeg/simd/x86_64/jfdctint-sse2.asm
rename : media/libjpeg/simd/jidctflt-sse2-64.asm => media/libjpeg/simd/x86_64/jidctflt-sse2.asm
rename : media/libjpeg/simd/jidctfst-sse2-64.asm => media/libjpeg/simd/x86_64/jidctfst-sse2.asm
rename : media/libjpeg/simd/jidctint-sse2-64.asm => media/libjpeg/simd/x86_64/jidctint-sse2.asm
rename : media/libjpeg/simd/jidctred-sse2-64.asm => media/libjpeg/simd/x86_64/jidctred-sse2.asm
rename : media/libjpeg/simd/jquantf-sse2-64.asm => media/libjpeg/simd/x86_64/jquantf-sse2.asm
rename : media/libjpeg/simd/jquanti-sse2-64.asm => media/libjpeg/simd/x86_64/jquanti-sse2.asm
rename : media/libjpeg/simd/jsimd_x86_64.c => media/libjpeg/simd/x86_64/jsimd.c
extra : moz-landing-system : lando
2018-10-09 15:23:57 +00:00
Nathan Froyd
2975d8ecc6 Bug 1495871 - remove chromium atomics code; r=jld
The only consumer of this code was Singleton, which we previously
removed, and everything that this code accomplished can be done more
simply and more foolproof-y by standard constructs these days.
2018-10-05 13:43:46 -04:00
Nathan Froyd
3ad47676b6 Bug 1495871 - fix windows includes of singleton.h; r=jesup
This #include was already removed upstream.
2018-10-05 13:43:47 -04:00
Nathan Froyd
057f4e8530 Bug 1495871 - use C++11 statics in static_instance.h; r=jesup
C++11 provides guaranteed thread-safe static initialization, so we can
use that instead of ipc's baroque Singleton class.
2018-10-05 13:43:47 -04:00
Nathan Froyd
4aa30f1f2b Bug 1495871 - fix webrtc header cargo culting; r=jesup
When we remove singleton.h, some webrtc code will be unhappy, because of
cargo-culted definitions from singleton.h or included headers.  Let's
fix those first
2018-10-05 13:43:47 -04:00
Byron Campen [:bwc]
ca982a9fae Bug 1493689 - Defer close of old stream after ICE restart. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D7626

--HG--
extra : rebase_source : d842ee5e65330177afc3d215f94ef69ab800412b
2018-10-04 21:30:22 -04:00
Tom Ritter
67d997dd40 Bug 1491848 Patch libyuv to fix the x86 mingw-clang build r=jesup
This patch combines the following two upstream patches
(which we are missing, because we're out of date):

d8680893ec%5E%21/
6e498475c7%5E%21/

Differential Revision: https://phabricator.services.mozilla.com/D7218

--HG--
extra : moz-landing-system : lando
2018-10-03 22:00:44 +00:00
Byron Campen [:bwc]
c88e11cbd1 Bug 1495160: Count datachannel "tracks" properly again. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D7494

--HG--
extra : moz-landing-system : lando
2018-10-03 14:07:12 +00:00
Dan Minor
3899a4a894 Bug 1494316 - Update generated json and moz.build files; r=dmajor
Depends on D7102

Differential Revision: https://phabricator.services.mozilla.com/D7104

--HG--
extra : moz-landing-system : lando
2018-09-27 17:39:12 +00:00
Dan Minor
ac1afbc0db Bug 1494316 - Remove gn generated json files for win64; r=dmajor
These are identical to the 32 bit versions and so are no longer necessary to correctly
generate moz.build files for windows.

Depends on D7101

Differential Revision: https://phabricator.services.mozilla.com/D7102

--HG--
extra : moz-landing-system : lando
2018-09-27 17:41:31 +00:00
Dan Minor
014d677bb3 Bug 1494316 - Set enable_iterator_debugging; r=dmajor
This flag is not required and causes problems with mingw builds.

Differential Revision: https://phabricator.services.mozilla.com/D7101

--HG--
extra : moz-landing-system : lando
2018-09-27 17:41:34 +00:00
Byron Campen [:bwc]
8e84dcb778 Bug 1493765: Stop using NrIce* in PeerConnectionImpl. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D6767

--HG--
extra : moz-landing-system : lando
2018-09-27 18:27:25 +00:00
Nathan Froyd
432939f95c Bug 1494503 - disable neon codepaths in libyuv for aarch64 windows; r=jesup
The NEON codepaths could work, but they'd have to be converted to
MSVC-friendly assembly (or separate .asm files) first.  Just disable
building them for now.
2018-09-27 14:33:26 -04:00
Dragana Damjanovic
9cadc84486 Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
--HG--
extra : rebase_source : be79870960953ef9535ccb6a440515ec4a8232d5
extra : histedit_source : 8096ab2eaf246cbbeb97bace0531b86b8c69ff66
2018-09-22 23:54:11 +03:00
Byron Campen [:bwc]
846bdbd571 Bug 1493146: Lengthen ice-pwd r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D6490

--HG--
extra : moz-landing-system : lando
2018-09-21 15:48:52 +00:00
Gurzau Raul
07d30b811f Backed out changeset dc225279994a (bug 1473736) for web platform leaks 2018-09-21 04:30:10 +03:00
Dragana Damjanovic
70e0646d75 Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
Implement necko part of ESNI

Differential Revision: https://phabricator.services.mozilla.com/D2716

--HG--
extra : moz-landing-system : lando
2018-09-20 20:53:28 +00:00
Andreea Pavel
c8f8e2da0d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-21 01:00:46 +03:00
Andreea Pavel
f5f6c0b588 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-21 00:54:47 +03:00
Byron Campen [:bwc]
93985b16c9 Bug 1486012: Rework ICE restart. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D5897

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_restartIceLocalAndRemoteRollback.html => dom/media/tests/mochitest/test_peerConnection_restartIceLocalAndRemoteRollbackNoSubsequentRestart.html
rename : dom/media/tests/mochitest/test_peerConnection_restartIceLocalRollback.html => dom/media/tests/mochitest/test_peerConnection_restartIceLocalRollbackNoSubsequentRestart.html
extra : moz-landing-system : lando
2018-09-20 16:07:51 +00:00
Dan Minor
d42f66fd2b Bug 1492834 - Remove "Attempting to protect RTP" and related log messages; r=bwc
This removes the info messages and adds the packet type to the error messages.

Differential Revision: https://phabricator.services.mozilla.com/D6392

--HG--
extra : moz-landing-system : lando
2018-09-20 14:11:44 +00:00
Byron Campen [:bwc]
9331177d4f Bug 1492248: Remove AAL2 profile stuff from the sipcc parser. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D6296

--HG--
extra : moz-landing-system : lando
2018-09-20 15:06:43 +00:00
Andrew Johnson
0b06a3bc82 Bug 1489757 - Bug 1448863 causes video streams to take a very long time to recover from packet loss; r=bwc
This patch sets mDecoderStatus from the GMPThread so we can eventually report
an error back to the caller. Since this done during an asynchronous call, there
is no guarantee that the error will be associated with the correct frame, but
this workaround should eventually cause an error to be signalled, so that a
PLI can be requested and video will not freeze.

--HG--
extra : rebase_source : 2c32de4218b97ce1a47c5ec118cc864fff786060
2018-09-20 08:23:32 -04:00
Thomas Daede
3e8224c602 Bug 1368843: Enable libaom on Android. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D6336

--HG--
extra : moz-landing-system : lando
2018-09-20 08:25:35 +00:00
Nils Ohlmeier [:drno]
5d1ae0414f Bug 1491511: add Telemetry for SRTP cipher usage. r=mt
Bug 1491511: add Telemetry for SRTP cipher usage. r=mt

Differential Revision: https://phabricator.services.mozilla.com/D5956

--HG--
extra : moz-landing-system : lando
2018-09-19 00:08:25 +00:00
Thomas Daede
a6f10c9181 Bug 1489285: Update libaom. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6206

--HG--
rename : third_party/aom/aom_ports/ppc.h => third_party/aom/aom_dsp/x86/sum_squares_sse2.h
rename : third_party/aom/av1/decoder/obu.h => third_party/aom/av1/common/obu_util.h
rename : third_party/aom/build/make/ios-Info.plist => third_party/aom/build/cmake/ios-Info.plist
rename : third_party/aom/build/make/iosbuild.sh => third_party/aom/build/cmake/iosbuild.sh
rename : third_party/aom/build/make/rtcd.pl => third_party/aom/build/cmake/rtcd.pl
rename : third_party/aom/common/y4menc.h => third_party/aom/common/rawenc.h
extra : moz-landing-system : lando
2018-09-19 21:27:06 +00:00
Thomas Daede
94bbb3986e Bug 1489285: Update libaom vendor scripts. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D5216

--HG--
extra : moz-landing-system : lando
2018-09-19 21:26:37 +00:00
Andreas Pehrson
ac369ba83b Bug 1253499 - Break out VideoStreamFactory to separate file. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6263

--HG--
extra : moz-landing-system : lando
2018-09-19 15:51:46 +00:00
Andreas Pehrson
6f26c10cda Bug 1253499 - Don't lock the conduit's mutex in VideoStreamFactory to avoid deadlocks. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6152

--HG--
extra : moz-landing-system : lando
2018-09-19 15:01:28 +00:00
Andreas Pehrson
6bb6b7df2d Bug 1253499 - Fix VideoConduit's maxFps gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6151

--HG--
extra : moz-landing-system : lando
2018-09-19 15:01:03 +00:00
Andreas Pehrson
a47bf6c705 Bug 1253499 - Keep a single video codec config in MockCall. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D6150

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:57 +00:00
Andreas Pehrson
c09f5af6aa Bug 1253499 - Make RTPSender.setParameters reconfigure the encoder. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D4134

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:51 +00:00
Andreas Pehrson
a677f0bd40 Bug 1253499 - Implement a new scaling algorithm for simulcast. r=bwc,dminor
webrtc.org is picky about resolutions for simulcasst layers.
As of current it will assert that all layers have identical aspect ratio.
We handle this by ignoring layers where the aspect ratio is not the same as
the highest layer's.

The new algorithm will, when simulcast is requested and at least one layer
is scaled to something other than 1.0, try to remedy this by:
- The highest resolution layer is cropped to 16-pixel alignment, to ensure
  that scaling options exist.
- A separate VideoAdapter is used for simulcast layers, with the highest
  layer's resolution as an aspect ratio requirement. This forces the
  simulcast adapter to retain that aspect ratio in any scaling decisions.

This doesn't make scaling decisions spec-compliant (floor the width and
height respectively) but it does allow for control of scaling via
setParameters and keeps scaling decisions in upstream code to ensure
good compat with upstream's part of the pipe; encoders, etc.

Differential Revision: https://phabricator.services.mozilla.com/D4133

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:45 +00:00
Andreas Pehrson
bfcb6bed9f Bug 1253499 - Add gtest for scaling all layers. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4132

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:39 +00:00
Andreas Pehrson
05c3bdc366 Bug 1253499 - Update gtests to cover live-updates to codec config and new algorithm. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4131

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:33 +00:00
Andreas Pehrson
2e9aea732c Bug 1253499 - Add simulcast scaleDownBy encoding gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4130

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:27 +00:00
Andreas Pehrson
952d6a8d56 Bug 1253499 - Add scaleDownBy encoding gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4129

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:21 +00:00
Andreas Pehrson
b6fba2b5ad Bug 1253499 - Assert that chrome-only RID methods are succesful. r=bwc
A failure here typically indicates a test error, so it's useful for debugging.

Differential Revision: https://phabricator.services.mozilla.com/D4124

--HG--
extra : moz-landing-system : lando
2018-09-19 14:59:44 +00:00
arthur.iakab
1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Noemi Erli
efdd6a208a Backed out changeset 7aa742bff8fb (bug 1473736) for xpcshell failures and bc failures in browser_urlbarSearchSingleWordNotification.js 2018-09-18 22:07:58 +03:00
Ryan VanderMeulen
f53c113d39 Bug 1491467 - Update libpng to 1.6.35. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D5913

--HG--
extra : moz-landing-system : lando
2018-09-18 18:33:11 +00:00
Dragana Damjanovic
f000a5b4b0 Bug 1473736 - Implement necko part of ESNI r=mcmanus
Implement necko part of ESNI

Differential Revision: https://phabricator.services.mozilla.com/D2716

--HG--
extra : moz-landing-system : lando
2018-09-17 23:08:14 +00:00
Jean-Yves Avenard
25a4bdf7f8 Bug 1489052 - Resync cubeb to b832dae6e48d3a95d1e6d977d0b7c53a873fd246. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D6032

--HG--
extra : moz-landing-system : lando
2018-09-18 11:38:20 +00:00
Byron Campen [:bwc]
b530163b3c Bug 1491476: Fix strncpy length in a couple of error cases. r=mjf,drno
--HG--
extra : rebase_source : 5830c7df02247cea4395abe5d88dd59e5aa318b9
extra : amend_source : 6867b4861a4517d1c597cbd20074f47c7044baba
2018-09-18 16:56:25 +03:00
Andreas Tolfsen
4eb1661657 bug 1490674: rsdparsa: relax log crate dependency version; r=drno
Because all Rust crates in the tree are vendored, using the wildcard
"*" version dependency could have unintended reprecussions on
rsdparsa if another crate changes its log version dependency.

This patch, along with the others associated with this bug, upgrades
the log crate to 0.4.* throughout.  This has the benefit that we
can get rid of the duplicate vendored log crates in third_party/rust.
2018-09-14 12:28:00 +01:00
Andreas Tolfsen
2c2a931c23 bug 1490674: audioipc: relax log crate dependency version; r=kamidphish
By relaxing the version dependency on the log crate we are able to
get rid of duplicate vendored crates.

This particular version number, combined with rsdparsa depending
on "*" (anything) meant that a change to this version number in
audioipc would have reprecussions on the dependencies of rsdparsa.
I will address the wildcard version in a separate patch on rsdparsa.
2018-09-14 12:28:00 +01:00
Nils Ohlmeier [:drno]
3dab079c7c Bug 1479665: add GCM ciphers to SrtpFlow. r=bwc
add GCM ciphers to SrtpFlow

Differential Revision: https://phabricator.services.mozilla.com/D5731

--HG--
extra : moz-landing-system : lando
2018-09-14 03:12:05 +00:00
Noemi Erli
a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Jim Chen
1129b28317 Bug 1480834 - 1. Add WebRTC config for x86_64 on Android; r=dminor
Add GN config files and updated moz.build files for building WebRTC on
Android x86_64.

Differential Revision: https://phabricator.services.mozilla.com/D4479
2018-09-13 12:09:25 -04:00
Bryce Van Dyk
413ba3feef Bug 1487811 - P1: Update Widevine headers and C++ code to prepare for CDM interface 10 support. r=cpearce
Update content_decryption_module.h and other Widevine headers. This removes the
CDM8 interface and adds in the CDM10 and CDM11 interfaces. As such this patch
removes references to CDM8 from the code and adds some of the foundations for
supporting CDM10. Most of the CDM10 code will be implemented in another bug, but
there are a number of cases where it was straight forward to shuffle CDM8+9 code
-> CDM9+10, rather than deleting it and replacing it later.

Differential Revision: https://phabricator.services.mozilla.com/D5628

--HG--
extra : moz-landing-system : lando
2018-09-13 14:49:10 +00:00
Andreas Pehrson
36b18d1b4e Bug 1404992 - Recreate the VideoConduit's video adapter when setting the send codec config. r=dminor
This enables us to configure it for cropping to a certain resolution alignment in a future patch.
For instance with simulcast, so we don't have to skip a layer because it is impossible to scale
the highest layer any further without losing the aspect ratio.

--HG--
extra : rebase_source : 4560c60dfa95213b2f3357d0b279c07835402b33
extra : source : e80af22a3bf37ad8fa5762d9a16d677d2befd470
2018-09-11 14:51:39 +02:00
Andreas Pehrson
cddafa728d Bug 1404992 - Don't rely on VideoAdapter in VideoConduit unittests. r=dminor
--HG--
extra : rebase_source : 267a182c709ff1777b02d455f2a6f3309260c397
extra : source : db576775e6fcb18ab3546550a60e57482c91f68d
2018-09-11 14:51:37 +02:00
Andreas Pehrson
d226723e37 Bug 1404992 - Audit, document, assert and fix threading policy of VideoConduit. r=dminor, r=bwc
--HG--
extra : rebase_source : 281771b96a3f0c2a95d6a7c7ccf0556c1a869001
extra : source : 7d1e74f3e80158dbb71adc5d1c036941e7ab8da9
2018-09-11 14:51:32 +02:00
Andreas Pehrson
2e19da61da Bug 1404992 - Make VideoConduit scaling use a buffer pool. r=dminor
--HG--
extra : rebase_source : 52d5e5b6519a32119bca44ff685782ad244552d6
extra : source : b3f5796ab356f19763759d4eeb21df1b443de33f
2018-09-11 14:51:29 +02:00
Andreas Pehrson
c30f9f1367 Bug 1404992 - Refactor incoming frames' scaling path. r=dminor
--HG--
extra : rebase_source : 3282c6d8a20d4fd7450e99c03bde821aff06b66e
extra : source : 823952d81821d65a6a8c3a0031e532fc3dffb825
2018-09-11 14:51:26 +02:00
Andreas Pehrson
8865bbcbfe Bug 1404992 - Initialize VideoConduit members in declarations. r=dminor
--HG--
extra : rebase_source : e552430cc47444800c06d445b2e49941c488057c
extra : source : 7a06d3a9341ada35c1336f5bdf899c3817baff61
2018-09-11 14:51:24 +02:00
Andreas Pehrson
793fde35a0 Bug 1404992 - Reduce bitrate selection paths. r=dminor
--HG--
extra : rebase_source : bd1202ed1389d10c4c3162ab01e168007e535872
extra : source : a45420fb1dd0cc7971b7fe6e170bfd88c96db6d2
2018-09-11 14:51:21 +02:00
Andreas Pehrson
16fdd518b3 Bug 1404992 - Use common code to convert images to I420. r=dminor
--HG--
extra : rebase_source : 7cb2c551870e06f4929da3366a523eaff9b86b2c
extra : source : f37bd9a9f4af84a6068d0b030427dab47bed7eb8
2018-09-11 14:51:16 +02:00
Andreas Pehrson
4525ecf9db Bug 1404992 - Remove unused/unnecessary code and do some cleanup. r=dminor
--HG--
extra : rebase_source : 75c9dd16a4a98d7c7e35e2fb350bb2744401e63b
extra : source : ee698a8bb92c2570b91ac65a2c8fe9fb7f680b71
2018-09-11 14:51:13 +02:00
Dan Minor
83a7068d62 Bug 1487049 - Set ENABLE_HARDENING for libopus; r=jmspeex
Reviewers: jmvalin

Tags: #secure-revision

Bug #: 1487049

Differential Revision: https://phabricator.services.mozilla.com/D4932

--HG--
extra : rebase_source : 3d7e33970e51389a1c8fac4f512fc894022463fd
2018-09-04 08:15:09 -04:00
Dan Minor
97e20c839b Bug 1487049 - Update libopus non-unified build files; r=jmspeex
Tags: #secure-revision

Bug #: 1487049

Differential Revision: https://phabricator.services.mozilla.com/D4723

--HG--
extra : rebase_source : c5f7f27fcfd0eddde40bcb4ad0630e0ecd03f045
2018-08-30 10:31:19 -04:00
Dan Minor
0647afe16d Bug 1487049 - Update libopus to v1.3-rc-19-g5cbd7d5f; r=jmspeex
Tags: #secure-revision

Bug #: 1487049

Differential Revision: https://phabricator.services.mozilla.com/D4722

--HG--
extra : rebase_source : be8730e9af46dae04923be4497132795f58fb2dd
2018-08-30 10:29:43 -04:00
Nathan Froyd
b47b2129d2 Bug 1481515 - add a libvpx config for aarch64 windows; r=padenot,jya,dminor 2018-09-11 16:05:09 -04:00
Dan Minor
9601e808c9 Bug 1487419 - Save current desktop configuration in ScreenCapturerMac::Init; r=pehrsons
Summary:
The fix for Bug 1409018 accidentally removed saving the current desktop
configuration during Init() which causes it to not be set when a different
screen is selected, meaning that regardless of the choice made, only the
first screen is captured.

Reviewers: pehrsons

Tags: #secure-revision

Bug #: 1487419

Differential Revision: https://phabricator.services.mozilla.com/D5062

--HG--
extra : rebase_source : bb4f9a0f4e06dfbd9730b7af4a0748749d72c3da
2018-09-05 13:55:27 -04:00
Nils Ohlmeier [:drno]
e88a043618 Bug 1480869: define SRTP ciphers suites inside mtransport r=mt
define SRTP cipher suites inside mtransport

Differential Revision: https://phabricator.services.mozilla.com/D5490

--HG--
extra : moz-landing-system : lando
2018-09-11 03:58:34 +00:00
Tom Ritter
9653a5e959 Bug 1489550 Remove a stray merge file that got commited r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D5281

--HG--
extra : moz-landing-system : lando
2018-09-07 17:46:47 +00:00
Jean-Yves Avenard
2db366fbd9 Bug 1489102 - P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216 r=bryce
temp fix, will do a full one once upstream change is merged

Differential Revision: https://phabricator.services.mozilla.com/D5198

--HG--
extra : moz-landing-system : lando
2018-09-07 14:17:06 +00:00
Martin Thomson
1d41c9edcb Bug 1485883 - Handle use_srtp extension in gecko, r=drno
Summary:
This implements the SRTP extension in TransportLayerDtls.  My hope is
that we can expunge the SRTP code from NSS in a few releases.

Reviewers: drno

Subscribers: ekr

Tags: #secure-revision

Bug #: 1485883

Differential Revision: https://phabricator.services.mozilla.com/D4188

MozReview-Commit-ID: Cwjrn9wsCQr
2018-09-07 11:50:21 +10:00
Jean-Yves Avenard
032d3b87d7 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 13:18:00 +00:00
Coroiu Cristina
79c7b523f8 Backed out changeset 29daa22239e9 (bug 1488065) for mda failures at dom/media/test/test_videoPlaybackQuality_totalFrames.html 2018-09-06 14:06:11 +03:00
Christian Holler
98c039b689 Bug 1488702 - Add an AV1 decoder fuzzing target. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D5027

--HG--
extra : moz-landing-system : lando
2018-09-06 10:25:28 +00:00
Jean-Yves Avenard
38a3bd2e77 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 08:42:52 +00:00
Narcis Beleuzu
1e60ae6690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-30 20:08:44 +03:00
Nathan Froyd
9cd5a72ad2 Bug 1481512 - limit libvorbis x86-64 assembly to x86-64 windows; r=padenot
...rather than all 64-bit Windows implementations.
2018-08-30 13:00:36 -04:00
Dan Minor
51b2f38d60 Bug 1486817 - Use separate log modules for mediapipeline and rtplogger; r=bwc
This restores the separate mediapipeline and RtpLogger lazy log modules that
were unified with the Signaling log module in Bug 1402334.

Differential Revision: https://phabricator.services.mozilla.com/D4478

--HG--
extra : moz-landing-system : lando
2018-08-29 17:10:17 +00:00
Margareta Eliza Balazs
2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Tom Ritter
7e0fefeaa0 Bug 1475566 Disable #pragma comments for MinGW Builds r=glandium
In the MinGW browser build job, we're going to use -fms-extensions,
which will tell clang to start processing these comments. Clang
cannot process them correctly (it's an upstream bug) but it doesn't
need to, because we include the libs we need in moz.build files.

So we exclude them for MinGW builds. mingw-clang gets them wrong and
mingw-gcc (which doesn't even work anymore on -central) ignored them.

In the future, with a llvm fix, we could clean up the moz.build
files and re-enable these comments.

Differential Revision: https://phabricator.services.mozilla.com/D3527

--HG--
extra : moz-landing-system : lando
2018-08-29 03:50:39 +00:00
Byron Campen [:bwc]
2a2903b7fe Bug 1483338: Stop using level as the identifier for media transports. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D3448

--HG--
extra : moz-landing-system : lando
2018-08-28 19:45:58 +00:00
Henri Sivonen
4bf9055862 Bug 1485592 - Avoid isdigit() in sdp_utils.c. r=drno
This fixes two problems:
 1) On Windows, isdigit() is locale-dependent.
 2) On platforms where char is signed, sign-extending char to int and passing
    the result to isdigit() was UB when the high bit was set, because
    isdigit() is defined to take a (signed) int with the value space of
    unsigned char or EOF.

MozReview-Commit-ID: D1lY88PEcpc

Differential Revision: https://phabricator.services.mozilla.com/D4316

--HG--
extra : moz-landing-system : lando
2018-08-27 18:12:16 +00:00
Matthew Gregan
ab37fcf704 Bug 1471922 - Update cubeb-pulse-rs to 79886477. r=kamidphish
--HG--
extra : rebase_source : 5ecf7036ff47adb36f55d8578e484154a81f7e95
2018-08-26 20:34:41 +12:00
Matthew Gregan
8f2c9bd605 Bug 1470041 - Update audioipc to 3d716fe8. r=kamidphish
--HG--
extra : rebase_source : cd12646e3d97093a3830ba7f8ba32c2a146cf8f4
2018-08-26 20:33:19 +12:00
Matthew Gregan
574fed09a7 Bug 1480003 - Update libnestegg to 7bafcb95. r=bryce
--HG--
extra : rebase_source : d49e929e5e462ffc57c5eccde1d97238c8d10631
2018-08-26 20:30:18 +12:00
Nils Ohlmeier [:drno]
0362a1b463 Bug 1484024: add Telemetry histogram for DTLS ciphers on RTCPeerConnection r=francois,mt
Added a Telemetry histrogram which collects which DTLS cipher got
negotiated when a RTCPeerConnection connected.

Differential Revision: https://phabricator.services.mozilla.com/D3551

--HG--
extra : moz-landing-system : lando
2018-08-24 22:49:42 +00:00
Nathan Froyd
0c3b82172f Bug 1486028 - update webrtc config headers to work with aarch64 windows; r=jesup 2018-08-28 20:23:04 -04:00
Makoto Kato
cac0bc6570 Bug 1434589 - Part 2. Update moz.build. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D3608

--HG--
extra : moz-landing-system : lando
2018-08-22 19:45:19 +00:00
Makoto Kato
58535b8081 Bug 1434589 - Part 1. Add gn-configs for Linux/aarch64. r=chmanchester
When building binaries for Linux/aarch64, ./mach configure cannot generate
Makefile by the following error.  So we need Linux/aarch64's gn-configs.


 1:07.80 mozbuild.frontend.reader.SandboxValidationError:
 1:07.80 ==============================
 1:07.80 FATAL ERROR PROCESSING MOZBUILD FILE
 1:07.80 ==============================
 1:07.80 The error occurred while processing the following file or one of the files it includes:
 1:07.80     /hg/mozilla-central/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
 1:07.80 The error occurred when validating the result of the execution. The reported error is:
 1:07.80     Source file should only be added to UNIFIED_SOURCES once: /media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c

Differential Revision: https://phabricator.services.mozilla.com/D3607

--HG--
extra : moz-landing-system : lando
2018-08-22 19:45:38 +00:00
Masatoshi Kimura
49ee57f31d Bug 1485028 - Fix warnings that are specific to clang-cl ASAN builds. r=dmajor
--HG--
extra : source : f0b577cc8b920352dfe297e7ec9cca58b1838c5d
2018-08-22 02:02:56 +09:00
Philipp Hancke
3a00b39e7b Bug 1481851 - Add kind to RTCRtpStreamStats as alias to mediaType. r=ng,smaug
spec change in https://github.com/w3c/webrtc-stats/issues/301
2018-08-08 17:30:40 +02:00
Thomas Daede
2868cd8be4 Bug 1417050: Add support for AV1 in MP4. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3365

--HG--
extra : moz-landing-system : lando
2018-08-20 23:56:39 +00:00
Byron Campen [:bwc]
f2c9b6dc47 Bug 1465617: (Speculative fix because STR are missing) Don't crash if no video send codecs are negotiated. r=mjf
This _might_ be the fix for the nullptr crash in bug 1465617.

Differential Revision: https://phabricator.services.mozilla.com/D3337

--HG--
extra : moz-landing-system : lando
2018-08-14 14:35:50 +00:00
Masatoshi Kimura
b190c1c0b3 Bug 1482583 - Suppress clang-cl warnings in some third-party directories. r=mshal
--HG--
extra : rebase_source : 68621ca3ad2565e173f3350744125993f85f49f3
2018-08-11 06:05:19 +09:00
Masatoshi Kimura
bcf431f3d3 Bug 1482547 - Suppress clang-cl warnings in media/mtransport/third-party/. r=froydnj
--HG--
extra : rebase_source : 71916734b08001258076bc10db3711b191430eb9
2018-08-11 06:08:07 +09:00
Philipp Hancke
08d0f88897 Bug 1481725: change minimum bitrate for VGA to 150kbps r=bwc
and adapt min bitrate below that.
Limits taken from the webrtc.org simulcast bitrate table.
2018-08-09 12:17:13 +02:00
Andreea Pavel
5d75e43adc Merge mozilla-inbound to mozilla-central. a=merge 2018-08-14 19:15:33 +03:00
Jean-Yves Avenard
caf8ead5fc Bug 1482841 - P1. Update mp4parse-rust to 643f48e137592e6318f6c780448374324908da31. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3261
2018-08-14 14:38:42 +02:00
Nils Ohlmeier [:drno]
e6eaea8889 Bug 1481548: Added additonal comparison for fmtp r=bwc
Added additional fmtp comparison for the parsing resutl comparer by
implementing the C++ == operator for SdpFmtpAttributeList.

Differential Revision: https://phabricator.services.mozilla.com/D3228

--HG--
extra : moz-landing-system : lando
2018-08-14 00:36:23 +00:00
Dan Minor
07a423be37 Bug 1480092 - Cherrypick rev 52add5896661d186dec284ed646a4b33b607d2c7. r=drno
--HG--
extra : amend_source : 8787ebf1cb3e3dc39ab38f78a82387c86903249b
2018-08-13 11:32:47 -04:00
Dan Minor
fdd6584333 Bug 1433158 - Disable avx512 in libvpx; r=jya
Summary:
This disables building avx512 due to difficulty in getting a working set of
compiler flags across our supported platforms. Rather than carrying this patch
forward, we should revisit supporting avx512 when we do the next update.

Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

Differential Revision: https://phabricator.services.mozilla.com/D2942

--HG--
extra : rebase_source : 0b828be5559a985a8ec5f12d6712b970545d0d83
2018-08-07 11:29:17 -04:00
Dan Minor
8f8bdf9e76 Bug 1433158 - Update libvpx to 1.7.0; r=jya
Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

Differential Revision: https://phabricator.services.mozilla.com/D2940

--HG--
extra : rebase_source : b0637fc24a3159b7b5d9ac017240be80dc07ce37
2018-08-07 14:21:57 -04:00
Dan Minor
2fa2ea17f5 Bug 1433158 - Remove vp9_svc.patch; r=jya
Summary:
This patch is already applied to the webrtc.org code and doing a libvpx update
does not remove it, so having this present leads to merge conflicts during the
update as it attempts to patch already patched code.

Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

Differential Revision: https://phabricator.services.mozilla.com/D2939

--HG--
extra : rebase_source : e641e8645467565f329c72f0869fe18aa2def846
2018-08-07 09:12:41 -04:00
Ciure Andrei
6056bb970c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-07 01:11:21 +03:00
Byron Campen [:bwc]
02bdb2d1ab Bug 1479853: Prevent more than one VideoConduit having the same remote SSRC. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D2738

--HG--
extra : moz-landing-system : lando
2018-08-06 18:08:55 +00:00
Masatoshi Kimura
3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Karl Tomlinson
defeece367 bug 1476231 remove now-unused libav from lgpllibs r=jya
MozReview-Commit-ID: AjFS01DBXqT

--HG--
extra : rebase_source : 09923977cb864066fc56502427104234bab90f7d
2018-07-16 17:35:34 +12:00
Karl Tomlinson
b99ba5e660 bug 1476231 add ffmpeg floating point real FFT functions to ffvpx when MOZ_LIBAV_FFT is configured r=jya
New files are from ffmpeg n3.4-1-g587fadaef1.

MozReview-Commit-ID: E9eLPySCpCz

--HG--
rename : media/libav/libavcodec/avfft.c => media/ffvpx/libavcodec/avfft.c
rename : media/libav/libavcodec/avfft.h => media/ffvpx/libavcodec/avfft.h
rename : media/libav/libavcodec/dct.h => media/ffvpx/libavcodec/dct.h
rename : media/libav/libavcodec/fft-internal.h => media/ffvpx/libavcodec/fft-internal.h
rename : media/libav/libavcodec/fft.h => media/ffvpx/libavcodec/fft.h
rename : media/libav/libavcodec/fft_float.c => media/ffvpx/libavcodec/fft_float.c
rename : media/libav/libavcodec/fft_template.c => media/ffvpx/libavcodec/fft_template.c
rename : media/libav/libavcodec/rdft.c => media/ffvpx/libavcodec/rdft.c
rename : media/libav/libavcodec/rdft.h => media/ffvpx/libavcodec/rdft.h
rename : media/libav/libavcodec/x86/fft.asm => media/ffvpx/libavcodec/x86/fft.asm
rename : media/libav/libavcodec/x86/fft.h => media/ffvpx/libavcodec/x86/fft.h
rename : media/libav/libavcodec/x86/fft_init.c => media/ffvpx/libavcodec/x86/fft_init.c
extra : rebase_source : 35a960b3248bb23dbf56c19baad91b665094fbac
2018-07-15 20:08:27 +12:00
Karl Tomlinson
2ab37ac350 bug 1476231 remove unnecessary x86/cpuid.s, which does not exist in libav-11.3 r=jya
MozReview-Commit-ID: Ldani0i3n2e

--HG--
extra : rebase_source : 97a18b49d3810fc85951a29667fe6945f8a36259
2018-07-07 17:57:01 +12:00
Johannes Willbold
783eb76c4a Bug 1477815: Removed RustSdpAttributeType, r=dminor
Removed the enum RustSdpAttributeType and replaced it with the SdpAttributeType enum.

MozReview-Commit-ID: IcJnbnWa4IB

--HG--
extra : rebase_source : befb118948740122dbbdd033e20176351bdd2884
2018-07-23 13:45:04 -07:00
Johannes Willbold
0ee54d4592 Bug 1479510: Added a telemetry probe that records failed rsdparsa parsings, r=dminor
Added a telemetry probe that records failed rsdparsa parsings and whether the sipcc result contains errors.

MozReview-Commit-ID: BHfDRy8MyfZ

--HG--
extra : rebase_source : 9b03f1a8d0655926af1e561cc27e5549490616b2
2018-07-30 10:38:35 -07:00
Byron Campen [:bwc]
a600a51631 Bug 1476600: Stop reusing mids from stopped transceivers. r=jib
When a transceiver is stopped, its mid should not be reused by a new transceiver.

Differential Revision: https://phabricator.services.mozilla.com/D2518

--HG--
extra : moz-landing-system : lando
2018-07-31 20:44:47 +00:00
Byron Campen [:bwc]
7bd8b38fc7 Bug 1472321: Make sure sink identity is set on recvonly/inactive transceivers. r=drno,mjf
MozReview-Commit-ID: jZHsDKN5o6

--HG--
extra : rebase_source : 7483eff18a89aeb439ef4c02bdc6632e788b1a88
2018-07-17 09:43:27 -05:00
Byron Campen [:bwc]
006d12d9ba Bug 1474661: Fixed bug where we were overwriting the high quality simulcast config with the next one down, and add another entry to the resolutions/bitrates table. r=ng
MozReview-Commit-ID: DhPYvioLqAe

Differential Revision: https://phabricator.services.mozilla.com/D2480

--HG--
extra : moz-landing-system : lando
2018-07-30 22:27:27 +00:00
Johannes Willbold
0911d849a0 Bug 1476750: Updated preferences controlling Rust SDP Parse behavior, r=dminor,drno
Renamed the pref media.webrtc.rsdparsa_enabled to media.peerconnection.sdp.rust.compare
Added the pref media.peerconnection.sdp.rust.enabled
Added both to all.js

media.peerconnection.sdp.rust.compare: Controls whether the parsing result comparer for sipcc and rsdparsa runs or not.
media.peerconnection.sdp.rust.enabled: Controls whether the rsdparsa runs in parallel to the sipcc parser.

MozReview-Commit-ID: Ac5P7T2NBYD

--HG--
extra : rebase_source : afd60243ccba27965bea193bbe29d91bf7bf2644
2018-07-24 12:36:23 -07:00
Kris Maglione
08c58039d9 Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.

MozReview-Commit-ID: 2gzQbRKxaZ9

--HG--
extra : rebase_source : 582e41200e69ff3722585c7664ddd122eb0de2fe
extra : intermediate-source : e0a021b27d2c66d46ba973d66d1360678411da26
extra : source : 6d18a8bd5ee351da1a0cdfaa63f49706a2f95ba3
2018-07-18 23:29:16 -07:00
Johannes Willbold
e78b28d3b8 Bug 1432955: Implemented sdp parsing comparer, r=bwc,francois
Added signaling/src/sdp/ParsingResultComparer.h/.cpp
Added SDP comparer with telemetry and debug logging

MozReview-Commit-ID: ErdnLGPxHHF

--HG--
extra : rebase_source : ab9106915620f4bc0b8340cdec94d2e5c80966ae
2018-07-05 16:06:41 -07:00
dvarga
d8ac8507c9 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 25781a5ccee21a19f5c6ccacc2c96ab7eb4ed6b5
2018-07-28 01:32:38 +03:00
Cosmin Sabou
778ca4f84f Backed out 8 changesets (bug 1476405) for causing frequent failures in bug 1479022. a=backout
Backed out changeset ad1674e9152d (bug 1476405)
Backed out changeset e0a021b27d2c (bug 1476405)
Backed out changeset 771288dbf852 (bug 1476405)
Backed out changeset aeebad4f2dc3 (bug 1476405)
Backed out changeset 4831cbfd03de (bug 1476405)
Backed out changeset 0b0c243a1827 (bug 1476405)
Backed out changeset 236b366fdf37 (bug 1476405)
Backed out changeset c767b1b618fb (bug 1476405)
2018-07-28 01:25:25 +03:00
Dan Minor
0663fd94ea Bug 1478000 - Prepend -Xclang to -Wall; r=dmajor
Summary: We want the clang interpretation of -Wall, not the clang-cl one,
which translates -Wall as -Weverything.

Reviewers: dmajor

Tags: #secure-revision

Bug #: 1478000

Differential Revision: https://phabricator.services.mozilla.com/D2468

--HG--
extra : rebase_source : df684c3ca3088e91d584c715f6219f4318d00c62
2018-07-27 09:12:31 -04:00
Dan Minor
93b2696647 Bug 1476408 - Only build stats code if examples are enabled; r=TD-Linux
Summary: I didn't have time to get this upstreamed prior to this update.

Reviewers: TD-Linux

Tags: #secure-revision

Bug #: 1476408

Differential Revision: https://phabricator.services.mozilla.com/D2359

--HG--
extra : rebase_source : ec43830e191d7c0d899d93f08d912c64a4eba002
2018-07-24 10:37:28 -04:00
Dan Minor
48e87ceaf3 Bug 1476408 - Update libaom to rev b25610052a1398032320008d69b51d2da94f5928; r=TD-Linux
Tags: #secure-revision

Bug #: 1476408

Differential Revision: https://phabricator.services.mozilla.com/D2358

--HG--
extra : rebase_source : fa2438ada27a67e400617705014460b6d5ff485c
2018-07-23 14:28:45 -04:00
Dan Minor
d421ba3540 Bug 1476408 - No longer necessary to run lint_config.sh anymore; r=TD-Linux
Summary:
Upstream can now code generate the rtcd interface files directly from the
aom_config.h header, so we no longer have to generate an intermediate file by
running lint_config.sh. This also means we can remove the code for creating a
temporary directory.

Reviewers: TD-Linux

Tags: #secure-revision

Bug #: 1476408

Differential Revision: https://phabricator.services.mozilla.com/D2357

--HG--
extra : rebase_source : 8effc0fc61403db473fc90bc3989912b46133c3e
2018-07-23 16:08:09 -04:00
Dorel Luca
704612cf44 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-27 13:19:26 +03:00
Kris Maglione
a7ff7da720 Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.

MozReview-Commit-ID: 2gzQbRKxaZ9

--HG--
extra : source : 6d18a8bd5ee351da1a0cdfaa63f49706a2f95ba3
extra : histedit_source : aa7995595e2699d53f1dc60410b90cfd0d4a5c4e
2018-07-18 23:29:16 -07:00
Coroiu Cristina
6d037d0cba Backed out 9 changesets (bug 1476405) for causing leaks
Backed out changeset 4113d6fb3c1c (bug 1476405)
Backed out changeset cb7f7cc32687 (bug 1476405)
Backed out changeset 6d18a8bd5ee3 (bug 1476405)
Backed out changeset b2a99f50e642 (bug 1476405)
Backed out changeset b5b9d295545d (bug 1476405)
Backed out changeset f092a32a3639 (bug 1476405)
Backed out changeset 6c154f4d9dd9 (bug 1476405)
Backed out changeset d0ebb3aa8e0f (bug 1476405)
Backed out changeset 06b8093ddc6a (bug 1476405)
2018-07-27 08:56:36 +03:00
Kris Maglione
89c5723e0a Bug 1476405: Part 6 - Register AudioIPC threads with the profiler. r=kinetik
Presumably the Rust portion of this will have to land externally first and
then be imported, but I have no idea how or where to submit it.

MozReview-Commit-ID: 2gzQbRKxaZ9

--HG--
extra : rebase_source : 05924114b7ff1c48ce0c4584469b3b2ef0bc26cb
2018-07-18 23:29:16 -07:00
Byron Campen [:bwc]
02f535024e Bug 1478685: Set the RTP MID to the mid of the transceiver, not the transport id string. r=mjf
MozReview-Commit-ID: 30OrgQwpR8u

--HG--
extra : rebase_source : 80c37525644bb126da462a76a4a0fcabfcc09fcc
2018-07-26 10:54:51 -05:00
Gurzau Raul
c151424110 Backed out changeset 7c66524457aa (bug 1477815) for build bustage at toolkit/library/gtest/rust/target on a CLOSED TREE 2018-07-26 23:16:36 +03:00
Johannes Willbold
691c4fd1b0 Bug 1477815: Removed RustSdpAttributeType, r=dminor
Removed the enum RustSdpAttributeType and replaced it with the SdpAttributeType enum.

MozReview-Commit-ID: IcJnbnWa4IB

--HG--
extra : rebase_source : 5a446b1624f763c6db02419c525a324ee18a2f69
2018-07-23 13:45:04 -07:00
Johannes Willbold
72bcd957b6 Bug 1437165: Handled unimplemented attributes in RsdparsaSdpAttributeList::LoadAttribute, r=bwc
Added comment stating that these are unused: label, ice-mismatch and connection
Handled rtcp-rsize attribute.

MozReview-Commit-ID: JdWfq0PR480

--HG--
extra : rebase_source : f92a1aec957672202fbd93a4ef5c6cbd1757a15a
2018-07-23 12:25:01 -07:00
Dan Minor
66b7a2fb25 Bug 1478000 - nICEr and nrappkit should use the same warnings under clang-cl as with clang; r=dmajor
Summary:
This adds a clangcl flag to gyp.mozbuild and then uses that to set the same
warnings flags for clang-cl as for clang.

Reviewers: dmajor

Tags: #secure-revision

Bug #: 1478000

Differential Revision: https://phabricator.services.mozilla.com/D2427

--HG--
extra : rebase_source : 6137d2f59e5504d448d4fb32a7e734756ff76afa
2018-07-25 14:02:02 -04:00
Cosmin Sabou
5a23904142 Merge mozilla-central to autoland. a=merge 2018-07-25 21:25:11 +03:00
David Major
4197688bdf Bug 1478008 - Make gmp-clearkey use the same warnings under clang-cl as with clang. r=froydnj 2018-07-25 08:07:41 -04:00
Nico Grunbaum
b2651df213 Bug 1477825 - PeerConnectionImpl static analysis const reference cleanup r=mjf,jib
Static analysis reveals that there are several places we could be using const references in PeerConnectionImp. This patch addresses all of those places.

Differential Revision: https://phabricator.services.mozilla.com/D2304

--HG--
extra : moz-landing-system : lando
2018-07-25 16:22:28 +00:00
Nathan Froyd
695cb9d23b Bug 1477081 - remove TARGET_CPU use from moz.build files; r=ted.mielczarek
TARGET_CPU is not canonicalized, whereas CPU_ARCH is, so we should be
using CPU_ARCH to get consistent values everywhere.
2018-07-24 16:08:55 -04:00
Nathan Froyd
309ddc0be2 Bug 1477048 - part 2 - remove non-ipc/chromium moz.build uses of OS_TEST; r=gps
The deletions in xptcall are when we don't even have support for the CPU
in moz.configure, so I assume that people haven't been compiling on
those architectures for quite some time.
2018-07-24 16:08:56 -04:00
Nathan Froyd
5158597854 Bug 1477048 - part 1 - remove '86' in CONFIG['OS_TEST'] stanzas from moz.build files; r=gps
The current code is somewhat non-obvious to a first-time reader, and
OS_TEST is a bizarre thing anyway, since it's actually the name of the
CPU we're running on.  We'd do well to minimize the use of OS_TEST.

Note that the complete nuking of the xptcall/md/unix/moz.build lines are
because we don't support OS X/x86 anymore.
2018-07-24 16:08:56 -04:00
Nathan Froyd
32d63fdca4 Bug 1477047 - make fewer assumptions about MSVC compiling for x86-ish code; r=chmanchester
ARM64 Windows is a thing now, so this assumption is no longer valid.
2018-07-24 16:08:56 -04:00