Граф коммитов

6823 Коммитов

Автор SHA1 Сообщение Дата
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
Dan Minor 24b689c12e Bug 1521169 - Check that at least one stream is requested in ConfigureSendMediaCodec; r=pehrsons
This moves the existing release assert in CreateSendStream that ensures we have
requested at least one stream to ConfigureSendMediaCodec. This covers the case
where we don't recreate the send stream when only stream attributes have changed.

It does not appear to be possible for no streams to be configured by the
Transceivers code. Once we've verified that is the case with the release assert,
we can remove it and use error handling code instead.

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

--HG--
extra : rebase_source : d52bfa57f62529af94237d22886ee40750ad7cce
2019-02-21 13:21:10 -05:00
Dan Minor 9dd420b07b Bug 1521169 - Remove VideoEncoderConfigBuilder; r=pehrsons
The SimulcastStreamConfig code is unused. Once that is removed, all that remains
is a thin wrapper around webrtc::VideoEncoderConfig. We might as well use it
directly.

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

--HG--
extra : rebase_source : 439741238506db25e0fe3fd9fb41b6d6aaf2874a
2019-03-22 14:23:42 -04:00
Dan Minor 6d0a463689 Bug 1521169 - Rename SimulcastEncoding to Encoding in VideoCodecConfig; r=pehrsons
The Transceivers code just calls these encodings, and we use them even if we're
not doing simulcast, so we should just call them encodings as well.

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

--HG--
extra : rebase_source : e25e4b4154d5a92395d6e81c86c7e165e18e583e
2019-02-21 13:15:48 -05: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
Jean-Yves Avenard a98680f98b Bug 1538508 - P3. Add options to scan all frames for SPS/PPS change. r=bryce
While not required in the two examples provided, should those streams change resolution and continue to use the same type of bytstreams we would miss the changes as the keyframe never contains the new SPS/PPS NALs.

So we add an option to handle this case, so we can separate the cases where this could be needed without regressing bug 1469257

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

--HG--
extra : moz-landing-system : lando
2019-03-27 02:50:08 +00:00
Jean-Yves Avenard 9d10602a0c Bug 1538508 - P1. Reset mError upon success. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D24869

--HG--
extra : moz-landing-system : lando
2019-03-26 14:40:51 +00: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
Byron Campen [:bwc] 0863a7cc28 Bug 1521879 - Part 4: Better logging for candidate gathering (was necessary to figure out parts of bug 1513059). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17276

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:36 +00:00
Byron Campen [:bwc] 25ad4a9108 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-25 21:50:58 +00:00
Byron Campen [:bwc] 8b6cc6a51f Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-25 21:50:42 +00:00
Gurzau Raul e6740c75fc Backed out 10 changesets (bug 1521879) for causing bug 1530107. a=backout
Backed out changeset f597a73a6eac (bug 1521879)
Backed out changeset 0bb76534f207 (bug 1521879)
Backed out changeset abcb8be12adf (bug 1521879)
Backed out changeset ed6c8d3bbfde (bug 1521879)
Backed out changeset 1addf1e15b55 (bug 1521879)
Backed out changeset 6b709cd9a479 (bug 1521879)
Backed out changeset 07747027c59c (bug 1521879)
Backed out changeset a6105ccc188c (bug 1521879)
Backed out changeset 48c9c643e7bb (bug 1521879)
Backed out changeset d4004105a04a (bug 1521879)
2019-02-25 12:12:15 +02:00
Jean-Yves Avenard 964cc95e13 Bug 1524890 - P5. Make MediaData::Type an enum class. r=bryce
Make its use more explicit and less likely to be incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:18 +00:00
Byron Campen [:bwc] ee8f875c0e 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-21 20:26:51 +00:00
Byron Campen [:bwc] 0cc4a5cf36 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-21 20:26:31 +00:00
Byron Campen [:bwc] f220047e90 Bug 1521879 - Part 4: Better logging for candidate gathering (was necessary to figure out parts of bug 1513059). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17276

--HG--
extra : moz-landing-system : lando
2019-02-21 20:26:27 +00:00
Byron Campen [:bwc] 5ca6cf53af Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-21 20:25:07 +00:00
Byron Campen [:bwc] 7ab14bdf2c Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-21 20:24:54 +00:00
Gurzau Raul dd9cb929e6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 23:56:21 +02:00
Narcis Beleuzu 1cc1d33847 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 18:11:40 +02:00
Brindusan Cristian 136394135f Backed out 9 changesets (bug 1521879) for flake failures at /transforms/tests.py. CLOSED TREE
Backed out changeset baac167868b3 (bug 1521879)
Backed out changeset 54ac1b47b736 (bug 1521879)
Backed out changeset 94b62c6f22e2 (bug 1521879)
Backed out changeset d44f15fd4529 (bug 1521879)
Backed out changeset 761fca0514fb (bug 1521879)
Backed out changeset 0b85b1a7c1ce (bug 1521879)
Backed out changeset 5dc76e863a02 (bug 1521879)
Backed out changeset 604b9a007fe5 (bug 1521879)
Backed out changeset c414d82a5325 (bug 1521879)
2019-02-21 19:32:31 +02:00
Byron Campen [:bwc] 04e6aedc04 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-21 15:33:12 +00:00
Byron Campen [:bwc] a5dd4a73be 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-21 15:32:47 +00:00
Byron Campen [:bwc] c92061f30a Bug 1521879 - Part 4: Better logging for candidate gathering (was necessary to figure out parts of bug 1513059). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17276

--HG--
extra : moz-landing-system : lando
2019-02-21 15:34:49 +00:00
Byron Campen [:bwc] bc939b7978 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-21 15:33:57 +00:00
Byron Campen [:bwc] 4604113749 Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-21 16:42:12 +00:00
Dan Minor 56c52a041c Bug 1522238 - Set frame timestamp in MediaPipeline::ProcessVideoFrame; r=pehrsons
In the past we relied upon ViEEncoder::OnFrame to set the render time for
frames. With the branch 64 update, this code moved to
VideoStreamEncoder::OnFrame, and only sets the timestamp if it is greater than
the current time. This results in broken rtp timestamp estimates in the rtcp
sender report, which causes problems for Meet and possibly other services
that rewrite rtp timestamps based upon the sender report.

This patch explicitly sets the timestamp in MediaPipeline. This should give us
the same behaviour that we had before the branch update without requiring local
modifications to upstream code. This leaves the rtp timestamp as zero as that
was not being set before.

This also removes an unused overload of the VideoFrameConverted method.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 15:21:33 +00:00
Nico Grunbaum a73b34cad7 Bug 1525341 - RTP audio jitter stat is not updating r=dminor
RTP audio jitter stat is not updating because the playout frequency isn't being set

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:32:42 +00:00
Cosmin Sabou f3db52f4cf Merge mozilla-inbound to mozilla-central. a=merge 2019-02-21 05:42:03 +02:00
Masatoshi Kimura e59e3b3e20 Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : 5ee9efeda9e67f6af0521be85266703763cc4c50
2019-02-19 20:42:11 +09:00
Nico Grunbaum ff4ed47d38 Bug 1527633 - rename GetRTPStats to something less ambiguous r=dminor
rename GetRTPStats to something less ambiguous

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

--HG--
extra : moz-landing-system : lando
2019-02-13 16:35:12 +00:00
Byron Campen [:bwc] 326aac1d4f Bug 1402912 - Part 1: Put multiple a=msid in SDP when a track is attached to multiple streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18594

--HG--
extra : moz-landing-system : lando
2019-02-19 20:32:16 +00:00
Masatoshi Kimura e25fbce870 Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Dan Minor 8e1ddc4af1 Bug 1524208: Compare result of BaseInputPin::Receive to S_OK; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19675

--HG--
extra : rebase_source : 0ab864b92552cbf63ba132844cd51f0ec493b232
2019-02-13 06:33:27 -08:00
Christoph Kerschbaumer 08be3dab62 Bug 1529252: Remove the 2 from the various version to create a channel within nsIIOService.idl. r=valentin 2019-02-21 12:48:20 +01:00
Coroiu Cristina e6520f0a4d Merge inbound to mozilla-central a=merge 2019-02-16 11:36:46 +02:00
Byron Campen [:bwc] 90e28addea Bug 1508685 - Part 1: Don't pay attention to the mids in the previous answer when creating a reoffer, just use the transceiver's mid. r=mjf
Depends on D19948

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

--HG--
extra : moz-landing-system : lando
2019-02-15 18:09:17 +00:00
Sylvestre Ledru 41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Cosmin Sabou 4c0553bb3e Merge mozilla-central to mozilla-inbound. 2019-02-15 20:54:03 +02:00
David Major 7c3a74a7b3 Bug 1515699: Backed out 2 changesets (bug 1486038) now that aarch64 builds use clang-cl. r=dminor
Backed out changeset 304b5b25af77 (bug 1486038)
Backed out changeset 06d49dc866e8 (bug 1486038)

--HG--
extra : rebase_source : 27ecf1fc3028fa3becfaf079f914d089f6e3006a
2019-02-15 19:16:07 +01:00
Mike Hommey 9c34e0b914 Bug 1512504 - Don't set __PRETTY_FUNCTION__ on clang-cl. r=froydnj
clang-cl defines it on its own, although the value is slightly different
from __FUNCSIG__ (it doesn't contain the ABI, which doesn't really
matter). We've only been setting it this was on clang-cl by extension of
setting it for msvc.

Depends on D19616

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

--HG--
extra : moz-landing-system : lando
2019-02-14 18:56:29 +00:00
Mike Hommey ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

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

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Thomas Daede 3fcd2d85d2 Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
Differential Revision: https://phabricator.services.mozilla.com/D13875

--HG--
extra : moz-landing-system : lando
2019-02-14 21:30:22 +00:00
Dorel Luca 72ca9e0f17 Backed out changeset fe264afc03aa (bug 1511224) for Fetch failures. CLOSED TREE 2019-02-14 20:44:38 +02:00
Thomas Daede ce727c14e7 Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
Differential Revision: https://phabricator.services.mozilla.com/D13875

--HG--
extra : moz-landing-system : lando
2019-02-14 17:11:57 +00:00
Alex Chronopoulos f26917afec Bug 1527659 - Update cubeb from upstream to 3afc335. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D19676

--HG--
extra : moz-landing-system : lando
2019-02-13 21:50:03 +00:00
shindli 54aa04bfd1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-13 23:36:24 +02:00
Nico Grunbaum 3c6b421c80 Bug 1527526 - AudioConduit is reporting send instead of recv RTP stats r=dminor
AudioConduit is reporting send instead of recv RTP stats

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

--HG--
extra : moz-landing-system : lando
2019-02-13 12:35:11 +00:00
Nico Grunbaum c838f88f22 Bug 1526512 - remote-inbound-rtp stat roundTripTime should be expressed in seconds r=jib,smaug
Changing the units roundTripTime is reported in from milliseconds to seconds

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

--HG--
extra : moz-landing-system : lando
2019-02-12 23:39:49 +00:00
Jonathan Kingston 3421b8fcff Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
Replacing js and text occurences of asyncOpen2
Replacing open2 with open

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

--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Nils Ohlmeier [:drno] 4217c389d1 Bug 1526733: added TCP/DTLS/RTP/SAVP to SDP parser. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D19278

--HG--
extra : moz-landing-system : lando
2019-02-11 18:01:36 +00:00
Byron Campen [:bwc] d3aa5063fc Bug 1526477 - Part 1: Fix typo causing us to go into the controlled role when interoping with an ice-lite endpoint. r=mjf
Depends on D19232

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

--HG--
extra : moz-landing-system : lando
2019-02-11 16:10:13 +00:00
Byron Campen [:bwc] b9265f3fe2 Bug 1526477 - Part 0: Test role for ice-lite cases. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19232

--HG--
extra : moz-landing-system : lando
2019-02-11 16:09:24 +00:00
Byron Campen [:bwc] 91aa85ed89 Bug 1523795: Make temp copy of query->now to avoid access after query has been moved. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D19380

--HG--
extra : moz-landing-system : lando
2019-02-11 17:04:23 +00:00
Byron Campen [:bwc] 67e9440deb Bug 1522535: Break a cycle triggered by a recent web-platform-test merge. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19171

--HG--
extra : moz-landing-system : lando
2019-02-08 16:57:45 +00:00
Cosmin Sabou 348a9c8697 Backed out 2 changesets (bug 1492629) for suspicion of causing a rise in xpcshell intermittents.
Backed out changeset 828188fd3203 (bug 1492629)
Backed out changeset b804c63247f5 (bug 1492629)
2019-02-08 08:38:58 +02:00
Dan Minor 92ff4b0d03 Bug 1524335: Make InOrderPacket take last_sequence_number by reference; r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D19694

--HG--
extra : rebase_source : ac4ef8f11e7b1b4975d1cd2e4c8985c6d040703d
extra : amend_source : 2440c041736e2408be3a7a670f2f69b1b6ab5215
2019-02-13 13:05:20 -05:00
Nils Ohlmeier [:drno] 477d9d5ec2 Bug 1510898: disable sha1_32 in Nightly builds. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D13365

--HG--
extra : moz-landing-system : lando
2018-11-30 04:39:59 +00:00
Adrian Wielgosik 750080f1a9 Bug 1492629 - Drop ShutdownLoaders phase, move only user to ShutdownFinal. r=mccr8
The only difference between ShutdownLoaders and ShutdownFinal was an observer service shutdown.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 18:23:04 +00:00
Alex Gaynor 75c7d1fa76 Bug 1512990 - Part 2 - implement direct calls in the IPDL compiler; r=froydnj
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.

There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Alex Chronopoulos 29f83c7bf2 Bug 1510548 - Suppress MSVC warning C4024 for libdav1d. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D18678

--HG--
extra : moz-landing-system : lando
2019-02-06 06:19:23 +00:00
Noemi Erli 845539c92f Backed out 2 changesets (bug 1492629) for failures in mozJSComponentLoader.cpp
Backed out changeset 02f749ccdc4b (bug 1492629)
Backed out changeset cae6d1eec658 (bug 1492629)
2019-02-06 03:27:24 +02:00
Adrian Wielgosik d2dd23325b Bug 1492629 - Drop ShutdownLoaders phase, move only user to ShutdownFinal. r=mccr8
The only difference between ShutdownLoaders and ShutdownFinal was an observer service shutdown.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 00:49:12 +00:00
Mike Hommey ad47c8dca9 Bug 1515641 - Check for nasm >= 2.13 for dav1d. r=TD-Linux,nalexander
Depends on D18294

Depends on D18294

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

--HG--
extra : moz-landing-system : lando
2019-02-05 21:19:07 +00:00
Razvan Maries f86459d5dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
Matthew Gregan 38a8cb51e1 Bug 1524818 - Update audioipc to c2148b95 to fix build with nightly rustc. r=chunmin
--HG--
extra : rebase_source : 4efcdf6f5ebb548f734c3948d715e2f8f5a2ceef
2019-02-05 15:32:02 +13:00
Byron Campen [:bwc] 194ccf5471 Bug 1370562: Don't try to validate attributes on disabled m-sections in answers. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18369

--HG--
extra : moz-landing-system : lando
2019-02-04 15:40:16 +00:00
Csoregi Natalia 9423fa7897 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-02 00:14:12 +02:00
Nils Ohlmeier [:drno] c8aea55c6b Bug 1524145: set Opus stereo on send stream with 2 channels. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D18175

--HG--
extra : moz-landing-system : lando
2019-02-01 18:28:10 +00:00
Dan Minor cc229f4778 Bug 1524208 - Calculate stride based upon target_width in video_capture_impl.cc; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D18270

--HG--
extra : rebase_source : dcc70f5f91fe2a2af962a062942dad662eb3cc67
extra : amend_source : 29348cc4a00d11953ec7f2712a38252ab1817993
2019-01-31 15:37:38 -05:00
Alex Chronopoulos 0c15094a05 Bug 1522035 - Set HAVE_ALIGNED_MALLOC as global macro and avoid redefining in libdav1d. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D17632

--HG--
extra : moz-landing-system : lando
2019-01-30 09:06:52 +00:00
Nils Ohlmeier [:drno] 0d97afcc8d Bug 1523412: compare GetStreamCaps return values against S_OK. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D17872

--HG--
extra : moz-landing-system : lando
2019-01-29 21:21:33 +00:00
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Byron Campen [:bwc] 68bc15c3ce Bug 1494311: Making the mtransport API a little more IPC friendly, and establishing a proper base-class. r=mt,mjf
Differential Revision: https://phabricator.services.mozilla.com/D17272

--HG--
extra : moz-landing-system : lando
2019-01-29 14:56:19 +00:00
Alex Chronopoulos 00cdaa3f9f Bug 1523033 - Define DAV1D_API to empty in order to avoid exporting symbols from libxull. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D17847

--HG--
extra : moz-landing-system : lando
2019-01-29 14:19:44 +00:00
Thomas Daede 299320881b Bug 1523458 - Update libvorbis to 1.3.6. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D17894

--HG--
extra : moz-landing-system : lando
2019-01-29 01:14:51 +00:00
Alex Chronopoulos 2f27522cda Bug 1518106 - Update cubeb-pulse-rs from upstream to 17c1629. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D17400

--HG--
extra : moz-landing-system : lando
2019-01-23 19:37:18 +00:00
Alex Chronopoulos 46289fa2a3 Bug 1518106 - Update cubeb from upstream to feec7e2. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D17399

--HG--
extra : moz-landing-system : lando
2019-01-23 19:36:20 +00:00
Alex Chronopoulos ff638179ec Bug 1515933 - Configure 16 bytes stack alignment on Linux x86_64 dav1d builds. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D17346

--HG--
extra : moz-landing-system : lando
2019-01-24 02:43:58 +00:00
Makoto Kato 213cb734bc Bug 1522016 - Build NEON support for libopus on aarch64. r=jmvalin
aarch64 ABI supports NEON as default, so we should turn on NEON code for
aarch64.  Also, libopus's NEON code doesn't support MSVC yet.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 02:45:01 +00:00
Dan Minor 41f331e2ad Bug 1515205 - Always set frame timestamps in VideoStreamEncoder::OnFrame; r=drno
In the past we relied upon ViEEncoder::OnFrame to set the render time for
frames. With the branch 64 update, this code moved to
VideoStreamEncoder::OnFrame, and only sets the timestamp if it is greater than
the current time. This results in broken rtp timestamp estimates in the rtcp
sender report, which causes problems for Meet and possibly other services
that rewrite rtp timestamps based upon the sender report.

This patch makes VideoStreamEncoder::OnFrame always set the timestamp. In a
follow on bug, we'll move this behaviour to VideoConduit so we don't have to
maintain a local modification of the upstream code.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 20:48:20 +00:00
Alex Chronopoulos 836d8e0a78 Bug 1521791 - Update cubeb from upstream to 67d37c1. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D17248

--HG--
extra : moz-landing-system : lando
2019-01-22 16:09:51 +00:00
Razvan Maries c941c393cb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-21 20:01:06 +02:00
Andrew Osmond bba2f124b6 Bug 1521478 - Update libwebp to v1.0.2. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17110
2019-01-21 12:55:02 -05:00
Andrew Osmond 1b65a4f599 Bug 1520760 - Fix AVX2 detection to ensure we have all required CPU parameters. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16994
2019-01-21 12:53:46 -05:00
Alex Chronopoulos ed3d0e43c1 Bug 1521078 - Don't assemble include only .asm files. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16975

--HG--
extra : moz-landing-system : lando
2019-01-21 11:23:42 +00:00
Makoto Kato a2a77288af Bug 1516513 - Part 2. Add generated files to libvpx. r=jya
Depends on D15400

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

--HG--
extra : moz-landing-system : lando
2019-01-21 04:52:45 +00:00
Makoto Kato 5c854f6c5a Bug 1516513 - Part 1. Add linux/aarch64 config to libvpx. r=jya
To use NEON on Linux/aarch64 and Android/aarch64, I would like to add it to
libvpx.  libvpx has a configuration as arm64-linux-gcc.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 04:55:02 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Nils Ohlmeier [:drno] a04d4e00bd Bug 1510487: allow DTLS connection w/o SRTP extension. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D14692

--HG--
extra : moz-landing-system : lando
2019-01-17 14:16:01 +00:00
Thomas Daede 29393c8e79 Bug 1509724 - Don't include x86_abi_support.asm in libvpx build. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16615

--HG--
extra : moz-landing-system : lando
2019-01-16 21:42:38 +00:00
Nils Ohlmeier [:drno] 30f1bf4a25 Bug 1520289: added TCP/DTLS/RTP/SAVPF to SDP parsing. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D16660

--HG--
extra : moz-landing-system : lando
2019-01-16 14:38:07 +00:00
Alex Chronopoulos db69c1ddb2 Bug 1520174 - Update build files after dav1d import and add ASM build for Linux x86_32. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16563

--HG--
extra : moz-landing-system : lando
2019-01-16 07:50:17 +00:00
Alex Chronopoulos 0e1ed98938 Bug 1520174 - Update dav1d from upstream to f813285. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16562

--HG--
extra : moz-landing-system : lando
2019-01-16 00:05:25 +00:00
Nico Grunbaum 3cb1b02e77 Bug 1347070 - add qpSum to RTC outbound RTP stats r=jib,smaug
This adds qpSum to RTC outbound RTP stats

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

--HG--
extra : moz-landing-system : lando
2019-01-15 21:26:05 +00:00
Bryce Van Dyk e41e35bf8d Bug 1516669 - Check init value of clearkey WMF decoder for failure. r=cpearce
We weren't checking this value and it was causing compiler warnings. Instead
this change means we check the value and log an error if init has failed.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 16:40:29 +00:00
Bryce Van Dyk 5aecaa0a28 Bug 1516669 - Update gmp-clearkey to use CDM10 interface. r=cpearce
Not much changed in the interface:
- CDM initialization takes a use hardware codecs arg, we pipe this through, but
  don't do anything more with it in the clearkey CDM.
- The CDM should call the hosts OnInitialized() when it's initialized. This is
  done is now done in the clearkey CDM once the session management is ready, as
  that is the last thing done during init.

Aside from the above, it's just updating interface usage. While the new CDM
interface adds support for different encryption schemes, this is not handled
here and will be done in follow up bug 1516673.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 16:40:04 +00:00
Byron Campen [:bwc] afc4312249 Bug 1502899: Allow provisional transceiver level assignments to be recovered by rollback. r=jib,mjf
Bug 1502899: Allow provisional transceiver level assignments to be recovered by rollback.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:42:20 +00:00
Mike Hommey 7c72587da6 Bug 1519047 - Move FFVPX_ASFLAGS and related variables to python configure. r=nalexander
This also moves the corresponding ASFLAGS from moz.build to python
configure.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:17:36 +00:00
Dan Minor 532d683503 Bug 1518744 - Deregister owner in DeviceInfoIos destructor; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D16047

--HG--
extra : rebase_source : 74e471e06afdccef080edbc4e3b7a887469c49bb
extra : amend_source : 1aaa93fdfa720c0b9788835d6eaec8242c43c763
2019-01-09 09:22:27 -05:00
Paolo Amadini ffa6503244 Bug 983187 - Test that downloads fail when an RST packet is received. r=mayhemer
This adds a way to simulate failed network connections, allowing the addition of test coverage that would otherwise not be available. This is used in the Downloads tests to ensure that failures at the network level are handled correctly.

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

--HG--
extra : rebase_source : 2597b27de5213b0322520cefafe10a197d0d3b83
2019-01-09 11:48:23 +00:00
Nathan Froyd 27ac7aed45 Bug 1062533 - part 1 - convert easy cases of chromium IPC locks to mozilla mutexes; r=mccr8
Other cases will require some special handling.
2019-01-09 11:09:25 -04:00
Dan Minor b0b3dd95ac Bug 1506884 - Document member thread access in AudioConduit; r=padenot
This also removes some unused member variables.

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

--HG--
extra : rebase_source : ec18c54b81dc96850e6d2b5e1673dea5ed6bb949
extra : source : 1ffa990b25e37691e53fdef6604411bb5241b03d
extra : histedit_source : cb3b5b526b6aa4ccfca1c789612b3cdc8a2b6716
2018-11-15 13:24:05 -05:00
Dan Minor a544a8d8f1 Bug 1506884 - Document thread usage of mRtpPacketQueue in VideoConduit; r=padenot
This was added during the branch 64 update, but was not documented at that time.

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

--HG--
extra : rebase_source : 49d7be8d1db97edcd601ff3a0e502521c21e87ad
extra : source : 6c4544bfbe7262555ca7154f3367ad24d7b55669
extra : histedit_source : baa8da9d12766ff9ea133aed356832f273de8431
2018-11-19 10:12:50 -05:00
Nico Grunbaum 52229a82fe Bug 813063 - Add LICENSE file to root of WebRTC.org source r=dminor
Adding a missing license file to the root of the WebRTC.org source

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

--HG--
extra : moz-landing-system : lando
2019-01-08 04:17:07 +00:00
Dan Minor 743a863043 Bug 1439997 - Fix ondevicechange event on OS X; r=jib
This brings the changes from Bug 1286429 that were made to the older
mac/avfoundation video capture code to the newer objc video capture
code.

Depends on D15196

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

--HG--
extra : moz-landing-system : lando
2019-01-08 14:39:15 +00:00
Dan Minor c02e428bd0 Bug 1439997 - Remove old mac video capture code; r=jib
This code is no longer used and has been removed upstream. We can remove
it as well.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 16:34:01 +00:00
Andreas Pehrson 6f2800844c Bug 1517711 - Guard other uses of SetPullingEnabled too. r=padenot
Depends on D15892

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

--HG--
extra : moz-landing-system : lando
2019-01-08 10:06:08 +00:00
Makoto Kato 542b27743e Bug 1516605 - Turn on NEON on aarch64 when using gcc or clang. r=aosmond
libpng has NEON support using intrinsics, not assembler, so we should use it
even if aarch64.

MSVC build still turns off NEON since libpng doesn't support it on stable
version although upstream has it.

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

--HG--
extra : moz-landing-system : lando
2019-01-02 14:11:31 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Peter Van der Beken 066d891adb Bug 1353867 - Add cross-process proxies for WindowProxy. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12656

--HG--
extra : moz-landing-system : lando
2019-01-02 13:29:18 +00:00
Sylvestre Ledru cccdda3c2a Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Dan Minor d86cbd146f Bug 1515461 - Make AVCaptureSession stopRunning synchronous; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D15144

--HG--
extra : moz-landing-system : lando
2018-12-21 17:07:06 +00:00
Nico Grunbaum bb1557ee1c Bug 1380555 - remove deprecated WebRTC RTP stat isRemote in favor of new stat types r=jib,smaug
Removes RTP stat field isRemote and adds the new types remote-inbound-rtp, and remote-outbound-rtp

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

--HG--
extra : moz-landing-system : lando
2018-12-21 02:35:58 +00:00
Narcis Beleuzu 1110297dc8 Backed out changeset ccb218cd2d87 (bug 1380555) for mozlint failure on PeerConnection.js . CLOSED TREE 2018-12-21 04:20:58 +02:00
Nico Grunbaum 684ea28cec Bug 1380555 - remove deprecated WebRTC RTP stat isRemote in favor of new stat types r=jib,smaug
Removes RTP stat field isRemote and adds the new types remote-inbound-rtp, and remote-outbound-rtp

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

--HG--
extra : moz-landing-system : lando
2018-12-21 00:46:54 +00:00
David Major 9fb109137e Bug 1486038: Work around missing ARM64 NEON intrinsics in MSVC. r=dminor
--HG--
extra : rebase_source : de6d6b3e790aaa235829664825470da94872e6f1
2018-12-20 14:22:51 -04:00
David Major 8a836950ec Bug 1486038: Use arm64_neon.h instead of arm_neon.h with MSVC. r=dminor
--HG--
extra : rebase_source : 6acdc77121e960aa72d2f6a3dd95ab93ad9e5e28
2018-12-20 14:22:48 -04:00
Mike Hommey 1467f34ce5 Bug 1515257 - Remove VPX_AS_CONVERSION. r=firefox-build-system-reviewers,ted
There's only really one place where it's used, and we can "inline" it
there.

Depends on D14947

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

--HG--
extra : moz-landing-system : lando
2018-12-19 22:39:27 +00:00
Mike Hommey fdb264754f Bug 1515257 - Don't pretend there are ARM assembly sources in libaom. r=firefox-build-system-reviewers,ted
There aren't any, and the code to actually convert them from .asm to gas
that is expected by the moz.build is not even there, so if there were
assembly sources, it would fail to build.

Depends on D14946

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

--HG--
extra : moz-landing-system : lando
2018-12-19 11:12:11 +00:00
Mike Hommey a846159c7f Bug 1515257 - Remove VPX_ARM_ASM. r=firefox-build-system-reviewers,ted
It is only used in one place, where it is redundant with VPX_AS_CONVERSION.

Depends on D14945

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

--HG--
extra : moz-landing-system : lando
2018-12-19 11:11:17 +00:00
Alex Chronopoulos 149cb23b37 Bug 1509453 - Consolidate dav1d config headers to a single one. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D14870

--HG--
extra : moz-landing-system : lando
2018-12-19 20:05:31 +00:00
Alex Chronopoulos 4fa721794d Bug 1509453 - Update build files to latest dav1d import. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D14869

--HG--
extra : moz-landing-system : lando
2018-12-19 19:39:07 +00:00
Alex Chronopoulos dee5990e57 Bug 1509453 - Update dav1d from upstream to b53a99b9. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D14868

--HG--
extra : moz-landing-system : lando
2018-12-19 18:11:14 +00:00
Alex Chronopoulos a266f18545 Bug 1509453 - Build dav1d's assembly files. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D14867

--HG--
extra : moz-landing-system : lando
2018-12-19 19:18:04 +00:00
Nico Grunbaum 7cd09e1947 Bug 1515379 - initialize frames delivered stat and add test r=dminor
This initializes a one of the stats that lost its default initialization when it was changed from an Atomic to a plain old int.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 17:57:15 +00:00
Matthew Gregan 5ed3387542 Bug 1512450 - Clean up reslicing of audio buffers in AudioIPC's server data callback. r=chunmin
--HG--
extra : amend_source : c7e3943507cde2d321aa1f6b03054cd028336f88
2018-12-18 18:07:54 +02:00
arthur.iakab f1762a3667 Merge mozilla-central to mozilla-inbound 2018-12-18 07:36:08 +02:00
Jean-Yves Avenard 0855e7a7da Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.

This resulted in some YouTube videos for about 10% of the frames to never be returned.

Only the new API properly behaves so we upgrade our code to use it.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 17:29:13 +00:00
Dan Minor 73d9c4cce6 Bug 1498253 - Remove mozAvSyncDelay and mozJitterBufferDelay; r=ng
The value for mozAvSyncDelay has been broken since the branch 57 update
(Bug 1341285). We added SetCurrentSyncOffset() but never called it from
anywhere.

In the future we should be getting stats from AudioReceiveStream rather than
modifying the channel code, the delay_estimate_ms field provides almost the
same information.

Since we're attempting to get rid of moz prefixed stats, it makes sense to just
remove this code rather than fix it. The associated telemetry code has been
broken since Bug 1341285 as well so I think it is safe to remove.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 13:08:12 +00:00
Sylvestre Ledru 6f45c666bc Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Dan Minor 372979b6e0 Bug 1511509 - Assert that at least one stream is configured in CreateEncoderStreams; r=pehrsons
CreateEncoderStreams is called from VideoStreamEncoder::ReconfigureEncoder
which does not check that at least one stream is returned prior to accessing
one of the streams. This would most likely result in a runtime check failing
in ReconfigureEncoder. This adds a runtime assertion in CreateEncodeStreams
that will check that at least one stream is created. This is better than
undefined behaviour in ReconfigureEncoder.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 15:08:17 +00:00
Nico Grunbaum ecedddea82 Bug 1495446 - fix timestamp of WebRTC RTCP stats r=jib
The RTCP timestamps have different timebases and reporting sources, this makes the source and timebase the same for all RTCP stats

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

--HG--
extra : moz-landing-system : lando
2018-12-14 01:55:21 +00:00
Dan Minor cc523ee293 Bug 1497610 - Remove IsNewerOrSameTimestamp; r=bwc
The affected functions are only used by VCMJitterBuffer, which is the older
jitter buffer that is no longer in use. We can safely remove these
modifications.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 20:35:27 +00:00
Dan Minor 5e0f0c2fb0 Bug 1497992 - Remove VideoReceiver::Reset; r=pehrsons
This ends up calling VCMReceiver::Reset() which resets the
state of the VCMJitterBuffer. We no longer use VCMJitterBuffer,
which is the old jitter buffer implementation, so this code
no longer has any effect and can be removed.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 17:57:38 +00:00
Bryce Van Dyk d9995b9edc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
Update mp4parse-rust update script and pull the new version.

This update changes the mp4parse C-API. Specifically, each track can now
have multiple sample descriptions. Previously we'd just exposed the first for
the entire track, and if others were available they were not exposed via the
API. Because of the API change, we update the C++ interface with mp4parse-rust.

We now inspect the sample info to make sure they're consistent with the parsers
expectations:
- Only a single codec is present for a track, multiple codecs in a track will
  result in us returning an error.
- Only 0 or 1 crypto info is present for a track, more than one set of info will
  result in us returning an error.

We still generalize some of the first sample info to the samples of the track,
as we did before this patch. However, we will now catch the above cases
explicitly.

We now handle crypto information if it is not present on the first sample info.
The parser will iterate through sample infos and use the first set of crypto
info it finds (and fail if it finds 2+).

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

--HG--
extra : moz-landing-system : lando
2018-12-12 15:04:18 +00:00
Dorel Luca 58cd1ee36a Backed out changeset b3a9872c08d7 (bug 1513042) for Gtest failure
--HG--
extra : rebase_source : 6930ed8e1ea84af3a83f380279138d75ce2bde30
2018-12-12 02:13:45 +02:00
Bryce Van Dyk 74daa628bc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
Update mp4parse-rust update script and pull the new version.

This update changes the mp4parse C-API. Specifically, each track can now
have multiple sample descriptions. Previously we'd just exposed the first for
the entire track, and if others were available they were not exposed via the
API. Because of the API change, we update the C++ interface with mp4parse-rust.

We now inspect the sample info to make sure they're consistent with the parsers
expectations:
- Only a single codec is present for a track, multiple codecs in a track will
  result in us returning an error.
- Only 0 or 1 crypto info is present for a track, more than one set of info will
  result in us returning an error.

We still generalize some of the first sample info to the samples of the track,
as we did before this patch. However, we will now catch the above cases
explicitly.

We now handle crypto information if it is not present on the first sample info.
The parser will iterate through sample infos and use the first set of crypto
info it finds (and fail if it finds 2+).

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

--HG--
extra : moz-landing-system : lando
2018-12-11 20:55:26 +00:00
Dan Minor c091d9b683 Bug 1497619 - Restore thread check in process_thread_impl.cc; r=ng
Not not really needed.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 20:37:56 +00:00
Dan Minor 6562906d33 Bug 1497573 - Remove DesktopCapturer::Stop; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D14066

--HG--
extra : moz-landing-system : lando
2018-12-10 17:23:37 +00:00
Sylvestre Ledru ad75e912fb Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
Dan Minor 4c2f93d7ef Bug 1497650 - Remove 100 bytes added to CalcBufferSize in vp8_impl.cc; r=ng
In Bug 919979 we added 100 bytes to the size returned by CalcBufferSize
to work around an error with the calculated buffer size with small
resolutions. I verified that this extra buffer is no longer required with
a modified mochitest. Given the age of the bug this was working around,
I don't think a permanent test is required to prevent regressions from
upstream.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 17:19:34 +00:00
Dan Minor 5fa6fb4f75 Bug 1512459 - Remove webrtc sndio audio device; r=padenot
This code is unused and can be removed.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 12:33:04 +00:00
Dan Minor 0cc3ce8ac8 Bug 1497974 - Remove local changes to jitter_buffer.cc; r=pehrsons
These modifications are made to code which we do not use and so
can be removed.

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

--HG--
extra : moz-landing-system : lando
2018-12-07 20:18:57 +00:00
Alex Chronopoulos 188e024d0c Bug 1510786 - Add configuration header for ppc64 and s390x. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D13403

--HG--
extra : moz-landing-system : lando
2018-12-07 18:59:56 +00:00
Dan Minor 22446f0d3d Bug 1497606 - Remove disable_composition_ in screen_capturer_win_gdi; r=ng
This removes disable_composition_ and instead uses the value of
composition_func_ to determine whether or not composition is
disabled. This is what is done by upstream webrtc.org.

We call options.set_disable_effects(false) in desktop_capture_impl.cc.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 18:55:57 +00:00
Sylvestre Ledru eaf6089240 Bug 1511900 - Fix some wording r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13712

--HG--
extra : moz-landing-system : lando
2018-12-05 20:00:57 +00:00
Jean-Yves Avenard 590f06d6e0 Bug 1509875 - P1. Retrieve extended profile from mp4parse. r=kinetik
Depends on D13765

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

--HG--
extra : moz-landing-system : lando
2018-12-05 16:54:21 +00:00
Jean-Yves Avenard fe16899ee1 Bug 1509875 - Cherry-pick mp4parse-rust commit 4472ec104e2b38e6379. r=padenot
Depends on D13755

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

--HG--
extra : moz-landing-system : lando
2018-12-05 16:54:19 +00:00
Jean-Yves Avenard 836fc05ec7 Bug 1509875 - Update cubeb from upstream to e5c3a1d8a68c. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13755

--HG--
extra : moz-landing-system : lando
2018-12-04 21:40:49 +00:00
Dan Minor fa93f60209 Bug 1368816 - Enable VideoCaptureExternalTest Rotation gtest; r=ng
This test started failing after the 57 update and started passing
again after the 64 update, so we might as well enable it.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 14:13:33 +00:00
David Major f2a2531cf6 Bug 1504017: Enable building libwebp's NEON code in clang-cl builds. r=froydnj
--HG--
extra : rebase_source : a0808dee8a6fe9bc16b330a234089ef2a301bf27
2018-12-17 10:09:08 -04:00
Alex Chronopoulos 295d196e68 Bug 1509327 - Update libdav1d build file after import. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D13427

--HG--
extra : moz-landing-system : lando
2018-11-30 19:07:07 +00:00
Alex Chronopoulos 04fe7aa697 Bug 1509327 - Update dav1d from upstream to 36b807a. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D13426

--HG--
extra : moz-landing-system : lando
2018-12-01 21:59:40 +00:00
Dan Minor 032512790d Bug 1498205 - Move PlatformUIThread from rtc_base to video_engine; r=pehrsons
PlatformUIThread is only used by the video_engine code, so it makes sense to
move it there rather than maintain it as a diff against upstream webrtc.org.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 17:46:38 +00:00
Dan Minor 8684095f20 Bug 1497577 - Remove code to detect zero size windows; r=ng
This code was added by Bug 1196542 to fix a permanently failing test on our
Windows test machines. After this landed, upstream added a check for empty
windows in window_captuer_win.cc, so this should no longer be a problem on
Windows. As far as I know, this was never a problem on the other platforms,
so this code can be safely removed.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 20:54:51 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jan-Ivar Bruaroey 01afd58c84 Bug 1492479 - Move MediaStreamError out of MediaManager. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D13175

--HG--
extra : moz-landing-system : lando
2018-11-30 05:15:54 +00:00