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

3787 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 5df3ecb169 Bug 1733930 - Set transport states atomically in mediapipeline_unittest. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D127676
2021-10-08 07:43:55 +00:00
Jens Stutte cd08f3b728 Bug 1731564: Introduce a motivated SpinEventLoopUntil for direct use from C++. r=xpcom-reviewers,nika,necko-reviewers
This patch:
- moves the AutoNestedEventLoopAnnotation into SpinEventLoopUntil.h
- introduces the motivated SpinEventLoopUntil
- maps remaining SpinEventLoopUntil instances to SpinEventLoopUntil with "Missing motivation."
- changes relevant uses in nsThread and nsThreadManager to the motivated SpinEventLoopUntil
- changes all uses with IgnoreAndContinue behavior to the motivated SpinEventLoopUntil

Differential Revision: https://phabricator.services.mozilla.com/D126714
2021-10-07 08:06:10 +00:00
Marian-Vasile Laza 18fb16c542 Backed out 18 changesets (bug 1731564) for causing build bustages on SpinEventLoopUntil. CLOSED TREE
Backed out changeset 0464dbdc8584 (bug 1731564)
Backed out changeset 0d996df13545 (bug 1731564)
Backed out changeset 5630a0e7a109 (bug 1731564)
Backed out changeset 37b41d187cdb (bug 1731564)
Backed out changeset d37700fa60b6 (bug 1731564)
Backed out changeset b0ce7db44b99 (bug 1731564)
Backed out changeset aa5ec3aa1535 (bug 1731564)
Backed out changeset 73b648f1fa70 (bug 1731564)
Backed out changeset bb8fb0f9833e (bug 1731564)
Backed out changeset 0d8905144f5d (bug 1731564)
Backed out changeset 2cfb094a1ec3 (bug 1731564)
Backed out changeset 78d3b0257a6a (bug 1731564)
Backed out changeset e9d32926e93c (bug 1731564)
Backed out changeset 874cab520ce5 (bug 1731564)
Backed out changeset d8071cc32bd9 (bug 1731564)
Backed out changeset 283c5393cbbc (bug 1731564)
Backed out changeset 317bc38e3de5 (bug 1731564)
Backed out changeset 53e3f4862439 (bug 1731564)
2021-10-07 00:09:19 +03:00
Jens Stutte 80463c0d23 Bug 1731564: Introduce a motivated SpinEventLoopUntil for direct use from C++. r=xpcom-reviewers,nika,necko-reviewers
This patch:
- moves the AutoNestedEventLoopAnnotation into SpinEventLoopUntil.h
- introduces the motivated SpinEventLoopUntil
- maps remaining SpinEventLoopUntil instances to SpinEventLoopUntil with "Missing motivation."
- changes relevant uses in nsThread and nsThreadManager to the motivated SpinEventLoopUntil
- changes all uses with IgnoreAndContinue behavior to the motivated SpinEventLoopUntil

Differential Revision: https://phabricator.services.mozilla.com/D126714
2021-10-06 19:45:11 +00:00
Nils Ohlmeier e58ba15e19 Bug 1732778: added unit test for verifying SSRC order r=bwc,ng
Depends on D126998

Differential Revision: https://phabricator.services.mozilla.com/D127186
2021-10-01 05:09:32 +00:00
Nils Ohlmeier 797c9f2e3b Bug 1727196: stop making ssrc-group depend on stream-id. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D123672
2021-08-29 17:53:12 +00:00
Byron Campen [:bwc] 98d9c7db9a Bug 1708813: Test-case for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D114039
2021-05-03 18:53:16 +00:00
Simon Giesecke 760cc7e936 Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert
- Add missing include directives and forward declarations.
- Remove some extra include directives.
- Add missing namespace qualifications.
- Move include directives out of namespace in toolkit/xre/GlobalSemaphore.h

Differential Revision: https://phabricator.services.mozilla.com/D98894
2021-03-25 10:19:44 +00:00
Nils Ohlmeier [:drno] 5fd75514a3 Bug 1691306: move libsrtp from /netwerk to /third_party. r=bwc,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104335
2021-02-09 01:48:39 +00:00
Byron Campen [:bwc] 38d11bff4f Bug 1681943: Gtests for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D100047
2020-12-18 18:00:22 +00:00
Simon Giesecke d10d03d076 Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96556

Depends on D96554
2020-11-23 16:10:41 +00:00
Andreas Pehrson 3b3ae5f371 Bug 1651745 - Make channel count explicit for every audio MediaTrack. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D95932
2020-11-05 16:41:45 +00:00
Michael Froman 14eb66956d Bug 1674463 - allow HD simulcast stream to start a bit earlier. r=ng
Changing the min bitrate from 600k to 200k to allow the HD stream to stay
on more consistently.

Differential Revision: https://phabricator.services.mozilla.com/D95378
2020-10-30 21:44:54 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +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
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
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
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
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
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
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
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
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