Commit Graph

6309 Commits

Author SHA1 Message Date
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