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

6542 Коммитов

Автор SHA1 Сообщение Дата
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
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
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