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

7503 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich 6a49954834 Bug 1622013 - Build *_mmx.c files with -mmmx in bundled libvpx; r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D70674

--HG--
extra : moz-landing-system : lando
2020-04-13 15:34:42 +00:00
Nils Ohlmeier [:drno] fc4d0d052e Bug 1627749: remove webrtc_version.h and webrtc_update.sh. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D69851

--HG--
extra : moz-landing-system : lando
2020-04-06 18:47:04 +00:00
Dan Minor b4a9997899 Bug 1624253 - Catch panic in mdns_service_generate_uuid; r=mjf
In rare cases, the random number generator can fail to initialize when
generating a v4 UUID, causing a panic and crash. This adds code to catch that
panic and return a nil (all zeros) UUID instead. Using a nil UUID seems better
from a user privacy perspective than failing to obfuscate the host address and
leaking it when it is expected to be hidden.

Longer term, we might want to switch over to using nsIUUIDGenerator, but that
would require changes to how the socket process is initialized.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 14:20:38 +00:00
Omri Sarig a60ad3ae44 Bug 1626787 - ClearKeyDecryptionManager.cpp check emptiness by empty instead of by size. r=sylvestre
Emptiness of values should be checked using the `empty` method, and not
by comparing the size to 0. Fix such case in the code of
ClearKeyDecryptionManager.cpp module.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 15:47:17 +00:00
Noemi Erli be7697306a Backed out changeset 65ec189c410c (bug 1611938) for causing Android crashes CLOSED TREE 2020-04-08 17:21:10 +03:00
Dan Minor 36fd49aa19 Bug 1611938 - Change dispatches in WebrtcMediaDataEncoderCodec; r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D68785

--HG--
extra : moz-landing-system : lando
2020-04-07 23:48:58 +00:00
Dan Minor 76a59f4a65 Bug 1347911 - Add sdp unit test for ssrc-group; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69272

--HG--
extra : moz-landing-system : lando
2020-04-08 11:41:05 +00:00
Sergio Garcia Murillo c60f2fd639 Bug 1347911 - Add support for ssrc groups to SdpAttributeList; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69270

--HG--
extra : moz-landing-system : lando
2020-04-08 11:40:52 +00:00
Sergio Garcia Murillo 2765f304a9 Bug 1347911 - Add support for parsing ssrc-group to sipcc; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69269

--HG--
extra : moz-landing-system : lando
2020-04-08 11:40:35 +00:00
Dan Minor 27dd57df7f Bug 1347911 - Update rsdparsa_capi to support ssrc-group; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D69268

--HG--
extra : moz-landing-system : lando
2020-04-08 11:40:22 +00:00
Dan Minor 35b359b642 Bug 1347911 - Update webrtc-sdp to 0.3.4; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D69267

--HG--
rename : third_party/rust/webrtc-sdp/examples/sdps/2.sdp => third_party/rust/webrtc-sdp/examples/sdps/02.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/4.sdp => third_party/rust/webrtc-sdp/examples/sdps/04.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/6.sdp => third_party/rust/webrtc-sdp/examples/sdps/06.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/7.sdp => third_party/rust/webrtc-sdp/examples/sdps/07.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/8.sdp => third_party/rust/webrtc-sdp/examples/sdps/08.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/9.sdp => third_party/rust/webrtc-sdp/examples/sdps/09.sdp
extra : moz-landing-system : lando
2020-04-08 11:40:19 +00:00
Tom Tung d33e72aaa9 Bug 1586761 - P5 - Use new methods in media r=tjr,baku
Differential Revision: https://phabricator.services.mozilla.com/D63906

--HG--
extra : moz-landing-system : lando
2020-03-25 14:16:15 +00:00
Andreas Farre 25ca8d7890 Bug 1620594 - Part 7: Remove TabGroup and SystemGroup. r=nika,bas
TabGroup never really made any difference in which thread something go
dispatched to. This was the intended use, but development of TabGroups
with abstract main threads never made it that far. The good thing is
that thish makes it safe to also remove to the SystemGroup and instead
switch all SystemGroup dispatches to dispatches to main thread.

Timers for setTimeout and workers were the sole users of wrapped and
throttled event targets, that those throttled queues have been moved
to the BrowsingContextGroup and are now accessed explicitly.

The SchedulerEventTarget has been removed, since there are no longer a
separate event target for every TaskCategory. Instead a
LabellingEventTarget has been added to DocGroup to handle the case
where an event is dispatched do DocGroup or when an AbstractThread is
created using a DocGroup. This means that we'll actually label more
events correctly with the DocGroup that they belong to.

DocGroups have also been moved to BrowsingContextGroup.

Depends on D67636

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:17:47 +00:00
Andreas Farre 9e36af2ab6 Bug 1620594 - Part 3: Use default target for timers using SystemGroup. r=nika
Depends on D67632

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:46 +00:00
Andreas Farre 63e21eec70 Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.

Depends on D64390

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Valentin Gosu f29e4186dd Bug 1625213 - Make txt records be resolved with onLookupComplete r=dragana
This patch makes nsIDNSByTypeRecord extend nsIDNSRecord, but implementations
will safely forward the nsIDNSRecord methods to `nullptr`, meaning they will
throw an error when called.

Consumers should try to QI the nsIDNSRecord to nsIDNSByTypeRecord (or any
future types) and use that.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:39:45 +00:00
Alex Chronopoulos 88b8c3cca3 Bug 1626319 - Change async callback logger to log per thread-id. r=padenot
TRACE_AUDIO_CALLBACK() and TRACE_AUDIO_CALLBACK_COMMENT(aFmt, ...) log to a hardcoded thread id number. This creates confusion when more than one MTG is running because logs from different threads are depicted to the same thread line and overlapping each other. Those logging commands have been removed and the TRACE* command is used that it logs per thread-id.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 10:45:52 +00:00
Anthony Ramine 42bdec38a0 Bug 1627636 - Vendor mio-named-pipes from crates.io; r=kinetik
There is no need to use the Git repository, its only change compared to 0.1.6
is that some random tidbit has been fixed in the README file.

Depends on D69805

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

--HG--
extra : moz-landing-system : lando
2020-04-07 02:41:07 +00:00
Anthony Ramine 1eb60b1342 Bug 1627636 - Clean up version constraints in audioipc manifest; r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D69805

--HG--
extra : moz-landing-system : lando
2020-04-07 02:40:59 +00:00
Emilio Cobos Álvarez 4b9fdf3d73 Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
Mostly a matter of:

  rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'

And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).

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

--HG--
extra : moz-landing-system : lando
2020-04-06 18:57:36 +00:00
Cosmin Sabou d557e2ed22 Backed out 3 changesets (bug 1627707) for build bustages @ mozilla::net::LoadInfo.
Backed out changeset 65d6a90651ce (bug 1627707)
Backed out changeset 378ec30d9979 (bug 1627707)
Backed out changeset 058a19e11b06 (bug 1627707)
2020-04-06 20:07:04 +03:00
Emilio Cobos Álvarez 97872f2fee Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
Mostly a matter of:

  rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'

And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).

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

--HG--
extra : moz-landing-system : lando
2020-04-06 16:00:43 +00:00
Michael Froman 3973d5ec78 Bug 1609124 - check for associated IP address on interface for ICE dualstack operation. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69245

--HG--
extra : moz-landing-system : lando
2020-04-01 20:38:26 +00:00
J. Ryan Stinnett 9678414e95 Bug 1606823 - Add support for WebRTC transport-cc extension. r=bwc,drno
This change includes support to negotiate the transport-wide-cc RTP extension
needed to enable sender side bandwidth estimation in WebRTC. When this
extension is supported in both sides during the Offer/Answer negotiation the
transport_cc mode is enabled in the WebRTC engine so that this mode is used
instead of the legacy receiver-side (REMB based) mechanism.

The change is inspired on this fork by medooze team:
https://github.com/medooze/gecko-dev/pull/2/files

Co-authored-by: ggarber <gustavogb@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2020-03-30 22:32:43 +00:00
André Bargull d53798e749 Bug 1625138 - Part 23: Replace mozilla::RemovePointer with std::remove_pointer. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68378

--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:17 +00:00
André Bargull a08be4177e Bug 1625138 - Part 17: Replace mozilla::Decay with std::decay. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68372

--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
Byron Campen [:bwc] 9b911ee291 Bug 1624956: Make sure we're initted before trying to get ICE stats. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D68246

--HG--
extra : moz-landing-system : lando
2020-03-26 14:11:36 +00:00
Dan Minor fc60c56bd4 Bug 1625288 - Fix broken camera unmute in WebRTC call on macOS; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D68459

--HG--
extra : moz-landing-system : lando
2020-03-27 13:50:02 +00:00
Jason ea383d394a Bug 1516673 - Adds CBCS encryption scheme functionality. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D60053

--HG--
extra : moz-landing-system : lando
2020-03-26 20:53:59 +00:00
Jon Bauman 6ec77fef76 Bug 1624057 - Update mp4parse-rust to 63ca8c6. r=kinetik
Also update the update-rust.sh script in a couple ways:
- Stop copying the source for mp4parse_fallible into the tree; use crates.io
- Include submodules in mp4parse-rust checkout; needed for tests
- Exclude unnecessary build.rs from mp4parse_fallible, it was causing problems
- Update mp4rust_capi/Cargo.toml patch to exclude cdylib. It's only necessary for test_ffi and causes build problems otherwise

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

--HG--
extra : moz-landing-system : lando
2020-03-26 02:08:51 +00:00
Byron Campen [:bwc] a36e252242 Bug 1620308: Move RTCDTMFSender logic to a single c++ class. r=smaug,jib,mjf
Differential Revision: https://phabricator.services.mozilla.com/D67513

--HG--
extra : moz-landing-system : lando
2020-03-25 18:46:37 +00:00
Byron Campen [:bwc] 944d6971a3 Bug 1603887: Drive closing of DataChannels with transport events, not negotiation events. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D67946

--HG--
extra : moz-landing-system : lando
2020-03-23 21:52:51 +00:00
Byron Campen [:bwc] 4d035f7c82 Bug 1624458: Make sure we cancel callbacks in close. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D68042

--HG--
extra : moz-landing-system : lando
2020-03-24 16:19:42 +00:00
Byron Campen [:bwc] bcd72fe82e Bug 1616875: Make this work with gtest. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D64692

--HG--
extra : moz-landing-system : lando
2020-03-20 15:35:46 +00:00
Byron Campen [:bwc] 2eecfe8825 Bug 1616875: Make RtpSourceObserver update stats on main thread, and simplify. r=ng
This essentially implements the "queue a task" step required by the spec, which
ensures that if JS checks stats multiple times without relinquishing the event
loop, it will see the same thing each time.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 15:35:44 +00:00
Byron Campen [:bwc] 2bd9232e1c Bug 1616875: Remove some unnecessary code. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D64238

--HG--
extra : moz-landing-system : lando
2020-03-20 15:34:05 +00:00
Byron Campen [:bwc] 865bbdca09 Bug 1616875: Move some receiver-related testing functions from RTCPeerConnection to RTCRtpReceiver. r=ng,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64262

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:55 +00:00
Byron Campen [:bwc] 1898507132 Bug 1616875: Create RTCRtpReceiver in c++, and move code into it from both JSImpl and other places in c++. Also, move some code from JSImpl to PeerConnectionImpl. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64235

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:24 +00:00
Byron Campen [:bwc] 82081f2ffa Bug 1616875: Remove code that we will not need to move to RTCRtpReceiver. r=ng,smaug
Primarily, this removes code that was compensating for inconsistencies between webrtc.org's timestamps, and JS timestamps. Also, this removes a few bits of indirection on GetRtpSources; that's all going to go directly to RTCRtpReceiver now. None of this code is being moved elsewhere.

Depends on D50395

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

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:12 +00:00
Byron Campen [:bwc] 7fd72ae8fd Bug 1616875: Use timestamps for SSRC/CSRC statistics that are consistent with JS timestamps. r=ng
This means we won't have to re-implement all of our JSImpl workarounds in c++.
Also, rename a variable in a way that made it easier to read this code.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:04 +00:00
Michael Froman 4ef4d2b585 Bug 1620471 - Update libdav1d to 0.6.0 r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D67511

--HG--
extra : moz-landing-system : lando
2020-03-20 15:17:26 +00:00
Bogdan Tara 2b0b0d8b79 Backed out 9 changesets (bug 1616875) for bustages complaining about RTCRtpReceiver.h CLOSED TREE
Backed out changeset 92ed87a5add4 (bug 1616875)
Backed out changeset 96b3a322e605 (bug 1616875)
Backed out changeset a301ce4e5571 (bug 1616875)
Backed out changeset ac73b2ce3e20 (bug 1616875)
Backed out changeset f5a201261e83 (bug 1616875)
Backed out changeset 36892aed2a94 (bug 1616875)
Backed out changeset 2c21627f3678 (bug 1616875)
Backed out changeset ebdad7b7b632 (bug 1616875)
Backed out changeset 3bad18c7a567 (bug 1616875)
2020-03-20 16:38:30 +02:00
Byron Campen [:bwc] f688bb3c01 Bug 1616875: Make this work with gtest. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D64692

--HG--
extra : moz-landing-system : lando
2020-03-19 18:43:25 +00:00
Byron Campen [:bwc] 4a860bed41 Bug 1616875: Make RtpSourceObserver update stats on main thread, and simplify. r=ng
This essentially implements the "queue a task" step required by the spec, which
ensures that if JS checks stats multiple times without relinquishing the event
loop, it will see the same thing each time.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:43:12 +00:00
Byron Campen [:bwc] 5b459b872c Bug 1616875: Remove some unnecessary code. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D64238

--HG--
extra : moz-landing-system : lando
2020-03-19 18:42:44 +00:00
Byron Campen [:bwc] 72efb619af Bug 1616875: Move some receiver-related testing functions from RTCPeerConnection to RTCRtpReceiver. r=ng,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64262

--HG--
extra : moz-landing-system : lando
2020-03-19 18:42:29 +00:00
Byron Campen [:bwc] fc5f5e381e Bug 1616875: Create RTCRtpReceiver in c++, and move code into it from both JSImpl and other places in c++. Also, move some code from JSImpl to PeerConnectionImpl. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64235

--HG--
extra : moz-landing-system : lando
2020-03-19 18:41:58 +00:00
Byron Campen [:bwc] 4e1d375bf8 Bug 1616875: Remove code that we will not need to move to RTCRtpReceiver. r=ng,smaug
Primarily, this removes code that was compensating for inconsistencies between webrtc.org's timestamps, and JS timestamps. Also, this removes a few bits of indirection on GetRtpSources; that's all going to go directly to RTCRtpReceiver now. None of this code is being moved elsewhere.

Depends on D50395

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:41:46 +00:00
Byron Campen [:bwc] 2c26ca9900 Bug 1616875: Use timestamps for SSRC/CSRC statistics that are consistent with JS timestamps. r=ng
This means we won't have to re-implement all of our JSImpl workarounds in c++.
Also, rename a variable in a way that made it easier to read this code.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:41:38 +00:00
Nils Ohlmeier [:drno] 3961f9751a Bug 1615443: re-add DTLS protocol version telemetry. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D62827

--HG--
extra : moz-landing-system : lando
2020-03-18 17:59:07 +00:00