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

7851 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot b91dcb77c5 Bug 1670917 - Update audioipc to revision c474b0b. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93364
2020-10-20 13:54:00 +00:00
Paul Adenot 96b78da32a Bug 1670917 - Upstream build system and other bits from freebsd-ports. r=cubeb-reviewers,chunmin
This is the first two chunks in ed3dd55916/www/firefox/files/patch-cubeb-oss, from From: jbeich <jbeich@FreeBSD.org>. The rest of this patch file is now upstream.

This allows OSS users to drop a patch downstream.

Differential Revision: https://phabricator.services.mozilla.com/D93362
2020-10-20 13:08:22 +00:00
Paul Adenot cf7a8a8f15 Bug 1670917 - Update libcubeb to a7e83aa. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93361
2020-10-20 13:48:14 +00:00
Paul Adenot 4c0e069936 Bug 1670917 - Add the new OSS backend for cubeb to update.sh. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93360
2020-10-20 13:08:17 +00:00
Dan Minor f55f5accb0 Bug 1667319 - Move duplicate payload type checking to JsepCodecDescription; r=bwc
This moves most of the JsepTrack functionality for dealing with duplicate
payload types to a new EnsurePayloadTypeNotDuplicate method in
JsepCodecDescription. It also adds a virtual EnsureNoDuplicatePayloadTypes
method that checks the appropriate payload types for each codec type.

Differential Revision: https://phabricator.services.mozilla.com/D92112
2020-10-20 13:54:20 +00:00
Mike Hommey b043d52e4c Bug 1669888 - Enable ffvpx on all Mac platforms. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D92875
2020-10-08 05:28:28 +00:00
Paul Adenot cb8855101f Bug 1669450 - Update libsoundtouch to a911a1. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D92597
2020-10-07 09:40:58 +00:00
Paul Adenot 7957e52ba6 Bug 1669450 - Make `update.sh` in `media/libsoundtouch/` update `moz.yaml`. r=chunmin
Lifted from the similar script in `media/libcubeb`.

Differential Revision: https://phabricator.services.mozilla.com/D92599
2020-10-07 09:40:33 +00:00
Paul Adenot e4fd2a40e8 Bug 1669450 - Drop a patch added in bug 1624026, it's now fixed upstream. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D92598
2020-10-07 09:41:10 +00:00
Jon Bauman 067cafe63f Bug 1661093 - Update libdav1d to 0243c3ff for Firefox 82. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D92534
2020-10-06 15:53:50 +00:00
Paul Adenot 1c5cb03fce Bug 1624026 - Disable TDStretch::calcCrossCorrAccumulate to sidestep an audio quality bug on Android. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D91614
2020-09-28 18:16:45 +00:00
Dan Minor 45562522d9 Bug 1665166 - Updates to moz.build files; r=ng
Depends on D91318

Differential Revision: https://phabricator.services.mozilla.com/D91319
2020-09-24 18:40:21 +00:00
Dan Minor e800fc9506 Bug 1665166 - Move media/webrtc build files to dom/media/webrtc/third_party_build; r=ng
Depends on D91317

Differential Revision: https://phabricator.services.mozilla.com/D91318
2020-09-24 18:20:26 +00:00
Dan Minor 9f1d2b5af5 Bug 1665166 - Move media/webrtc/trunk/* to third-party/libwebrtc; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D91317
2020-09-24 18:28:41 +00:00
Nico Grunbaum c9ad55f22d Bug 1664900 - P5 - mv peerconnection to jsapi;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90951
2020-09-23 04:28:03 +00:00
Nico Grunbaum 97c8100b46 Bug 1664900 - P4 - mv mediapipeline to transportbridge;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90950
2020-09-23 04:25:40 +00:00
Nico Grunbaum f8dd90decb Bug 1664900 - P3 - mv media-conduit to libwebrtcglue;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90949
2020-09-23 04:25:07 +00:00
Nico Grunbaum 54d899d308 Bug 1664900 - move /media/webrtc/signaling/src to /dom/media/webrtc;r=dminor,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D90179
2020-09-23 04:22:29 +00:00
Michael Froman 5b942915e9 Bug 1664898 - move media/mtransport to media/transport. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90309
2020-09-22 21:43:49 +00:00
Jan-Ivar Bruaroey d3581a4175 Bug 1634044 - comment out assert(IsGUIThread(false)) in MouseCursorMonitorWin::Capture() to pass new tests. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D89151
2020-09-22 20:10:08 +00:00
Paul Adenot df68b2b83f Bug 1663917 - Update libcubeb to 1358724f73. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-22 13:43:59 +00:00
Paul Adenot cf8af961d5 Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-22 13:42:46 +00:00
Andreas Pehrson c4385772c0 Bug 1663368 - Update VideoConduit to use the new APIs. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90964
2020-09-22 12:05:35 +00:00
Andreas Pehrson 8b25fc1af3 Bug 1663368 - Update gn-configs and re-generate moz.build files. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90985
2020-09-22 12:05:27 +00:00
Andreas Pehrson b1821556f2 Bug 1663368 - Cherry-pick and retrofit webrtc.org bug 10069 (REVERT this before applying next webrtc.org update). r=dminor
See https://crbug.com/webrtc/10069 for details and full diffs.

Differential Revision: https://phabricator.services.mozilla.com/D90670
2020-09-22 12:05:23 +00:00
Andreas Pehrson 4037d3632f Bug 1663368 - Don't assume a certain stream order in Mozilla code. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90669
2020-09-22 12:05:05 +00:00
James Willcox 173058981b Bug 1553459 - Migrate to AndroidX r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90711
2020-09-18 22:29:04 +00:00
Sebastian Hengst cf7b0b4636 Backed out 3 changesets (bug 1663917) for crashes (bug 1665983).
Crashes with
* [@ arena_dalloc | `anonymous namespace'::setup_wasapi_stream]
* [@ `anonymous namespace'::wasapi_create_device ]

Backed out changeset f08ef676251a (bug 1663917)
Backed out changeset 5bf586f8f81a (bug 1663917)
Backed out changeset 91ff0dad958b (bug 1663917)
2020-09-18 20:07:30 +02:00
Paul Adenot 798601203b Bug 1663917 - Update libcubeb b66d915. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-17 12:14:19 +00:00
Paul Adenot b020f9129d Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-17 12:14:15 +00:00
Bogdan Tara 88a65a9f0d Merge mozilla-central to autoland on a CLOSED TREE 2020-09-17 13:17:04 +03:00
Bogdan Tara 5efefd3ef2 Backed out 3 changesets (bug 1663917) on jcristau's request, for crashes a=backout
DONTBUILD

Backed out changeset 706c1dc89ab3 (bug 1663917)
Backed out changeset 837d83a0bddd (bug 1663917)
Backed out changeset 18143730ca80 (bug 1663917)
2020-09-17 12:58:50 +03:00
Paul Adenot 1a0015a1be Bug 1663917 - Update libcubeb a45f6d0. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-15 15:05:05 +00:00
Paul Adenot 25a676aa1b Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-15 15:05:00 +00:00
Narcis Beleuzu 84c3cc7574 Backed out 47 changesets (bug 1656438) for bustages on DynamicResampler.cpp . CLOSED TREE
Backed out changeset dc497e6c016d (bug 1656438)
Backed out changeset 780a6b48d876 (bug 1656438)
Backed out changeset a9baeaefbb85 (bug 1656438)
Backed out changeset 297b4dbd2380 (bug 1656438)
Backed out changeset 8c3c64217bf6 (bug 1656438)
Backed out changeset d51cd6827d3b (bug 1656438)
Backed out changeset 1e48be97c8ad (bug 1656438)
Backed out changeset 44d075680b27 (bug 1656438)
Backed out changeset 64c35518d82f (bug 1656438)
Backed out changeset 159e8137d4ad (bug 1656438)
Backed out changeset 0546062cc053 (bug 1656438)
Backed out changeset 18079c579276 (bug 1656438)
Backed out changeset b6f3e65401b4 (bug 1656438)
Backed out changeset cfbc65954235 (bug 1656438)
Backed out changeset d35cf2a0b659 (bug 1656438)
Backed out changeset 5da08b28c7b5 (bug 1656438)
Backed out changeset 8071a5b82a62 (bug 1656438)
Backed out changeset 4f2aeff6e0e4 (bug 1656438)
Backed out changeset 4bb23c108319 (bug 1656438)
Backed out changeset 90c2ec79a8fc (bug 1656438)
Backed out changeset ffb479620b65 (bug 1656438)
Backed out changeset 9e9f40be7bd7 (bug 1656438)
Backed out changeset 664f66d512ff (bug 1656438)
Backed out changeset ce3a1f7b1c79 (bug 1656438)
Backed out changeset 8e59070e92ea (bug 1656438)
Backed out changeset fd84761e9af8 (bug 1656438)
Backed out changeset 50ec7aa8a44a (bug 1656438)
Backed out changeset 338a090e2657 (bug 1656438)
Backed out changeset 1f262745a844 (bug 1656438)
Backed out changeset 3b904a06afd1 (bug 1656438)
Backed out changeset d5c5afc9239f (bug 1656438)
Backed out changeset 9351b87ca40b (bug 1656438)
Backed out changeset 2baecf74521e (bug 1656438)
Backed out changeset 8571622fc9a0 (bug 1656438)
Backed out changeset c4ad7c72bc9c (bug 1656438)
Backed out changeset e505d1d051c4 (bug 1656438)
Backed out changeset a51bb724a78c (bug 1656438)
Backed out changeset 8cacc0e96a3e (bug 1656438)
Backed out changeset 58838694eb67 (bug 1656438)
Backed out changeset 2baa906a480d (bug 1656438)
Backed out changeset 52e1ae3a4fd7 (bug 1656438)
Backed out changeset 1da839e0562d (bug 1656438)
Backed out changeset 55c9c22b0a13 (bug 1656438)
Backed out changeset d116b82ffad9 (bug 1656438)
Backed out changeset b640887eca0e (bug 1656438)
Backed out changeset 5be36600b092 (bug 1656438)
Backed out changeset 7b07bbe610ae (bug 1656438)
2020-09-15 20:15:27 +03:00
Andreas Pehrson 3125ba99d4 Bug 1656438 - Fix non-direct int16 speex resampler halving values. r=karlt
As regressed by
0e5d424fdb (diff-a05703278f3e5abb7d4b60dd33006618R478)

Fix cherrypicked from
https://gitlab.xiph.org/xiph/speexdsp/-/merge_requests/5

Differential Revision: https://phabricator.services.mozilla.com/D89740
2020-09-15 14:41:51 +00:00
Tom Ritter 559727d2a0 Bug 1657952 - When ./mach vendor adds/removes files, also edit the moz.build files r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D86393
2020-09-14 18:44:49 +00:00
Michael Froman 01b4f3072c Bug 1664519 - move media/webrtc/signaling/fuzztest to dom/media/webrtc/tests/fuzztests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90127
2020-09-14 18:47:36 +00:00
Cristina Coroiu f7fbc59a7a Backed out 3 changesets (bug 1663917) for causing crashes
Backed out changeset 5ff7eb9b8a22 (bug 1663917)
Backed out changeset 8d5dfe86bd98 (bug 1663917)
Backed out changeset 02d7087c466d (bug 1663917)
2020-09-12 18:03:32 +03:00
Nico Grunbaum b6b3c20d6f Bug 1654189 - Move sipcc SDP to third_party;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D89943
2020-09-11 20:19:42 +00:00
Paul Adenot 4452f56e09 Bug 1663917 - Update libcubeb f39ce8a. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-11 13:15:57 +00:00
Paul Adenot 422172783c Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-11 13:15:37 +00:00
Narcis Beleuzu 807eb4e6a9 Backed out 3 changesets (bug 1663917) for hazard bustages on cubeb_log.h CLOSED TREE
Backed out changeset efddab14db95 (bug 1663917)
Backed out changeset 5d049e004a9c (bug 1663917)
Backed out changeset f6b10dbb0863 (bug 1663917)
2020-09-11 02:11:45 +03:00
Paul Adenot c0df915a58 Bug 1663917 - Update libcubeb 1d6509f. r=cubeb-reviewers,kinetik
Depends on D89589

Differential Revision: https://phabricator.services.mozilla.com/D89590
2020-09-09 21:23:13 +00:00
Paul Adenot e08c9a6e7c Bug 1663917 - Remove patch to disable an assertion in cubeb, it's now upstream. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D89589
2020-09-09 21:23:21 +00:00
Dan Minor 52125fe211 Bug 1662514 - Take mCallbackMutex when accessing mError; r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D89489
2020-09-09 00:25:09 +00:00
Nathan Froyd cfb8fb313f Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg
This patch was generated by running:

```
perl -p -i \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF8toUTF16\((.*)\);/\1CopyUTF8toUTF16(\3, \2);/;' \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF16toUTF8\((.*)\);/\1CopyUTF16toUTF8(\3, \2);/;' \
     $FILE
```

against every .cpp and .h in mozilla-central, and then fixing up the
inevitable errors that happen as a result of matching C++ expressions with
regexes.  The errors fell into three categories:

1. Calling the convert functions with `std::string::c_str()`; these were
   changed to simply pass the string instead, relying on implicit conversion
   to `mozilla::Span`.
2. Calling the convert functions with raw pointers, which is not permitted
   with the copy functions; these were changed to invoke `MakeStringSpan` first.
3. Other miscellaneous errors resulting from over-eager regexes and/or the
   replacement not being type-aware.  These changes were reverted.

Differential Revision: https://phabricator.services.mozilla.com/D88903
2020-09-02 09:54:37 +00:00
Byron Campen [:bwc] f2bc8b61c7 Bug 1662540: Remove unused member. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D89029
2020-09-02 07:06:53 +00:00
Michael Froman a17ec360a5 Bug 1654399 - pt4 - better close_notify support during renegotiation. r=bwc
Similar to changes for Bug 1303867 to make sure we destroy the NrIceMediaStream
after removing the transport.

Depends on D85204

Differential Revision: https://phabricator.services.mozilla.com/D88924
2020-09-01 15:53:20 +00:00
Michael Froman d587d72625 Bug 1654399 - pt3 - add rollback support for RTCDtlsTransports. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D85204
2020-08-31 23:45:21 +00:00
Michael Froman 04b04a1e20 Bug 1654399 - pt2 - implement RTCDtlsTransport state and onstatechange. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D84460
2020-09-01 17:16:07 +00:00
Michael Froman ab2c4d061c Bug 1654399 - pt1 - webidl changes for RTCDtlsTransport. r=webidl,smaug
Partial implementation of RTCDtlsTransport (state and onstatechange)
for wfh.  Stubbed out methods so everything builds.

Differential Revision: https://phabricator.services.mozilla.com/D84459
2020-08-31 22:54:29 +00:00
Valentin Gosu 0cf5f5e5ac Bug 1659132 - Make AddrInfo immutable r=dragana,necko-reviewers
Also adds constructors for NetAddr to avoid it being uninitialized.

Differential Revision: https://phabricator.services.mozilla.com/D87091
2020-09-01 07:22:14 +00:00
Byron Campen [:bwc] 0f69b6ebc5 Bug 1657394: When generating an answer, if the bundle transport is disabled, try to fall back to a suitable alternative when one is available. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87956
2020-08-24 21:53:13 +00:00
Byron Campen [:bwc] 2f24591f91 Bug 1657394: Test for cases where we have a fallback bundle transport. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87955
2020-08-24 22:01:23 +00:00
Byron Campen [:bwc] b3d5a69b29 Bug 1657394: Make sure transports are set up in have-local-offer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D86223
2020-08-24 21:37:18 +00:00
Byron Campen [:bwc] 54007f3897 Bug 1657394: Test-case for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D86222
2020-08-22 17:50:05 +00:00
Nico Grunbaum 84b4e72464 Bug 1647537 - fix crash when re-enabling AEC logging;r=jib
Differential Revision: https://phabricator.services.mozilla.com/D88236
2020-08-26 18:17:13 +00:00
Jon Bauman 342f755dce Bug 1657200 - Update libdav1d to d0e50cac for Firefox 81. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D88182
2020-08-26 17:42:07 +00:00
Butkovits Atila cdf1ae5211 Backed out 2 changesets (bug 1659132) for failures at browser_cleanFlow.js. CLOSED TREE
Backed out changeset 7952fd59f59b (bug 1659132)
Backed out changeset fa8ce4af10a0 (bug 1659132)
2020-08-25 13:02:33 +03:00
Valentin Gosu b4b3279a00 Bug 1659132 - Make AddrInfo immutable r=dragana,necko-reviewers
Also adds constructors for NetAddr to avoid it being uninitialized.

Differential Revision: https://phabricator.services.mozilla.com/D87091
2020-08-25 08:02:22 +00:00
Butkovits Atila 73a14f1b36 Backed out 2 changesets (bug 1659132) for build bustage. CLOSED TREE
Backed out changeset 1caace74f89e (bug 1659132)
Backed out changeset 58fdbfbe05a1 (bug 1659132)
2020-08-25 09:43:01 +03:00
Valentin Gosu ec0be3efef Bug 1659132 - Make AddrInfo immutable r=dragana,necko-reviewers
Also adds constructors for NetAddr to avoid it being uninitialized.

Differential Revision: https://phabricator.services.mozilla.com/D87091
2020-08-24 12:23:06 +00:00
Nico Grunbaum 04fb5eebc1 Bug 1660408 - enable rtcp-rsize in default offer;r=bwc
This adds rtcp-rsize to the default offer for video, a pref is included in case it needs to be turned off.

Differential Revision: https://phabricator.services.mozilla.com/D87835
2020-08-24 19:53:08 +00:00
John Lin b7c5501eda Bug 1657321 - ffvpx: undo build error workarounds. r=jya
Revert bug 1412240. It was a workaround for a LLVM bug and only
relevant when icecc is involved. Since sccache-dist is preferred
now, it's no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D87891
2020-08-22 02:41:58 +00:00
Andreas Pehrson 71c232e8df Bug 1652884 - Make MediaPipelineTransmit listen for track enabled state changes from the graph. r=jib
Previously it listened for them on main thread, as notified by the
MediaStreamTrack it was transmitting directly. With this patch it
listens for them through the TrackListener in the graph, and will
get notified when any track prior to the MediaStreamTrack's main
track in the graph changes enabled state as well.

Depends on D86926.

Differential Revision: https://phabricator.services.mozilla.com/D86931
2020-08-19 22:18:37 +00:00
Bogdan Tara 30eb420e4a Backed out 14 changesets (bug 1652884) for test_peerConnection_trackDisabling.html failures CLOSED TREE
Backed out changeset f83951453e94 (bug 1652884)
Backed out changeset fc697986d538 (bug 1652884)
Backed out changeset 20a10128b5e1 (bug 1652884)
Backed out changeset c99c32323c76 (bug 1652884)
Backed out changeset 991e8975f03d (bug 1652884)
Backed out changeset 9e9511e32cdd (bug 1652884)
Backed out changeset 605c1ac3081a (bug 1652884)
Backed out changeset dd6edf636659 (bug 1652884)
Backed out changeset 74a2f5a9eea2 (bug 1652884)
Backed out changeset b9f419aed12d (bug 1652884)
Backed out changeset 84e82e25929f (bug 1652884)
Backed out changeset 876dbad27af5 (bug 1652884)
Backed out changeset 8f60e3af2a19 (bug 1652884)
Backed out changeset de7537bda499 (bug 1652884)
2020-08-20 01:13:29 +03:00
Andreas Pehrson 1fcd058234 Bug 1652884 - Make MediaPipelineTransmit listen for track enabled state changes from the graph. r=jib
Previously it listened for them on main thread, as notified by the
MediaStreamTrack it was transmitting directly. With this patch it
listens for them through the TrackListener in the graph, and will
get notified when any track prior to the MediaStreamTrack's main
track in the graph changes enabled state as well.

Depends on D86926.

Differential Revision: https://phabricator.services.mozilla.com/D86931
2020-08-19 19:30:56 +00:00
Bogdan Tara fd6c09249f Backed out 14 changesets (bug 1652884) for VideoFrameConverter related failures CLOSED TREE
Backed out changeset 28c4e8c373f0 (bug 1652884)
Backed out changeset 658ba8f39abe (bug 1652884)
Backed out changeset 8e67fe040e4a (bug 1652884)
Backed out changeset 6f5833203763 (bug 1652884)
Backed out changeset 569ff85dfc2e (bug 1652884)
Backed out changeset eaa171643447 (bug 1652884)
Backed out changeset 6b37b60b6662 (bug 1652884)
Backed out changeset 438cce7456fb (bug 1652884)
Backed out changeset e6ed13952b67 (bug 1652884)
Backed out changeset e0b1266231bf (bug 1652884)
Backed out changeset 32f4aae2b5fe (bug 1652884)
Backed out changeset 76b4abccd61b (bug 1652884)
Backed out changeset 9010365ffa66 (bug 1652884)
Backed out changeset 763f39eb5c13 (bug 1652884)
2020-08-19 22:21:31 +03:00
Andreas Pehrson 262d04f090 Bug 1652884 - Make MediaPipelineTransmit listen for track enabled state changes from the graph. r=jib
Previously it listened for them on main thread, as notified by the
MediaStreamTrack it was transmitting directly. With this patch it
listens for them through the TrackListener in the graph, and will
get notified when any track prior to the MediaStreamTrack's main
track in the graph changes enabled state as well.

Depends on D86926.

Differential Revision: https://phabricator.services.mozilla.com/D86931
2020-08-19 02:40:10 +00:00
Jean-Yves Avenard 5be22726b0 Bug 1650696 - P4. Remove the expectation for a MediaDataDecoder to work on a specified TaskQueue. r=jolin
It will now be up to the caller to determine where the decoder is going to run. This allows to simplify the audio decoders so that they can run synchronously and be wrapped in a Wasm sandbox (which doesn't support multi-threading)

The structure guarantees that all MediaDataDecoder methods are called on the same thread it's been initialised.

To achieve this, wherever a MediaDataDecoder was created, we wrap it in a MediaDataDecoderProxy that ensures that all methods are running on the given thread.

We keep the behaviour of all methods in all MediaDataDecoder to assert that they are running on the expected thread for diagnostic purposes. It could go in the future.

Video decoders that could block excessingly the thread on which they are called are made to run on their own task queue.
The Apple decoder is mostly entirely asynchronous, with the exception of the drain method which could block.
We exclude the android and omx decoders are the framework they use is 100% asynchronous and already operate on another thread.

Differential Revision: https://phabricator.services.mozilla.com/D86929
2020-08-17 23:52:21 +00:00
Mike Hommey a4a5d4e822 Bug 1658397 - Add gn configs for arm64 macOS for webrtc. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D86893
2020-08-13 13:20:04 +00:00
Mike Hommey d736c1381f Bug 1658853 - Make GnMozbuildWriter output more deterministic. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D86887
2020-08-13 13:20:04 +00:00
Dan Minor a6e858b6ff Bug 1657449 - Add "Show tab" button to about:webrtc; r=ng
This adds the current browserId to the internal stats report. The peer
connections are sorted by browserId, and a "Show tab" button is added that will
select the tab associated with the peer connection to make it easier to keep
track of which peerconnection is associated with a tab.

Differential Revision: https://phabricator.services.mozilla.com/D86699
2020-08-12 18:48:21 +00:00
Valentin Gosu 06b00d0bf4 Bug 1657582 - Add nsIDNSAddrRecord interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,dragana
This interface extends nsIDNSRecord and makes the DNS code more extensible
by allowing us to support more record types.
This change does require the consumer to be aware of the type they requested
and to QueryInterface to either nsIDNSAddrRecord for regular IP lookups,
or to nsIDNSByTypeRecord for other kinds of lookups.

Differential Revision: https://phabricator.services.mozilla.com/D86177
2020-08-12 10:49:39 +00:00
Valentin Gosu e1f98ce23a Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 08:25:14 +00:00
Bogdan Tara 694b77183c Backed out 2 changesets (bug 1657582) for test_DNSLookup.js failures CLOSED TREE
Backed out changeset 784122a5f5ab (bug 1657582)
Backed out changeset 0f17312b01ad (bug 1657582)
2020-08-12 11:18:06 +03:00
Valentin Gosu 5eeaf52395 Bug 1657582 - Add nsIDNSAddrRecord interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,dragana
This interface extends nsIDNSRecord and makes the DNS code more extensible
by allowing us to support more record types.
This change does require the consumer to be aware of the type they requested
and to QueryInterface to either nsIDNSAddrRecord for regular IP lookups,
or to nsIDNSByTypeRecord for other kinds of lookups.

Differential Revision: https://phabricator.services.mozilla.com/D86177
2020-08-12 01:35:10 +00:00
Valentin Gosu fc1bf09e47 Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 01:00:39 +00:00
Michael Froman ee75b5312f Bug 1303867 - teardown Transports before NrIceCtx to allow close_notify alerts. r=bwc
If the NrIceCtx is torn down first there is not a valid media stream on which
to send the close_notify alert.

Differential Revision: https://phabricator.services.mozilla.com/D85657
2020-08-10 18:31:46 +00:00
Simon Giesecke 1e02318b49 Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Mike Hommey de6265f978 Bug 1656141 - Remove dav1d.rc. r=achronop
RCFILE is only actually used when the moz.build that contains it defines
a binary, which is not the case for dav1d, which ends up in gkmedias.dll.
Which also means that moving the definition to gkmedias would also not
make sense, since all dav1d.rc does is add descriptors to the dll that it
contains dav1d and what version, but gkmedias.dll contains other things
too.

Differential Revision: https://phabricator.services.mozilla.com/D86152
2020-08-06 22:52:04 +00:00
Mihai Alexandru Michis c4e805857f Backed out 9 changesets (bug 1656141) for causing multiple failures.
CLOSED TREE

Backed out changeset 9033b0400339 (bug 1656141)
Backed out changeset e43dd57dc61a (bug 1656141)
Backed out changeset eb450457a9b7 (bug 1656141)
Backed out changeset 194a994cf9c9 (bug 1656141)
Backed out changeset ce6831acb5e3 (bug 1656141)
Backed out changeset 29653ea85d49 (bug 1656141)
Backed out changeset 704f28486bda (bug 1656141)
Backed out changeset de8899453150 (bug 1656141)
Backed out changeset 4b133eda46aa (bug 1656141)
2020-08-07 01:48:45 +03:00
Mike Hommey 3c6fc9c9e1 Bug 1656141 - Remove dav1d.rc. r=achronop
RCFILE is only actually used when the moz.build that contains it defines
a binary, which is not the case for dav1d, which ends up in gkmedias.dll.
Which also means that moving the definition to gkmedias would also not
make sense, since all dav1d.rc does is add descriptors to the dll that it
contains dav1d and what version, but gkmedias.dll contains other things
too.

Differential Revision: https://phabricator.services.mozilla.com/D86152
2020-08-06 20:51:37 +00:00
Jan-Ivar Bruaroey 4a8b5ea5a8 Bug 1654248 - Fix missing telemetry reporting of WEBRTC_CALL_DURATION, and stop counting renegotiations in WEBRTC_CALL_COUNT_2. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D85042
2020-08-05 23:47:46 +00:00
Kershaw Chang 158c55ad89 Bug 1497249 - P2: ipdl for nsIWebSocketConnection r=michal
Differential Revision: https://phabricator.services.mozilla.com/D30624
2020-08-05 15:17:38 +00:00
Jon Bauman 93851d81e6 Bug 1652202 - Update libdav1d to 6cf58c8e for Firefox 80. r=dminor
See 6cf58c8e7d

Differential Revision: https://phabricator.services.mozilla.com/D85910
2020-08-05 15:11:26 +00:00
Dan Minor b9cc2eb001 Bug 1653720 - Do not generate kFid ssrc-group if no msid is present; r=bwc
Chrome's SDP parser has problems with an ssrc-group being present if the media
section is inactive and does not have an msid.

Differential Revision: https://phabricator.services.mozilla.com/D85320
2020-08-04 14:45:12 +00:00
Simon Giesecke 96f3e7e019 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Noemi Erli 381fca9783 Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Byron Campen [:bwc] ce79d0e256 Bug 1656065: Init r_log_env_verbose only once. r=mjf
Depends on D85295

Differential Revision: https://phabricator.services.mozilla.com/D85427
2020-07-30 17:22:40 +00:00
Byron Campen [:bwc] 4bfd2d2966 Bug 1653626: Lock here to prevent races. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D85295
2020-08-03 15:23:35 +00:00
Simon Giesecke 032d2ac9d3 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Sylvestre Ledru 843f943758 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D85678
2020-08-02 15:29:15 +00:00
Andreea Pavel 7b5d8cd64c Backed out 1 changesets (bug 1654248) for failures at PeerConnectionImpl.cpp on a CLOSED TREE
Backed out changeset e51e334b08cd (bug 1654248)
2020-08-01 02:08:08 +03:00
Jan-Ivar Bruaroey 6507521605 Bug 1654248 - Fix missing telemetry reporting of WEBRTC_CALL_DURATION, and stop counting renegotiations in WEBRTC_CALL_COUNT_2. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D85042
2020-07-31 20:33:08 +00:00
Byron Campen [:bwc] cc4ea1f325 Bug 1651601: Ignore remote trickle candidates for obsolete streams. r=mjf
Depends on D83545

Differential Revision: https://phabricator.services.mozilla.com/D85284
2020-07-31 15:48:18 +00:00
Nico Grunbaum c116dd0bdb Bug 1655137 - add rtcp-rsize parsing to SIPCC parser;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D84857
2020-07-29 01:30:34 +00:00
Byron Campen [:bwc] 7f56bb6ec2 Bug 1651601: Only do the minimum processing for STUN messages on an obsolete stream. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D83545
2020-07-24 17:01:49 +00:00
Thomas Daede 28df0d954d Bug 1463915 - Update libvorbis to 1.3.7. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D84565
2020-07-24 00:25:08 +00:00