Commit Graph

6671 Commits

Author SHA1 Message Date
Boris Zbarsky
f81be92ae2 Bug 1535384 part 2. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on some webrtc callbacks. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23773

--HG--
extra : moz-landing-system : lando
2019-03-19 04:32:43 +00:00
Byron Campen [:bwc]
b6c6f6df02 Bug 1518672: Sync transceivers before firing signalingstatecheanged. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23906

--HG--
extra : moz-landing-system : lando
2019-03-19 21:07:30 +00:00
Alex Chronopoulos
15f9cf5662 Bug 1536538 - Improve a check in config file and correct typos. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24071

--HG--
extra : moz-landing-system : lando
2019-03-20 14:24:23 +00:00
Byron Campen [:bwc]
3d252b6e25 Bug 1534673 - Part 4: Stop comparing track ids in jsep_track_unittest. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23704

--HG--
extra : moz-landing-system : lando
2019-03-19 16:21:13 +00:00
Byron Campen [:bwc]
b550a2d16a Bug 1534673 - Part 3: Some updates to jsep_session_unittest to avoid comparing track-ids, and stop using msid-semantic. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23208

--HG--
extra : moz-landing-system : lando
2019-03-19 16:21:29 +00:00
Byron Campen [:bwc]
965afb8428 Bug 1534673 - Part 1: Stop paying attention to a=msid-semantic. Simplify some code that was still paying attention to the appdata part of msid. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23205

--HG--
extra : moz-landing-system : lando
2019-03-19 16:03:23 +00:00
Byron Campen [:bwc]
5c51da3c23 Bug 1318167 - Part 4: Incorporate remote end-of-candidates into SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23220

--HG--
extra : moz-landing-system : lando
2019-03-19 16:48:38 +00:00
Thomas Daede
eed1f33ab9 Bug 1533559 - Update libdav1d to 0.2.1. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D23761

--HG--
rename : media/libdav1d/version.h => media/libdav1d/vcs_version.h
rename : third_party/dav1d/include/meson.build => third_party/dav1d/include/dav1d/meson.build
rename : third_party/dav1d/src/obu.h => third_party/dav1d/include/dav1d/version.h.in
rename : third_party/dav1d/include/version.h.in => third_party/dav1d/include/vcs_version.h.in
rename : third_party/dav1d/src/thread_task.h => third_party/dav1d/src/log.c
rename : third_party/dav1d/src/cpu.h => third_party/dav1d/src/log.h
extra : moz-landing-system : lando
2019-03-19 17:35:09 +00:00
Dan Minor
111aed14cd Bug 1535766 - Handle unaligned buffers in WebrtcGmpVideoCodec::Encoded; r=bwc
This uses the Endian routines to ensure that reads will match the endianess
of the current machine, which is the expected behaviour of the openh264
plugin. The calls to readUint16 and readUint32 memcpy to a properly aligned
buffer avoiding any problems with alignment. The memcpy adds some overhead
but it seems negligible compared to the amount of work done to packetize and
send the encoded data.

These changes were tested by adding code to create an unaligned buffer and
memcopying the received buffer into it.

This also adds a null check for the received buffer as we have seen a small
volume of null pointer crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:15:39 +00:00
Byron Campen [:bwc]
9d9532b7d9 Bug 1531505 - Part 1: Ignore source-level msid if media-level msid is present. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23202

--HG--
extra : moz-landing-system : lando
2019-03-15 18:04:23 +00:00
Dorel Luca
bc871ba7f1 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 1a86c239e49011cf1a857de6e020b91ca0b6bd67
2019-03-14 18:27:51 +02:00
Sylvestre Ledru
4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Alex Chronopoulos
bcef80c88e Bug 1526435 - Don't use DisableCompilerWarnings in libdav1d builds. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D23505

--HG--
extra : moz-landing-system : lando
2019-03-14 15:18:12 +00:00
David Major
e5773183d6 Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester
Per the previous patch, clang-cl only understands five MSVC-style warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)

This patch removes the flags that clang-cl doesn't understand.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 20:19:08 +00:00
Byron Campen [:bwc]
08f7738011 Bug 1531075: Allow offers to be created/set without any transceivers, re-enable some tests, and fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23022

--HG--
extra : moz-landing-system : lando
2019-03-13 16:46:40 +00:00
Brindusan Cristian
e0156ff6d2 Backed out changeset add69e4bd9af (bug 1531075) for wpt failures at RTCPeerConnection-setRemoteDescription-offer.html. CLOSED TREE 2019-03-13 18:22:39 +02:00
Byron Campen [:bwc]
24473522b3 Bug 1531075: Allow offers to be created/set without any transceivers, re-enable some tests, and fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23022

--HG--
extra : moz-landing-system : lando
2019-03-13 02:23:39 +00:00
David Major
56ea434680 Bug 1528074 - Translate MSVC warning flags to clang spelling where supported r=froydnj
clang-cl only acts on five MSVC warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)

With MSVC now unsupported, most -wdNNNN have no effect and can be removed.

This patch converts the five supported warnings to their clang spellings, as preparation for a subsequent patch that will remove all remaining `[/-]w[edo][0-9]{4}`.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 01:39:42 +00:00
Alex Chronopoulos
83e7193c99 Bug 1534321 - Assembly builds for libdav1d on OSX. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D23111

--HG--
extra : moz-landing-system : lando
2019-03-12 17:08:55 +00:00
Byron Campen [:bwc]
c630882575 Bug 1531156 - Part 2: Some code simplification that part 1 lets us do. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D22209

--HG--
extra : moz-landing-system : lando
2019-03-11 21:01:21 +00:00
Tyson Smith
19290f4e51 Bug 1533092 - Add in-tree fuzzing support for dav1d r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D22383

--HG--
extra : moz-landing-system : lando
2019-03-11 20:00:31 +00:00
Byron Campen [:bwc]
c33b5e6569 Bug 1490658: Support RTCIceCandidate.usernameFragment. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D21803

--HG--
extra : moz-landing-system : lando
2019-03-08 15:24:27 +00:00
Byron Campen [:bwc]
0a982dc0c7 Bug 1533261: Check whether PeerConnectionCtx is active before calling GetInstance. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D22530

--HG--
extra : moz-landing-system : lando
2019-03-08 15:25:20 +00:00
Alex Chronopoulos
ec9ec63b46 Bug 1521062 - Configure assembly builds for libdav1d on Windows. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D22080

--HG--
extra : moz-landing-system : lando
2019-03-07 09:32:15 +00:00
Matthew Gregan
1ecd53f466 Bug 1512445 - Import latest AudioIPC from upstream, including Windows backend. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22153

--HG--
extra : moz-landing-system : lando
2019-03-07 02:04:36 +00:00
Dorel Luca
dfa0190845 Backed out 3 changesets (bug 1512445) Build bustage
Backed out changeset b954e5d0324a (bug 1512445)
Backed out changeset 04c1982c1a7e (bug 1512445)
Backed out changeset 0a78b7e72e1b (bug 1512445)
2019-03-06 23:28:37 +02:00
Matthew Gregan
cf18c72684 Bug 1512445 - Import latest AudioIPC from upstream, including Windows backend. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22153

--HG--
extra : moz-landing-system : lando
2019-03-06 20:42:38 +00:00
Dan Minor
0aa8a8ce34 Bug 1519535 - Check that deviceNumber is valid in GetDeviceName; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D21945

--HG--
extra : moz-landing-system : lando
2019-03-06 15:41:35 +00:00
Gurzau Raul
eedd13105c Backed out changeset 621207c8ef88 (bug 1515716) for failing at /src/base/pickle.cc on a CLOSED TREE. 2019-03-06 12:13:46 +02:00
Nico Grunbaum
73eb7b29fb Bug 1515716 - refactor the RTC RTP stats types to match spec r=jib,smaug
realigning the RTP stats types to match spec. This involves breaking out the remote dictionary types. This shouldn't create user space visible changes.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 01:50:20 +00:00
Nico Grunbaum
804dd49ed4 Bug 1530025 - shift video only functions from MediaConduitInterface to VideoSessionConduit r=dminor
Moving video only functions from MediaConduitInterface to VideoSessionInterface

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:33:01 +00:00
Jeff Walden
3f385ffa33 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Razvan Maries
65e4948ca0 Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Ciure Andrei
5ebab45abd Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-04 23:54:12 +02:00
Alex Gaynor
dccb3bee8b Bug 1531827 - replace OptionalLoadInfoArgs with LoadInfoArgs? in IPDL; r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D21722

--HG--
extra : moz-landing-system : lando
2019-03-04 06:30:00 +00:00
Jeff Walden
ecb4e10bda Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Byron Campen [:bwc]
8f731d7999 Bug 979966: Dump diagnostic information when an ICE stream fails. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18589

--HG--
extra : moz-landing-system : lando
2019-02-04 22:01:36 +00:00
Chris Pearce
2674fe3acc Bug 1528661 - Pass paths to i686 xul and plugin-container binaries to CDM in host verification paths. r=bryce
On Windows on ARM64 we will run the x86 Widevine DLL in an x86
plugin-container.exe with an x86 xul.dll. We therefore should also pass the
paths to these binaries to the CDM in the host files instead of the aarch64
plugin-container.exe. We should still pass the aarch64 xul.dll to the CDM,
as that's in use by the aarch64 firefox.exe.

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

--HG--
extra : source : 4c22ddbf15b579a57d1790c1b4f6290e661da346
extra : histedit_source : 8f1f76f36c3a18681e8aa373e7cd117c41c11815
2019-02-15 21:27:01 +13:00
Gurzau Raul
6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
Narcis Beleuzu
0c931fcc3d Backed out changeset b6ac1853674e (bug 1528661) for build bustages on GMPChild.cpp . CLOSED TREE 2019-03-01 04:43:56 +02:00
Chris Pearce
56e963918f Bug 1528661 - Pass paths to i686 xul and plugin-container binaries to CDM in host verification paths. r=bryce
On Windows on ARM64 we will run the x86 Widevine DLL in an x86
plugin-container.exe with an x86 xul.dll. We therefore should also pass the
paths to these binaries to the CDM in the host files instead of the aarch64
plugin-container.exe. We should still pass the aarch64 xul.dll to the CDM,
as that's in use by the aarch64 firefox.exe.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 22:34:45 +00:00
Byron Campen [:bwc]
19b3cd0725 Bug 1530815: Call RLogConnector::CreateInstance on main, not STS, because that's where we init the nr_registry stuff normally. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D21376

--HG--
extra : moz-landing-system : lando
2019-02-28 20:20:34 +00:00
Cosmin Sabou
00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
Jonathan Kingston
f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston
c4853316e7 Bug 1525319 - Removing context from OnStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20770

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:31 +00:00
Jonathan Kingston
f7e35ae39e Bug 1525319 - Removing context from OnStartRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20769

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:04 +00:00
Andrew Osmond
899ee8e0cc Bug 1520760 - Fix AVX2 detection to ensure we support the required CPUID version. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D20833
2019-02-27 07:39:34 -05:00
Ryan Hunt
d5e3e54658 Bug 1523969 part 15 - Move method definition inline comments to new line in 'media/'. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D21116

--HG--
extra : rebase_source : bf7d4b2a09768420f8da04d82d34afed374d7961
2019-02-25 16:09:55 -06:00
Byron Campen [:bwc]
ab0d256702 Bug 1521879 - Part 8: Don't run triggered check logic on obsolete streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18231

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:26 +00:00
Byron Campen [:bwc]
7cb968d18c Bug 1521879 - Part 6: Disable SetProxyServer for the IPC implementation until bug 1521113 is fixed or worked around. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17560

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:01 +00:00