Commit Graph

7587 Commits

Author SHA1 Message Date
Simon Giesecke
458c7ceb41 Bug 1635132 - Make media/webrtc/signaling/src/media-conduit build outside unified build environment. r=ng
Depends on D73708

Differential Revision: https://phabricator.services.mozilla.com/D73719
2020-05-04 16:55:51 +00:00
Simon Giesecke
89b8cf387d Bug 1635129 - Make media/webrtc/signaling/src/peerconnection build outside unified build environment. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D73708
2020-05-04 16:27:14 +00:00
Byron Campen [:bwc]
ca88e4c776 Bug 1622384: Implement stable indexing for JSEP transceivers. r=mjf
JSEP transceivers were previously held in a vector, in the order that they were
created. However, these could be removed, which meant that the indexing was not
stable. Under most circumstances this did not matter, however there was a
wrinkle with implicit rollback in repeated sRD. Re-applying a remote offer that
had created a transceiver would destroy that transceiver, and create a new one
to replace it. However, JS was not informed, because to PeerConnectionImpl it
looked like nothing had changed. Now, transceivers are indexed in a stable way,
which allows this bug to be fixed, and makes things a little less confusing.

Differential Revision: https://phabricator.services.mozilla.com/D70400
2020-05-01 00:27:03 +00:00
Nico Grunbaum
6c05bc8709 Bug 1405495 - filter by MID in MediaPipelineFilter;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D70486
2020-05-01 01:52:28 +00:00
Arthur Iakab
0dd3332a55 Backed out 4 changesets (bug 1622384) for causing build bustages on JsepSession.h
CLOSED TREE

Backed out changeset d339ce87c2ef (bug 1622384)
Backed out changeset 13101fc544bc (bug 1622384)
Backed out changeset aad4412b43e2 (bug 1622384)
Backed out changeset eba5d05e59b2 (bug 1622384)
2020-05-01 00:03:03 +03:00
Byron Campen [:bwc]
d2457e5246 Bug 1622384: Implement stable indexing for JSEP transceivers. r=mjf
JSEP transceivers were previously held in a vector, in the order that they were
created. However, these could be removed, which meant that the indexing was not
stable. Under most circumstances this did not matter, however there was a
wrinkle with implicit rollback in repeated sRD. Re-applying a remote offer that
had created a transceiver would destroy that transceiver, and create a new one
to replace it. However, JS was not informed, because to PeerConnectionImpl it
looked like nothing had changed. Now, transceivers are indexed in a stable way,
which allows this bug to be fixed, and makes things a little less confusing.

Differential Revision: https://phabricator.services.mozilla.com/D70400
2020-04-29 02:48:07 +00:00
Simon Giesecke
62219e33b9 Bug 1628692 - Prepare media/webrtc/signaling/src/peerconnection/ for making FallibleTArray uncopyable. r=jesup,bwc,erahm
Differential Revision: https://phabricator.services.mozilla.com/D72621
2020-04-29 15:38:28 +00:00
Kershaw Chang
4db371a46e Bug 1512478 - Use sync IPC to get client auth data from parent process r=keeler,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36911
2020-04-28 20:12:43 +00:00
Byron Campen [:bwc]
68ded2fc51 Bug 1629565: Some logging that was helpful. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72243
2020-04-27 14:38:26 +00:00
Byron Campen [:bwc]
ff27555ac8 Bug 1629565: Transition gathering state to "new" if a negotiation leaves us with no transports. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72242
2020-04-27 14:40:00 +00:00
Byron Campen [:bwc]
638490970c Bug 1629565: Fix bug where rollback of local offer would stomp the pre-existing transport with a new one with the same ufrag/pwd. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72240
2020-04-27 14:42:13 +00:00
Byron Campen [:bwc]
c98c1674f6 Bug 1629565: Do not transition back to "gathering" if no gathering is needed. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72238
2020-04-27 14:36:39 +00:00
Byron Campen [:bwc]
606eb34163 Bug 1629565: Fix bug where repeated sRD(offer) could start gathering. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72235
2020-04-27 14:47:44 +00:00
Sylvestre Ledru
7f26dcf1b6 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
Done with:
./mach lint -l rustfmt --fix
with
rustfmt 1.4.12-stable (a828ffe 2020-03-11)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D72527
2020-04-25 21:21:32 +00:00
Michael Froman
8f02f0cbfa Bug 1629529 - fix shutdown dispatch assert in WebrtcTCPSocket. r=bwc
If we're shutting down and mSocketThread is no longer accepting work,
this dispatch can fail.  As far as I can see, fully fixing this would
require changes to nsIThread in order to allow checking whether the
thread is shutting down.

Differential Revision: https://phabricator.services.mozilla.com/D71964
2020-04-24 15:37:39 +00:00
Simon Giesecke
c0341c3791 Bug 1628715 - Part 10: Activate nodiscard attributes on AppendElement(s). r=xpcom-reviewers,nika,peterv
Differential Revision: https://phabricator.services.mozilla.com/D70834
2020-04-24 14:34:15 +00:00
Narcis Beleuzu
903cd347ea Backed out changeset 9d1756abffd2 (bug 1629529) for bustages on WebrtcTCPSocket.cpp . CLOSED TREE 2020-04-24 05:14:40 +03:00
Michael Froman
eb2222bf34 Bug 1629529 - fix shutdown dispatch assert in WebrtcTCPSocket. r=bwc
If we're shutting down and mSocketThread is no longer accepting work,
this dispatch can fail.  As far as I can see, fully fixing this would
require changes to nsIThread in order to allow checking whether the
thread is shutting down.

Differential Revision: https://phabricator.services.mozilla.com/D71964
2020-04-23 21:42:21 +00:00
Narcis Beleuzu
b6a26db6c8 Backed out changeset fabb6fb27e8a (bug 1629529) for being an incorrect fix. CLOSED TREE 2020-04-23 20:54:55 +03:00
Dan Minor
8a8b6e82bc Bug 1628678 - Disable some threading asserts in AudioSendStream and ChannelProxy; r=bwc
With transport-cc enabled, we get feedback calls into AudioSendStream occuring
on the sts thread. Since AudioSendStream is constructed on the main thread,
this trips up the worker_thread_checker_ checks. The functions that are called
end up doing their work using AudioCodingModuleImpl::ModifyEncoder, which
takes a lock, so it should be safe to remove these assertions.

We've had to do similar things to ChannelProxy in the past to get stats
working from the sts thread. ChannelProxy has been removed upstream, but we
should consider changing our use of AudioSendStream with the next libwebrtc
update so that is always called from the same thread.

Differential Revision: https://phabricator.services.mozilla.com/D72157
2020-04-23 15:18:00 +00:00
shravanrn@gmail.com
e0273c024b Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-22 11:16:10 +00:00
shravanrn@gmail.com
093eb26bcf Bug 1625876 - Port libOgg usage code in the OGGDemuxer to use the RLBox API r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D68764
2020-04-22 11:41:42 +00:00
Michael Froman
b5392b2074 Bug 1629529 - fix shutdown dispatch assert in WebrtcTCPSocket. r=bwc
If we're shutting down and mSocketThread is no longer accepting work,
this dispatch can fail.  As far as I can see, fully fixing this would
require changes to nsIThread in order to allow checking whether the
thread is shutting down.

Differential Revision: https://phabricator.services.mozilla.com/D71964
2020-04-22 14:33:01 +00:00
Brindusan Cristian
c4fd863aaa Backed out 2 changesets (bug 1626174, bug 1625876) for build bustages at LibrarySandboxPreload.cpp and OggDemuxer.cpp. CLOSED TREE
Backed out changeset 40fea0f3ab6c (bug 1626174)
Backed out changeset a3117fce845d (bug 1625876)
2020-04-21 19:29:02 +03:00
shravanrn@gmail.com
f0399f4146 Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Depends on D68764

Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-21 15:30:37 +00:00
shravanrn@gmail.com
d2d2282d1c Bug 1625876 - Port libOgg usage code in the OGGDemuxer to use the RLBox API r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D68764
2020-04-21 15:29:57 +00:00
Nico Grunbaum
5e3d3c4d85 Bug 1628630 - Add Support for RTX in WebRTC SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70330

--HG--
extra : moz-landing-system : lando
2020-04-16 10:56:36 +00:00
Nico Grunbaum
4f8f4fd418 Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 09:17:46 +00:00
Brindusan Cristian
094e7f1fa3 Backed out 2 changesets (bug 1628630) for build bustages at SdpAttribute.h. CLOSED TREE
Backed out changeset 5c05d978aa32 (bug 1628630)
Backed out changeset bbd66b8940bb (bug 1628630)
2020-04-16 09:01:26 +03:00
Nico Grunbaum
763dd6c1c0 Bug 1628630 - Add Support for RTX in WebRTC SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70330

--HG--
extra : moz-landing-system : lando
2020-04-16 05:36:10 +00:00
Nico Grunbaum
53809171df Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 05:35:58 +00:00
Dan Minor
fbe8b27f53 Bug 1611938 - Add mutex to WebrtcMediaDataEncoderCodec; r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D68785

--HG--
extra : moz-landing-system : lando
2020-04-15 15:45:56 +00:00
Dan Minor
4639b29902 Bug 1628851 - Fix VP8 temporal scalability; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D70673

--HG--
extra : moz-landing-system : lando
2020-04-14 18:24:51 +00:00
Chun-Min Chang
4e7ae3e350 Bug 1628132 - P2: Update cubeb to 9caa5b1. r=kinetik
Pick commits:
9caa5b1 - Only print the filename when logging (#581)
8a4170a - sun: Line continuation character not needed
9696902 - sun: POLL_TIMEOUT is no longer used
159fb99 - sun: Add my email address to the copyright header.
e3b409f - sun: Refactoring: reduce duplication in stream structure.
36aa8b1 - sun: Make the purpose of some variables clearer.
1654468 - sun: Update header inclusion.
38ef439 - sun: Convert floats to LINEAR32 instead of LINEAR16
4dbacae - Remove test for registering device changed callback twice
7f94e27 - Force Rust builds to always rerun cargo.
3e23b25 - Remove TODO, we've done all of those, or they don't apply anymore

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

--HG--
extra : moz-landing-system : lando
2020-04-14 00:23:16 +00:00
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
Matthew Gregan
451e1de678 Bug 1623799 - Update audioipc to 7f7c997e. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D67577

--HG--
extra : moz-landing-system : lando
2020-03-19 23:29:49 +00:00
Dan Minor
294882d83b Bug 1621500 - Null out _owner in RTCVideoCaptureIosObjC; r=ng
We're seeing what looks like occasional late callbacks in
VideoCaptureImpl::DeliverCapturedFrame on OS X. When we call stopCapture, it in
turns calls directOutputToNil which should cause any newly capture frames to be
dropped. It is not clear from the existing code or the documentation what would
happen to any frames which are already enqueued. It looks like it is possible
for frames to be delivered on the old queue, which would explain late callbacks.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 17:04:22 +00:00
Marcin Wojtczak
e310487b92 Bug 1622759 - Don't fail when nr_interface_prioritizer_add_interface() returns R_ALREADY r=bwc
This allows us to continue adding remaining interfaces from addrs array and
makes sure nr_interface_prioritizer_sort_preference() is called at the end.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 16:54:07 +00:00
Sylvestre Ledru
acd1b8f246 Bug 1622328 - mdns_service.h: Add the license r=dminor
Depends on D66809

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:25:43 +00:00
Dan Minor
c57e9e9841 Bug 1622732 - Use error! instead of println! in rsdparsa_capi; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D66958

--HG--
extra : moz-landing-system : lando
2020-03-17 16:48:54 +00:00
Dan Minor
8e00f3c3ce Bug 1622923 - Remove expiring WebRTC hostname obfuscation telemetry; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D67038

--HG--
extra : moz-landing-system : lando
2020-03-17 14:25:38 +00:00
Narcis Beleuzu
0bd97c69da Backed out changeset 1d20f201aaad (bug 1622732) for bustages on lib.rs. CLOSED TREE 2020-03-17 17:36:50 +02:00
Dan Minor
b6a9e0498e Bug 1622732 - Use error! instead of println! in rsdparsa_capi; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D66958

--HG--
extra : moz-landing-system : lando
2020-03-16 19:57:36 +00:00
Alex Chronopoulos
9fb4eecd46 Bug 1617915 - Expose output device id when MediaTrackGraph is created. r=padenot
In order to be able to change the audio output device, the device id is exposed to the constructor of MediaStreamGraph. Any component that gets/creates an MTG will be able to provide the device id in order to determine the desired output device. If the provided device id is null the default device will be used.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 12:56:20 +00:00
Dan Minor
b95b4bbc29 Bug 1619484 - Add missing overload of OnMouseCursorPosition; r=ng
It looks like the overload of OnMouseCursorPosition which actually sets the
cursor_state_ member was somehow missed during the last webrtc.org update.
This overload is present in branch 64 upstream, but has subsequently been
removed.

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

--HG--
extra : moz-landing-system : lando
2020-03-14 06:38:05 +00:00
Kartikaya Gupta
f2d9f42c06 Bug 1622256 - Use Display trait instead of Error::description. r=kinetik
Depends on D66768

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

--HG--
extra : moz-landing-system : lando
2020-03-16 02:15:56 +00:00
Kartikaya Gupta
763458cb65 Bug 1622256 - Remove unnecessary parentheses around block return value. r=kinetik
This causes compiler warnings which makes the build fail.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 08:40:42 +00:00
Ed Lee
68e140412a Bug 1622343 - Automatic code fixes for rustfmt warnings for now-unskipped files r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D66811

--HG--
extra : moz-landing-system : lando
2020-03-13 23:23:58 +00:00
Dan Minor
e304dee2ab Bug 1544181 - Check for large frames in GMPDecodeData; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D64341

--HG--
extra : moz-landing-system : lando
2020-03-12 14:42:11 +00:00
Matthew Gregan
210f8ccbc5 Bug 1621428 - Update cubeb to 6e7e7659. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D66303

--HG--
extra : moz-landing-system : lando
2020-03-11 15:49:23 +00:00
Kevin Jacobs
1f7860ca02 Bug 1621036 - Enable DTLS 1.3 supported_versions workaround for interop between pre/post-Fx75 WebRTC. r=mt
Enable the NSS workaround introduced in bug 1619102, for DTLS 1.3 WebRTC clients.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 16:43:31 +00:00