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

1291 Коммитов

Автор SHA1 Сообщение Дата
Kagami Sascha Rosylight eddf271c1f Bug 1726648 - Add a helper to trim brackets from nsID r=mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D123163
2021-08-23 10:54:11 +00:00
Iulian Moraru a16afaadfe Backed out changeset d21b3f88a2b4 (bug 1726648) for causing build bustages. CLOSED TREE 2021-08-23 04:12:02 +03:00
Kagami Sascha Rosylight 0c5086660f Bug 1726648 - Add a helper to trim brackets from nsID r=mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D123163
2021-08-23 00:35:40 +00:00
Andi-Bogdan Postelnicu 75ed803f7c Bug 1725145 - fixes for linking in the hybrid build env. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D122344
2021-08-22 10:21:56 +00:00
Andi-Bogdan Postelnicu 250fa0d795 Bug 1725145 - header files fixes in the hybrid build env. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D122343
2021-08-22 10:21:55 +00:00
Cosmin Sabou 84969e5caa Backed out 12 changesets (bug 1665776) for causing mda failures. CLOSED TREE
Backed out changeset 1093b571cd9e (bug 1665776)
Backed out changeset 97401a43356f (bug 1665776)
Backed out changeset e4d1fab7ed91 (bug 1665776)
Backed out changeset eef564e4e8ce (bug 1665776)
Backed out changeset b436ced5a9c2 (bug 1665776)
Backed out changeset 231057bbccc6 (bug 1665776)
Backed out changeset 918d100709b3 (bug 1665776)
Backed out changeset 63a6fb712a7c (bug 1665776)
Backed out changeset 2f9e721a4adb (bug 1665776)
Backed out changeset f65349f581ac (bug 1665776)
Backed out changeset eb289c096758 (bug 1665776)
Backed out changeset 077b96856a67 (bug 1665776)
2021-08-20 01:55:26 +03:00
John Lin fa94901b3e Bug 1665776 - p12: For WebRTC test, disable platform encoder for unsupported resolutions. r=pehrsons
Depends on D122747

Differential Revision: https://phabricator.services.mozilla.com/D122748
2021-08-19 19:01:22 +00:00
John Lin 3a5cb275eb Bug 1665776 - p11: For WebRTC test, enable platform decoder for H.264 on non-Linux systems. r=pehrsons
Depends on D121027

Differential Revision: https://phabricator.services.mozilla.com/D122747
2021-08-19 19:01:22 +00:00
John Lin b5871f0cc6 Bug 1665776 - p9: enable HW VPx encoder in webrtc glue. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D121026
2021-08-19 19:01:21 +00:00
John Lin a99eaceed3 Bug 1665776 - p2: move keyframe interval from H264Specific to VideoConfig. r=alwu
Although libwebrtc put keyframe interval in codec specific data
structures, it is actually used by all supported codecs and can
be shared in the common config type. This makes adding VPx specific
data structures easier.

Differential Revision: https://phabricator.services.mozilla.com/D121019
2021-08-19 19:01:18 +00:00
John Lin 2ee6bc9fbc Bug 1665776 - p1: prepare WebrtcMediaDataEncoder to support non-H.264 input/output. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D121018
2021-08-19 19:01:18 +00:00
Geoff Brown 8a563cea2a Bug 1724296 - Remove many skip-if(verify) test annotations (mochitest); r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122972
2021-08-18 21:33:32 +00:00
Chun-Min Chang e307bf0896 Bug 1726061 - Make mLiveBufferingAppended optional r=padenot,pehrsons
`mLiveBufferingAppended` [1] can be wrapped by a `Maybe` naturally since
it should only be used when `mLiveFramesAppended` [2] is `true`. It's
easier to make sure `mLiveBufferingAppended` be used in a reasonable
timing by doing so, instead of checking `mLiveFramesAppended` every time
before using `mLiveBufferingAppended`.

[1] https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/dom/media/webrtc/MediaEngineWebRTCAudio.h#236
[2] https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/dom/media/webrtc/MediaEngineWebRTCAudio.h#230

Differential Revision: https://phabricator.services.mozilla.com/D122797
2021-08-18 19:22:04 +00:00
Butkovits Atila c0d2144485 Bug 1703346 - disable test_getUserMedia_basicScreenshare on Linux_QR for frequent failures. r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122673
2021-08-18 05:51:51 +00:00
Byron Campen 1e436f3d3b Bug 1725488: Copy this helper file from wpt. r=ng
Depends on D122626

Differential Revision: https://phabricator.services.mozilla.com/D122645
2021-08-17 18:37:10 +00:00
Byron Campen 641e8f33fd Bug 1725488: Rewrite simulcast mochitests, and remove the hooks they used. r=ng,emilio
Differential Revision: https://phabricator.services.mozilla.com/D122626
2021-08-17 18:37:09 +00:00
Narcis Beleuzu 5956c10a41 Backed out 10 changesets (bug 1665776) for mda failures on test_peerConnection_basicH264Video.html. CLOSED TREE
Backed out changeset 495d29e49600 (bug 1665776)
Backed out changeset def1b1ef88a0 (bug 1665776)
Backed out changeset d6c3bea02005 (bug 1665776)
Backed out changeset b5aecfe25f9f (bug 1665776)
Backed out changeset 76ab66d90c6b (bug 1665776)
Backed out changeset d5bd2b250b28 (bug 1665776)
Backed out changeset e8dc6645692d (bug 1665776)
Backed out changeset a1e00e5bd88f (bug 1665776)
Backed out changeset 3f6ff34fda68 (bug 1665776)
Backed out changeset 8d2f96b977ea (bug 1665776)
2021-08-13 04:34:55 +03:00
John Lin f137742682 Bug 1665776 - p9: enable HW VPx encoder in webrtc glue. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D121026
2021-08-12 22:12:16 +00:00
John Lin c15af25135 Bug 1665776 - p2: move keyframe interval from H264Specific to VideoConfig. r=alwu
Although libwebrtc put keyframe interval in codec specific data
structures, it is actually used by all supported codecs and can
be shared in the common config type. This makes adding VPx specific
data structures easier.

Differential Revision: https://phabricator.services.mozilla.com/D121019
2021-08-12 22:12:13 +00:00
John Lin bf2612a78c Bug 1665776 - p1: prepare WebrtcMediaDataEncoder to support non-H.264 input/output. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D121018
2021-08-12 22:12:13 +00:00
Karl Tomlinson 893f19930e Bug 1720643 perform getUserMedia Permissions Policy checks even when "media.navigator.permission.disabled" is set r=jib
"media.getusermedia.microphone.deny" and "media.getusermedia.camera.deny" now
override "media.navigator.permission.disabled".

User permission checks are removed because they are repeated in the app.

Differential Revision: https://phabricator.services.mozilla.com/D120065
2021-07-29 04:49:57 +00:00
Karl Tomlinson 17188fda8e Bug 1720643 clarify which subtest is using same origin iframe r=jib DONTBUILD
Depends on D120063

Differential Revision: https://phabricator.services.mozilla.com/D120064
2021-07-29 04:25:19 +00:00
Karl Tomlinson 3fb24d1106 Bug 1720643 be consistent about using origin to separate subtest descriptions r=johannh DONTBUILD
The sandbox attribute recognizes a specific set of tokens.
https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-sandbox

Differential Revision: https://phabricator.services.mozilla.com/D120063
2021-07-29 04:25:18 +00:00
Michelle Goossens adf989bb23 Bug 1718297 - Part 1: Disable failing mochitest-media tests on Windows 10 2004 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D119836
2021-07-26 16:40:35 +00:00
Tom Ritter 1b9b6b72db Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie
With Fuzzyfox removed, Now() does what NowUnfuzzed() did.

Differential Revision: https://phabricator.services.mozilla.com/D119639
2021-07-14 18:18:17 +00:00
Karl Tomlinson e73a2aa7e8 Bug 1493982 limit speaker exposure in enumerateDevices() to those granted by selectAudioOutput() and getUserMedia() r=jib
selectAudioOutput() grants are per-device, but getUserMedia() grants expose all
speakers associated with any microphone.

When exposed, speaker devices have labels even when there is no active capture device.

Differential Revision: https://phabricator.services.mozilla.com/D118443
2021-07-06 23:37:32 +00:00
Butkovits Atila d0fe88da34 Bug 1634684 - disable test_peerConnection_videoCodecs.html on Linux_64_QR_Debug for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118891
2021-07-06 17:33:00 +00:00
Paul Adenot a07a3b3977 Bug 1714303 - Remove WEBRTC_DTLS_PROTOCOL_VERSION. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D117435
2021-06-21 15:36:24 +00:00
Byron Campen [:bwc] 9b0a5b2020 Bug 1713300: Extend this timeout even more to give Windows aarch64 more time. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D117697
2021-06-17 07:18:18 +00:00
R. Martinho Fernandes 60eca13626 Bug 1714630 - Fix broken call to rememberValidityOverride in exceptionDialog r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D117300
2021-06-16 22:11:03 +00:00
Aaron Klotz bacaa5246b Bug 1707954: Part 4 - Build fixes to reflect EnsureMTA changes; r=Jamie
Now that we always have an MTA active, we don't need to explicitly try to
start it anymore. These locations in our source were doing so, which is now
not only redundant, but fails (since `EnsureMTA`'s default constructor is now
`private`).

We also fix a spot in `JumpListBuilder` where we need a lambda to capture by
reference to fix a static analysis issue.

Differential Revision: https://phabricator.services.mozilla.com/D113563
2021-06-14 21:53:19 +00:00
Marian-Vasile Laza 5c483b46df Backed out 4 changesets (bug 1707954) for causing bc failures in ClearOnShutdown.cpp.
CLOSED TREE

Backed out changeset 7cb0db27236c (bug 1707954)
Backed out changeset fd52d202d10b (bug 1707954)
Backed out changeset 55586d8f7bf4 (bug 1707954)
Backed out changeset 49406bdac5ec (bug 1707954)
2021-06-10 09:13:45 +03:00
Aaron Klotz ab34bfc22f Bug 1707954: Part 4 - Build fixes to reflect EnsureMTA changes; r=Jamie
Now that we always have an MTA active, we don't need to explicitly try to
start it anymore. These locations in our source were doing so, which is now
not only redundant, but fails (since `EnsureMTA`'s default constructor is now
`private`).

We also fix a spot in `JumpListBuilder` where we need a lambda to capture by
reference to fix a static analysis issue.

Differential Revision: https://phabricator.services.mozilla.com/D113563
2021-06-09 21:38:15 +00:00
Noemi Erli 90b8bc9a03 Backed out 4 changesets (bug 1707954) for causing bustages in rules.mk CLOSED TREE
Backed out changeset fa23f9293250 (bug 1707954)
Backed out changeset e1b37839487b (bug 1707954)
Backed out changeset f72b810472fd (bug 1707954)
Backed out changeset fb4829011104 (bug 1707954)
2021-06-10 00:29:29 +03:00
Aaron Klotz 3dccb2d4b4 Bug 1707954: Part 4 - Build fixes to reflect EnsureMTA changes; r=Jamie
Now that we always have an MTA active, we don't need to explicitly try to
start it anymore. These locations in our source were doing so, which is now
not only redundant, but fails (since `EnsureMTA`'s default constructor is now
`private`).

We also fix a spot in `JumpListBuilder` where we need a lambda to capture by
reference to fix a static analysis issue.

Differential Revision: https://phabricator.services.mozilla.com/D113563
2021-06-09 20:28:06 +00:00
Chun-Min Chang 0a9065018a Bug 1702646 - Add an util-function to append interleaved buffer in AudioSegment r=padenot
Add an utility function named AppendFromInterleavedBuffer in
AudioSegment to append data from the given interleaved buffer. This
function does the same job as what AudioInputProcessing::InsertInGraph
and NativeInputTrack::ProcessInput were used to do. As a result, these
two functions can be eliminated or simplified.

Depends on D116673

Differential Revision: https://phabricator.services.mozilla.com/D116674
2021-06-08 00:48:21 +00:00
Chun-Min Chang d2f2ea20bb Bug 1702646 - Fix TestAudioInputProcessing tests r=padenot
The AudioInputProcessing now needs to call ProcessInput to process the
given input data instead of processing them in NotifyInputData

Differential Revision: https://phabricator.services.mozilla.com/D116673
2021-06-08 00:48:20 +00:00
Chun-Min Chang c95e8979b6 Bug 1702646 - Share AudioSegments among AudioInputTrack r=padenot
Each AudioInputTrack has its own AudioSegments storing the input audio
data. When the AudioInputTrack is in pass-through mode, the AudioSegment
is just the data de-interleaved from its raw data, without any audio
processing magic applied on it. If there are multiple AudioInputTracks
in pass-through mode exist in the same graph, then all of their
AudioSegments are same.

Before this patch, each of these AudioInputTracks allocates its own
space to store its own AudioSegments even those data are same. This
patch makes it possible for these AudioInputTracks to share the same
AudioSegment data they need. By creating the AudioSegment in the
NativeInputTrack, which is mapped to one specific device and is
connected to the AudioInputTrack, the AudioInputTrack can fetch the
AudioSegment data when they need and then append shared-references of
the AudioChunk, inside the fetched AudioSegment, into their own
AudioSegment. Therefore, we can have some AudioChunks created by the
NativeInputTrack and shared among the AudioInputTracks in pass-through
mode.

Differential Revision: https://phabricator.services.mozilla.com/D114801
2021-06-08 00:48:20 +00:00
Chun-Min Chang 1f72372ece Bug 1702646 - Process audio input in ProcessInput r=padenot
Instead of receiving and processing audio input data in
AudioInputProcessing::NotifyInputData, we can get the audio input data
from the connected source via the MediaInputPort and process it in
AudioInputTrack::ProcessInput

Differential Revision: https://phabricator.services.mozilla.com/D114807
2021-06-08 00:48:19 +00:00
Chun-Min Chang 81d623f7fc Bug 1702646 - Use NativeInputTrack to deliver audio data r=padenot
- Create a NativeInputTrack that is managed by main-thread in MTG
- Replace mInputDeviceUsers by a <device-id, NativeInputTrack> map

Differential Revision: https://phabricator.services.mozilla.com/D113680
2021-06-08 00:48:19 +00:00
Byron Campen [:bwc] 6c04a617e5 Bug 1713300: Extend this timeout to give Windows aarch64 more time. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D116835
2021-06-07 23:12:53 +00:00
Byron Campen [:bwc] 3c72164705 Bug 1713239: Disable the tests that use the ICE server on test-verify. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D116717
2021-06-04 13:12:34 +00:00
Andreea Pavel 895d0d41a3 Bug 1634684 - disable test_peerConnection_videoRenegotiationInactiveAnswer.html on linux-qr debug r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D116540
2021-06-04 05:59:36 +00:00
Noemi Erli 3fe08775d6 Backed out 3 changesets (bug 1702646) for causing gtest failures CLOSED TREE
Backed out changeset 2b5f35e21e84 (bug 1702646)
Backed out changeset 13dc1577b2a0 (bug 1702646)
Backed out changeset f87a905f445a (bug 1702646)
2021-06-02 12:11:51 +03:00
Chun-Min Chang 92125abae4 Bug 1702646 - Share AudioSegments among AudioInputTrack r=padenot
Each AudioInputTrack has its own AudioSegments storing the input audio
data. When the AudioInputTrack is in pass-through mode, the AudioSegment
is just the data de-interleaved from its raw data, without any audio
processing magic applied on it. If there are multiple AudioInputTracks
in pass-through mode exist in the same graph, then all of their
AudioSegments are same.

Before this patch, each of these AudioInputTracks allocates its own
space to store its own AudioSegments even those data are same. This
patch makes it possible for these AudioInputTracks to share the same
AudioSegment data they need. By creating the AudioSegment in the
NativeInputTrack, which is mapped to one specific device and is
connected to the AudioInputTrack, the AudioInputTrack can fetch the
AudioSegment data when they need and then append shared-references of
the AudioChunk, inside the fetched AudioSegment, into their own
AudioSegment. Therefore, we can have some AudioChunks created by the
NativeInputTrack and shared among the AudioInputTracks in pass-through
mode.

Differential Revision: https://phabricator.services.mozilla.com/D114801
2021-06-02 01:05:20 +00:00
Chun-Min Chang dda7fa04e2 Bug 1702646 - Process audio input in ProcessInput r=padenot
Instead of receiving and processing audio input data in
AudioInputProcessing::NotifyInputData, we can get the audio input data
from the connected source via the MediaInputPort and process it in
AudioInputTrack::ProcessInput

Differential Revision: https://phabricator.services.mozilla.com/D114807
2021-06-02 01:05:20 +00:00
Chun-Min Chang ed6a1d76b5 Bug 1702646 - Use NativeInputTrack to deliver audio data r=padenot
- Create a NativeInputTrack that is managed by main-thread in MTG
- Replace mInputDeviceUsers by a <device-id, NativeInputTrack> map

Differential Revision: https://phabricator.services.mozilla.com/D113680
2021-06-02 01:05:20 +00:00
Byron Campen [:bwc] 92a4b12566 Bug 857668: Close these RTCPeerConnections. r=jib
This avoids shutdown leaks in cases where these tests are run in isolation.

Differential Revision: https://phabricator.services.mozilla.com/D116030
2021-05-27 21:08:46 +00:00
Byron Campen [:bwc] fa69b037b0 Bug 857668: Remove this check; sockets are sometimes closed without nICEr knowing about it. r=mjf
Depends on D115829

Differential Revision: https://phabricator.services.mozilla.com/D116029
2021-05-27 21:08:45 +00:00
Byron Campen [:bwc] 07652477a9 Bug 857668: Use IPPROTO_TCP here. r=mjf
We only use this with TCP sockets.

Depends on D115293

Differential Revision: https://phabricator.services.mozilla.com/D115829
2021-05-27 21:08:45 +00:00