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

1093 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] c3182f0329 Bug 1626278: Remove transports from main, just like we do under normal circumstances. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93262
2020-10-15 20:31:13 +00:00
Byron Campen [:bwc] f6dd76e473 Bug 1626278: Ensure that pcid is unique. r=mjf
This fixes a failure in browser_WebrtcGlobalInformation.js on windows opt.

Differential Revision: https://phabricator.services.mozilla.com/D93261
2020-10-15 20:31:10 +00:00
Byron Campen [:bwc] e6969a8105 Bug 1626278: Move sigslot stuff to STS, and ensure we disconnect before releasing our ref to the MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D90626
2020-10-15 20:27:35 +00:00
Byron Campen [:bwc] caa58b2223 Bug 1626278: Stash for ICE logs, and move log filtering into a single place. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89677
2020-10-15 20:27:53 +00:00
Byron Campen [:bwc] 789c175c1a Bug 1626278: Filter stats for closed PeerConnections the same way we do for live ones. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88498
2020-10-15 20:18:10 +00:00
Byron Campen [:bwc] 02a62e624e Bug 1626278: Add a stats stash to WebrtcGlobalInformation, to avoid stats from being lost when a content process goes away. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88497
2020-10-15 20:15:48 +00:00
Byron Campen [:bwc] 6fabb4ea9d Bug 1626278: Simplify/promisify PWebrtcGlobal. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88496
2020-10-15 20:18:08 +00:00
Byron Campen [:bwc] ba4aa19c91 Bug 1626278: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY to ensure that MediaTransportHandler stays around long enough to finish pending stats queries. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87180
2020-10-15 20:08:05 +00:00
Jean-Yves Avenard 950d6f18ca Bug 1670560 - Don't use the same thread pool for both decoding and waiting for the decode to complete. r=mattwoodrow
Unlikely to happen, but we could have exhausted all our thread in the decoder thread pool and be deadlock.

Differential Revision: https://phabricator.services.mozilla.com/D93202
2020-10-14 09:32:49 +00:00
Bogdan Tara 09263ac198 Backed out 11 changesets (bug 1626278) for leaks and WebrtcGlobalInformation related failures CLOSED TREE
Backed out changeset 59228ee9d9e0 (bug 1626278)
Backed out changeset 59da0d11510e (bug 1626278)
Backed out changeset cd2e50c8af34 (bug 1626278)
Backed out changeset afdb75a17ac9 (bug 1626278)
Backed out changeset 5f453c8df70b (bug 1626278)
Backed out changeset 9b612ea670d4 (bug 1626278)
Backed out changeset 387a53fd83f3 (bug 1626278)
Backed out changeset 5870625073f6 (bug 1626278)
Backed out changeset 25c03ac56306 (bug 1626278)
Backed out changeset 3239d49be3ee (bug 1626278)
Backed out changeset 82ed327e71ed (bug 1626278)
2020-10-14 02:34:48 +03:00
Byron Campen [:bwc] faf7b39a92 Bug 1626278: Remove transports from main, just like we do under normal circumstances. r=mjf
Just in case.

Differential Revision: https://phabricator.services.mozilla.com/D93262
2020-10-12 20:09:28 +00:00
Byron Campen [:bwc] 2409f9b07e Bug 1626278: Ensure that pcid is unique. r=mjf
This fixes a failure in browser_WebrtcGlobalInformation.js on windows opt.

Differential Revision: https://phabricator.services.mozilla.com/D93261
2020-10-12 20:06:40 +00:00
Byron Campen [:bwc] 414ee0525d Bug 1626278: Move sigslot stuff to STS, and ensure we disconnect before releasing our ref to the MediaTransportHandler. r=mjf
This patch fixes an intermittent crash in pre-existing mochitests/wpt.

Differential Revision: https://phabricator.services.mozilla.com/D90626
2020-10-12 20:02:53 +00:00
Byron Campen [:bwc] 4e17277690 Bug 1626278: Stash for ICE logs, and move log filtering into a single place. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89677
2020-10-12 20:06:51 +00:00
Byron Campen [:bwc] 181a475af9 Bug 1626278: Filter stats for closed PeerConnections the same way we do for live ones. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88498
2020-10-12 20:04:07 +00:00
Byron Campen [:bwc] 2e5c449c07 Bug 1626278: Add a stats stash to WebrtcGlobalInformation, to avoid stats from being lost when a content process goes away. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88497
2020-10-12 20:21:48 +00:00
Byron Campen [:bwc] 89cd7c2768 Bug 1626278: Simplify/promisify PWebrtcGlobal. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88496
2020-10-12 19:57:12 +00:00
Byron Campen [:bwc] 0126e3fca7 Bug 1626278: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY to ensure that MediaTransportHandler stays around long enough to finish pending stats queries. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87180
2020-10-12 19:56:44 +00:00
Kartikaya Gupta 6d47eac4ee Bug 1666802 - Remove LayersLogging.*. r=mattwoodrow
The remaining functions are moved to be with their brethren in xpcom.

Differential Revision: https://phabricator.services.mozilla.com/D93146
2020-10-11 21:20:46 +00:00
Nico Grunbaum 2248f8b080 Bug 1669406 - add pref to blocklist codecs for WebRTC testing;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D92540
2020-10-07 14:26:37 +00:00
Andreas Pehrson c5e3e23059 Bug 1662760 - Add dedicated setup method to audio and video receivers. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D92448
2020-10-06 12:51:16 +00:00
Nico Grunbaum 9a0ceb7126 Bug 1668359 - Add call bandwidth estimation to about:webrtc r=dminor,emilio
Differential Revision: https://phabricator.services.mozilla.com/D92038
2020-10-06 04:04:12 +00:00
Dan Minor 4051f6c414 Bug 1668862 - Add script to extract local modifications to libwebrtc for upstream; r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92271
2020-10-05 20:32:08 +00:00
Kershaw Chang 71089ed718 Bug 1652677 - P2: Implement necko part of echconfig r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-10-05 15:16:46 +00:00
Michael Froman 8dee5264c4 Bug 1665713 - pt2 - fix reviewbot whitespace issues. r=ng
These were originally masked due to an exception in
tools/lint/file-whitespace.html for the directory dom/media/tests, but we
don't need an exception for our new location (dom/media/webrtc/tests/mochitests)
if we fix these 3 files.

2 files had bad line endings (Windows vs Unix):
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabled.html
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabledFakeStreams.html

1 file had trailing whitespace:
dom/media/webrtc/tests/mochitests/test_peerConnection_threeUnbundledConnections.html

Differential Revision: https://phabricator.services.mozilla.com/D90630
2020-10-02 16:30:53 +00:00
Michael Froman 98d5678d09 Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-10-02 16:30:58 +00:00
Dan Minor a4a09f25f7 Bug 1654152 - Create a vendor script to import libwebrtc; r=ng DONTBUILD
This adds a script to vendor libwebrtc and chromium/src/build from upstream
Google or GitHub repositories as well as from local repositories.

Differential Revision: https://phabricator.services.mozilla.com/D91611
2020-10-01 18:49:57 +00:00
Sebastian Hengst a34f36ddbd Backed out 2 changesets (bug 1652677) on request from kershaw for causing bug 1667801
Backed out changeset 4a66e4016c18 (bug 1652677)
Backed out changeset df6bdf8157b1 (bug 1652677)
2020-09-30 13:14:00 +02:00
Dan Minor fb29f2a137 Bug 1665166 - Fix include in RtpRtcpConfig.h; r=ng
Depends on D91322

Differential Revision: https://phabricator.services.mozilla.com/D91323
2020-09-24 18:50:56 +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
Kershaw Chang 93e628b4ae Bug 1652677 - P2: Implement necko part of echconfig r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-09-25 07:35:04 +00:00
Jan-Ivar Bruaroey e3827b1882 Bug 1654430 - Fix mDeviceIDs to only track real devices and not be overwritten by other enumerateDevices requests. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D89231
2020-09-24 23:32:00 +00:00
Razvan Maries 887634a649 Backed out 3 changesets (bug 1665713) for perma failures on test_peerConnection_capturedVideo.html. CLOSED TREE
Backed out changeset 296d5facd7bd (bug 1665713)
Backed out changeset 770d63754715 (bug 1665713)
Backed out changeset 433d8f92b482 (bug 1665713)
2020-09-25 02:58:57 +03:00
Michael Froman 1d099767d3 Bug 1665713 - pt2 - fix reviewbot whitespace issues. r=ng
These were originally masked due to an exception in
tools/lint/file-whitespace.html for the directory dom/media/tests, but we
don't need an exception for our new location (dom/media/webrtc/tests/mochitests)
if we fix these 3 files.

2 files had bad line endings (Windows vs Unix):
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabled.html
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabledFakeStreams.html

1 file had trailing whitespace:
dom/media/webrtc/tests/mochitests/test_peerConnection_threeUnbundledConnections.html

Differential Revision: https://phabricator.services.mozilla.com/D90630
2020-09-24 21:10:35 +00:00
Michael Froman 8bece4651b Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 21:10:07 +00:00
Razvan Maries 717d9a23ba Backed out 2 changesets (bug 1665713) for Lint failure on NetworkPreparationChromeScript.js. CLOSED TREE
Backed out changeset e926364f5d4f (bug 1665713)
Backed out changeset ad03f6f54321 (bug 1665713)
2020-09-24 22:59:53 +03:00
Michael Froman 4b7556eb55 Bug 1665713 - pt2 - fix reviewbot whitespace issues. r=ng
These were originally masked due to an exception in
tools/lint/file-whitespace.html for the directory dom/media/tests, but we
don't need an exception for our new location (dom/media/webrtc/tests/mochitests)
if we fix these 3 files.

2 files had bad line endings (Windows vs Unix):
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabled.html
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabledFakeStreams.html

1 file had trailing whitespace:
dom/media/webrtc/tests/mochitests/test_peerConnection_threeUnbundledConnections.html

Differential Revision: https://phabricator.services.mozilla.com/D90630
2020-09-24 19:13:04 +00:00
Michael Froman a1fe394b53 Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 19:12:30 +00:00
Razvan Maries e761feff33 Backed out 2 changesets (bug 1652677) for build bustages on nsHttpConnection.cpp. CLOSED TREE
Backed out changeset 7df7bfbfbc6e (bug 1652677)
Backed out changeset 435ff20fa8c6 (bug 1652677)
2020-09-24 22:01:09 +03:00
Kershaw Chang d12fbcdc43 Bug 1652677 - P2: Implement necko part of echconfig r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-09-24 16:20:04 +00:00
Nicklas Boman eda2c722fa Bug 1308101 - Replace PL_strcpy/PL_strncpy with a safer Gecko string class or function r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D89802
2020-09-23 17:18:53 +00:00
Simon Giesecke de7bab0f06 Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Narcis Beleuzu a2936f5009 Backed out 4 changesets (bug 1654430) for mda failure on test_ondevicechange.html . CLOSED TREE
Backed out changeset 10a70b4fad32 (bug 1654430)
Backed out changeset 495576ebc999 (bug 1654430)
Backed out changeset 0f1db7f155cb (bug 1654430)
Backed out changeset 788a6c7c52f1 (bug 1654430)
2020-09-23 16:52:16 +03:00
Jan-Ivar Bruaroey 9dcf1f976c Bug 1654430 - Fix mDeviceIDs to only track real devices and not be overwritten by other enumerateDevices requests. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D89231
2020-09-22 21:28:47 +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 dcf9d2412c Bug 1664900 - P2 - unify webrtc subdir include style;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D90948
2020-09-23 04:23:53 +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 8484c7ced8 Bug 1634044 - Downscale getDisplayMedia() correctly with only width or height constraint present. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D76968
2020-09-22 20:09:49 +00:00
Dan Minor 8096de52e6 Bug 1666336 - Remove nsITabSource; r=mjf
This is a leftover from the old tab sharing implementation used in Firefox
Hello and is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D90986
2020-09-22 16:28:59 +00:00
Alex Chronopoulos 996b37335f Bug 1656438 - Create a unittest for SourceMediaTrack and AudioInputProcessing. r=padenot
Use the newly added functionality in MockCubeb to verify that the input is
forwarded to the output.

Depends on D85556

Differential Revision: https://phabricator.services.mozilla.com/D85557
2020-09-17 06:16:18 +00:00
Alex Chronopoulos 60715e70c9 Bug 1656438 - Add interleaved buffer support in AudioGenerator/Verifier. r=padenot
This is useful in order to be used by the low-level part of the stack
(MockCubeb) where the buffers contain interleaved channels.

Depends on D85553

Differential Revision: https://phabricator.services.mozilla.com/D85554
2020-09-17 06:07:59 +00:00
Andreas Pehrson b4bf812615 Bug 1656438 - Generalize AudioGenerator and SineWaveGenerator to support AudioToneGenerator's use cases. r=padenot
Depends on D85552

Differential Revision: https://phabricator.services.mozilla.com/D89738
2020-09-17 06:07:50 +00:00
Brindusan Cristian 1f72b3f30e Backed out changeset 3895daa47180 (bug 1308101) for linux hazard bustages. CLOSED TREE 2020-09-16 04:01:37 +03:00
Nicklas Boman 6f0da98c75 Bug 1308101 - Replace PL_strcpy/PL_strncpy with a safer Gecko string class or function r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D89802
2020-09-15 16:28:04 +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
Alex Chronopoulos 3c7681a521 Bug 1656438 - Add interleaved buffer support in AudioGenerator/Verifier. r=padenot
This is useful in order to be used by the low-level part of the stack
(MockCubeb) where the buffers contain interleaved channels.

Depends on D85553

Differential Revision: https://phabricator.services.mozilla.com/D85554
2020-09-15 14:41:42 +00:00
Andreas Pehrson 4da0ed94ab Bug 1656438 - Generalize AudioGenerator and SineWaveGenerator to support AudioToneGenerator's use cases. r=padenot
Depends on D85552

Differential Revision: https://phabricator.services.mozilla.com/D89738
2020-09-15 11:52:06 +00:00
Paul Adenot 5e645a28b9 Bug 1664755 - Fix typo in dummy android device enumeration code. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D90076
2020-09-14 18:58: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
Mike Conley cd730afe2a Bug 1658353 - Make MediaEngineDefaultAudioSource::Start idempotent per expectations. r=jib
Depends on D86718

Differential Revision: https://phabricator.services.mozilla.com/D86845
2020-08-27 15:46:59 +00:00
Bogdan Tara f7dc3b755a Backed out 6 changesets (bug 1643027, bug 1658353) for browser_parsable_css.js failures CLOSED TREE
Backed out changeset e50501b54674 (bug 1643027)
Backed out changeset aa5d33b0d0b5 (bug 1643027)
Backed out changeset 51c592eb4ebd (bug 1643027)
Backed out changeset fe37ed8ba008 (bug 1658353)
Backed out changeset acb933a440c7 (bug 1658353)
Backed out changeset 7aa764991e49 (bug 1658353)
2020-08-27 18:39:49 +03:00
Mike Conley 24690dfbd8 Bug 1658353 - Make MediaEngineDefaultAudioSource::Start idempotent per expectations. r=jib
Depends on D86718

Differential Revision: https://phabricator.services.mozilla.com/D86845
2020-08-26 21:30:41 +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
Dan Minor 271809cdc5 Bug 1653219 - Enumerate browser tabs before entire screen; r=ng
A lot of tests assume that the screen will be the last thing enumerated.
It is also the "scariest" option, so having it last makes sense.

Differential Revision: https://phabricator.services.mozilla.com/D84593
2020-08-10 15:58:23 +00:00
Noemi Erli ae3ec2e8a0 Backed out 3 changesets (bug 1653219) for causing crashtest failures CLOSED TREE
Backed out changeset 8950f3e98862 (bug 1653219)
Backed out changeset 7376606a9f7f (bug 1653219)
Backed out changeset aa2016ee81c8 (bug 1653219)
2020-08-07 19:55:02 +03:00
Dan Minor 0dfb5d0444 Bug 1653219 - Enumerate browser tabs before entire screen; r=ng
A lot of tests assume that the screen will be the last thing enumerated.
It is also the "scariest" option, so having it last makes sense.

Differential Revision: https://phabricator.services.mozilla.com/D84593
2020-08-06 20:09:25 +00:00
Paul Adenot 8a5c4dbc8e Bug 1656064 - Use an atomic for mInputDeviceID until we refactor for multi-input. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D85391
2020-08-04 16:30:40 +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
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
Paul Adenot 7fb73b1d6c Bug 1653113 - Backed out changeset cc82aacadf80. r=achronop
Depends on D83805

Differential Revision: https://phabricator.services.mozilla.com/D83806
2020-07-17 09:40:27 +00:00
Paul Adenot f01a059230 Bug 1653259 - Downmix multichannel input to mono when applying input processing, leave stereo input stereo. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D83801
2020-07-17 11:36:59 +00:00
Randell Jesup f1e4e6aed0 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-11 12:31:49 +00:00
Dorel Luca 19042532b3 Backed out changeset ef25e5648b14 (bug 1112392) for causing build bustage on media/systemservices/video_engine/tab_capturer 2020-07-11 13:30:06 +03:00
Randell Jesup 33bfc03435 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 21:22:10 +00:00
Bogdan Tara b2ea557fcf Backed out changeset 6dea878aaf36 (bug 1112392) for tab_capturer.cc related bustage CLOSED TREE 2020-07-10 23:30:41 +03:00
Randell Jesup 109ef2a1dd Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 18:11:02 +00:00
Csoregi Natalia 56aa86bead Backed out changeset 6318d54b7068 (bug 1112392) for bustages on tab_capturer.cc. CLOSED TREE 2020-07-10 04:52:56 +03:00
Randell Jesup 9756342857 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 01:00:51 +00:00
Csoregi Natalia 6be2db575b Backed out changeset 20e97810b319 (bug 1112392) for bustages on tab_capturer.h. CLOSED TREE 2020-07-10 00:40:42 +03:00
Randell Jesup 084100482a Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-09 20:34:15 +00:00
Jean-Yves Avenard 090a977b95 Bug 1650277 - P3. Use a media taskqueue with the MediaManager. r=jib
Rename PostTask methods into Dispatch to be more in-line with the current naming convention as PostTask pretty much always referred to the MessageLoop's method.

Differential Revision: https://phabricator.services.mozilla.com/D82159
2020-07-09 06:12:10 +00:00
Jean-Yves Avenard 7920483bbe Bug 1650277 - P2. Ensure the CubebDeviceEnumerator is shutdown after the MTAThread. r=kinetik
On Windows the CubebDeviceEnumerator needs to run on an MTA thread; to achieve that goal we use the EnsureMTA utility.
EnsureMTA relies on a MTA thread to exist which will be destroyed when XPCOM shuts down ; as such we must shutdown the CubebDeviceEnumerator during the same shutdown phase.

ClearOnShutdown registrars are processed in LIFO order, so as the CubebDeviceEnumerator constructor uses EnsureMTA we are guaranteed that the CubebDeviceEnumerator clearOnShutdown will be processed before the EnsureMTA thread shutdown.
The CubebDeviceEnumerator needs to be shutdown before cubeb; which is also guaranteed as the cubeb instance is destroyed during the final XPCOM shutdown stage.

Fix GetSafety() thread-safety.

CubebDeviceEnumerator should be a static non-refcounted singleton on the stack really which would made the code much simpler, unfortunately its gtests rely on having the Shutdown method present to force re-scanning the devices and work with the mock cubeb.

Differential Revision: https://phabricator.services.mozilla.com/D82158
2020-07-09 06:11:57 +00:00
Jean-Yves Avenard f3f56245eb Bug 1650277 - P1. Let CubebDeviceEnumerator worry about MTA requirements. r=kinetik
Ths helps not having to worry about how to create the thread; which could be probablematic when running off a thread pool.

Differential Revision: https://phabricator.services.mozilla.com/D82142
2020-07-09 06:11:45 +00:00
Bogdan Tara 3fa273fbc7 Backed out 3 changesets (bug 1650277) for RunWatchdog crashes CLOSED TREE
Backed out changeset 07863e9844f0 (bug 1650277)
Backed out changeset 1bf131a86868 (bug 1650277)
Backed out changeset 11aa7071f858 (bug 1650277)
2020-07-08 11:07:49 +03:00
Jean-Yves Avenard 81add09c0e Bug 1650277 - P3. Use a media taskqueue with the MediaManager. r=jib
Rename PostTask methods into Dispatch to be more in-line with the current naming convention as PostTask pretty much always referred to the MessageLoop's method.

Differential Revision: https://phabricator.services.mozilla.com/D82159
2020-07-08 07:04:23 +00:00
Jean-Yves Avenard a056adde5c Bug 1650277 - P2. Ensure the CubebDeviceEnumerator is shutdown after the MTAThread. r=kinetik
On Windows the CubebDeviceEnumerator needs to run on an MTA thread; to achieve that goal we use the EnsureMTA utility.
EnsureMTA relies on a MTA thread to exist which will be destroyed when XPCOM shuts down ; as such we must shutdown the CubebDeviceEnumerator during the same shutdown phase.

ClearOnShutdown registrars are processed in LIFO order, so as the CubebDeviceEnumerator constructor uses EnsureMTA we are guaranteed that the CubebDeviceEnumerator clearOnShutdown will be processed before the EnsureMTA thread shutdown.
The CubebDeviceEnumerator needs to be shutdown before cubeb; which is also guaranteed as the cubeb instance is destroyed during the final XPCOM shutdown stage.

Fix GetSafety() thread-safety.

CubebDeviceEnumerator should be a static non-refcounted singleton on the stack really which would made the code much simpler, unfortunately its gtests rely on having the Shutdown method present to force re-scanning the devices and work with the mock cubeb.

Differential Revision: https://phabricator.services.mozilla.com/D82158
2020-07-08 03:59:29 +00:00
Jean-Yves Avenard bd343a92a2 Bug 1650277 - P1. Let CubebDeviceEnumerator worry about MTA requirements. r=kinetik
Ths helps not having to worry about how to create the thread; which could be probablematic when running off a thread pool.

Differential Revision: https://phabricator.services.mozilla.com/D82142
2020-07-08 03:59:22 +00:00
Alex Chronopoulos 679c0cbb7a Bug 1649058 - Replace MozPromise with SyncRunnable and assert not main thread. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D81998
2020-07-02 12:20:24 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Nico Grunbaum f8f21f2398 Bug 1648600 - add SDP parsing errors to SDP history;r=dminor,jib,emilio
Differential Revision: https://phabricator.services.mozilla.com/D81265
2020-06-30 02:38:40 +00:00
Nico Grunbaum c78d9cccad Bug 1644709 - Add PeerConnection configuration to about:webrtc;r=dminor,jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D80787
2020-06-30 02:35:36 +00:00
Nico Grunbaum 5442b2eb88 Bug 1624967 - Display entire SDP history about:webrtc;r=dminor,webidl,smaug,flod
Differential Revision: https://phabricator.services.mozilla.com/D78866
2020-06-10 13:51:41 +00:00
Nico Grunbaum 8108184b4f Bug 1637450 - Add Video Frame statistics to about:webrtc;r=bwc,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D75073
2020-06-10 16:34:25 +00:00
Simon Giesecke 13502cf27c Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78055
2020-06-08 09:01:48 +00:00
Nico Grunbaum 79a227b703 Bug 1615191 - P1 - implement remoteTimestamp for RTCRemoteOutboundRtpStreamStats;r=dminor,smaug
r?smaug for WebIDL review

Differential Revision: https://phabricator.services.mozilla.com/D78003
2020-06-05 11:41:24 +00:00