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

3089 Коммитов

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