Mike Hommey
0985192f22
Bug 1760484 - Add webrtc configs for arm64 openbsd. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D149473
2022-06-21 20:03:56 +00:00
Mike Hommey
9b1024c681
Bug 1738845 - Add webrtc configs for arm and ppc64 linux. r=mjf
...
Adding arm alone breaks ppc64el.
Differential Revision: https://phabricator.services.mozilla.com/D134738
2022-06-21 20:03:56 +00:00
Mike Hommey
ff501ba00a
Bug 1773223 - Filter-out _FORTIFY_SOURCE in GN processing. r=firefox-build-system-reviewers,andi
...
This is redundant with the build system setting it in
toolchain.configure.
Differential Revision: https://phabricator.services.mozilla.com/D149471
2022-06-21 02:30:46 +00:00
smolnar
feea9954b2
Backed out 6 changesets (bug 1738845, bug 1773223, bug 1760484) for causing multiple failures CLOSED TREE
...
Backed out changeset e759ac4fb646 (bug 1773223)
Backed out changeset 20c541be9a37 (bug 1760484)
Backed out changeset 653d2024a187 (bug 1738845)
Backed out changeset fd9540114bfd (bug 1773223)
Backed out changeset f24f3dfa49aa (bug 1773223)
Backed out changeset 11f3375a4a70 (bug 1773223)
2022-06-21 03:00:53 +03:00
Mike Hommey
854b9ec966
Bug 1760484 - Add webrtc configs for arm64 openbsd. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D149473
2022-06-20 22:04:22 +00:00
Mike Hommey
0146508375
Bug 1738845 - Add webrtc configs for arm and ppc64 linux. r=mjf
...
Adding arm alone breaks ppc64el.
Differential Revision: https://phabricator.services.mozilla.com/D134738
2022-06-20 22:04:21 +00:00
Mike Hommey
1bec54f814
Bug 1773223 - Filter-out _FORTIFY_SOURCE in GN processing. r=firefox-build-system-reviewers,andi
...
This is redundant with the build system setting it in
toolchain.configure.
Differential Revision: https://phabricator.services.mozilla.com/D149471
2022-06-20 22:04:20 +00:00
Mike Hommey
9ed6ee8e5b
Bug 1773223 - Generate webrtc moz.builds for all platforms at once. r=mjf,firefox-build-system-reviewers,ahochheiden
...
The current script requires to be run on 4 different host platforms each
of which would handle a subset of a total of 32 mozconfigs. That is not
sustainable, and there are already missing configs that break tier-3
platforms.
This replaces the current setup with one that handles all platforms in
one go, although we still keep the internal sequence of GcConfigGen ->
fixup_json -> GnMozbuildWriter.
The downside is that because this relies on the upstream webrtc build
system supporting cross-compilation, and that it actively rejects some
configurations, we need some local hacks to make it work on Linux and
Mac, but for now, we have to leave out Windows, which requires more
work.
For some reason, that removes some duplicated include directories in the
json files, which moves things a little in one moz.build file.
We also remove the mozconfigs we don't use anymore.
Differential Revision: https://phabricator.services.mozilla.com/D149205
2022-06-20 21:50:57 +00:00
Cosmin Sabou
18f908cae1
Backed out 11 changesets (bug 1738845, bug 1760484, bug 1773223) for causing build bustages and python failures. CLOSED TREE
...
Backed out changeset 2faea2e0af45 (bug 1773223)
Backed out changeset 85f0cccbd2a8 (bug 1760484)
Backed out changeset 67ee3490fe22 (bug 1738845)
Backed out changeset 2d0053357489 (bug 1773223)
Backed out changeset 7eccf21b04f2 (bug 1773223)
Backed out changeset 5e1c0d1d4018 (bug 1773223)
Backed out changeset c73d516d7d7f (bug 1773223)
Backed out changeset 05e201f82758 (bug 1773223)
Backed out changeset fe0095ad6576 (bug 1773223)
Backed out changeset 264adb57bb3c (bug 1773223)
Backed out changeset f349d4ad0088 (bug 1773223)
2022-06-21 00:22:01 +03:00
Mike Hommey
a118055664
Bug 1760484 - Add webrtc configs for arm64 openbsd. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D149473
2022-06-20 20:58:39 +00:00
Mike Hommey
9614f2583b
Bug 1738845 - Add webrtc configs for arm and ppc64 linux. r=mjf
...
Adding arm alone breaks ppc64el.
Differential Revision: https://phabricator.services.mozilla.com/D134738
2022-06-20 20:58:39 +00:00
Mike Hommey
55bfe51945
Bug 1773223 - Filter-out _FORTIFY_SOURCE in GN processing. r=firefox-build-system-reviewers,andi
...
This is redundant with the build system setting it in
toolchain.configure.
Differential Revision: https://phabricator.services.mozilla.com/D149471
2022-06-20 20:58:38 +00:00
Mike Hommey
7e5d9b75ba
Bug 1773223 - Generate webrtc moz.builds for all platforms at once. r=mjf,firefox-build-system-reviewers,ahochheiden
...
The current script requires to be run on 4 different host platforms each
of which would handle a subset of a total of 32 mozconfigs. That is not
sustainable, and there are already missing configs that break tier-3
platforms.
This replaces the current setup with one that handles all platforms in
one go, although we still keep the internal sequence of GcConfigGen ->
fixup_json -> GnMozbuildWriter.
The downside is that because this relies on the upstream webrtc build
system supporting cross-compilation, and that it actively rejects some
configurations, we need some local hacks to make it work on Linux and
Mac, but for now, we have to leave out Windows, which requires more
work.
For some reason, that removes some duplicated include directories in the
json files, which moves things a little in one moz.build file.
We also remove the mozconfigs we don't use anymore.
Differential Revision: https://phabricator.services.mozilla.com/D149205
2022-06-20 20:58:27 +00:00
Mike Hommey
4f7db4a1ff
Bug 1773642 - Refresh openbsd webrtc config after bug 1661450. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D149187
2022-06-14 04:19:04 +00:00
Michael Froman
2642f0c16e
Bug 1773373 - pt4 - Don't include modules/audio_processing/include/config.h since it is going away soon r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D148693
2022-06-09 18:02:18 +00:00
Michael Froman
8b40e9b6d2
Bug 1773373 - pt2 - Move CaptureDeviceType and CaptureDeviceInfo from libwebtc to VideoEngine r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D148691
2022-06-09 18:02:17 +00:00
Cosmin Sabou
882f253121
Backed out 4 changesets (bug 1773373) for causing hybrid build bustages. CLOSED TREE
...
Backed out changeset c705807d3549 (bug 1773373)
Backed out changeset 0806b667b3ac (bug 1773373)
Backed out changeset 121fba1d1b49 (bug 1773373)
Backed out changeset 41232e986121 (bug 1773373)
2022-06-09 18:47:16 +03:00
Michael Froman
1be0e3acb6
Bug 1773373 - pt4 - Don't include modules/audio_processing/include/config.h since it is going away soon r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D148693
2022-06-09 15:02:05 +00:00
Michael Froman
87b56161da
Bug 1773373 - pt2 - Move CaptureDeviceType and CaptureDeviceInfo from libwebtc to VideoEngine r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D148691
2022-06-09 15:02:05 +00:00
Mike Hommey
7b0456f26a
Bug 1773231 - Remove CR_SYSROOT_HASH from build config. r=mjf
...
It's not doing anything useful and only adds noise to our moz.build files.
Differential Revision: https://phabricator.services.mozilla.com/D148630
2022-06-08 22:52:03 +00:00
ganguin
89ffa8cc58
Bug 1661450 - 2/2 Make webrtc depend on MOZ_X11 r=ng
...
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh:
* regenerated json and moz.build files
* remove previous json files
Differential Revision: https://phabricator.services.mozilla.com/D142905
2022-04-20 09:32:10 +00:00
criss
8d62d22b30
Backed out 10 changesets (bug 1661450) for causing build bustages on nsWindow.cpp. CLOSED TREE
...
Backed out changeset 2c41d82de0c5 (bug 1661450)
Backed out changeset 5f58fcd7ac0b (bug 1661450)
Backed out changeset 62e56a6dcd22 (bug 1661450)
Backed out changeset 4b422ffa729f (bug 1661450)
Backed out changeset 6ca4705772da (bug 1661450)
Backed out changeset 031a6313459f (bug 1661450)
Backed out changeset 06ddf05e97d6 (bug 1661450)
Backed out changeset 4388b1b9aafd (bug 1661450)
Backed out changeset 600f9fd09fa6 (bug 1661450)
Backed out changeset cc5e8efe3ebf (bug 1661450)
2022-04-19 12:25:14 +03:00
ganguin
70d1f273cc
Bug 1661450 - 2/2 Make webrtc depend on MOZ_X11 r=ng
...
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh:
* regenerated json and moz.build files
* remove previous json files
Differential Revision: https://phabricator.services.mozilla.com/D142905
2022-04-19 08:35:29 +00:00
tester
45d8ff9056
Bug 1752326 - Prevent deadlock when stopping V4L2 capture. r=ng
...
This is effectively a cherry-pick of the upstream commit https://webrtc.googlesource.com/src/+/974f6c64388614c332671c98dec8fffc86f35acf . The effected code was a bit different upstream, so there are minor differences.
Differential Revision: https://phabricator.services.mozilla.com/D138175
2022-03-23 20:34:21 +00:00
Andreas Pehrson
87859bb42b
Bug 1412333 - Update generated build files. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D136943
2022-01-26 08:52:17 +00:00
Andreas Pehrson
f52bbb09fc
Bug 1412333 - Remove traces of MULTI_MONITOR_SCREENSHARE. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D136942
2022-01-26 08:52:17 +00:00
Andreas Pehrson
6b5568bde4
Bug 1748458 - Add TRACE_EVENTs for dropped frames and packets for received video. r=bwc
...
This lets us see in the profiler how many received frames and packets we decide
to drop and the reasons why.
Differential Revision: https://phabricator.services.mozilla.com/D135062
2022-01-06 00:16:45 +00:00
Andreas Pehrson
935002d7ea
Bug 1748478 - Propagate calculated discarded packets to stats. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D135061
2022-01-06 00:16:45 +00:00
Alexandru Michis
643992c765
Backed out 3 changesets (bug 1748458, bug 1748478) for causing crashes in FrameBuffer.
...
CLOSED TREE
Backed out changeset 579f107e3a5e (bug 1748458)
Backed out changeset 89ac7dfe4265 (bug 1748458)
Backed out changeset 95c08b064dea (bug 1748478)
2022-01-05 20:28:20 +02:00
Andreas Pehrson
ccce4aa5ac
Bug 1748458 - Add TRACE_EVENTs for dropped frames and packets for received video. r=bwc
...
This lets us see in the profiler how many received frames and packets we decide
to drop and the reasons why.
Differential Revision: https://phabricator.services.mozilla.com/D135062
2022-01-05 16:56:39 +00:00
Andreas Pehrson
e663031681
Bug 1748478 - Propagate calculated discarded packets to stats. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D135061
2022-01-05 16:56:39 +00:00
Landry Breuil
c3c633a1b1
Bug 1747862 - regenerate webrtc moz.build files after bug 1744644. r=mjf
2021-12-30 17:49:24 +01:00
Mike Hommey
fce6eb7d83
Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-23 20:29:07 +00:00
Cristian Tuns
e1e31e01f2
Backed out 2 changesets (bug 1747165) for causing nightly blockers(bustages) a=backout
...
Backed out changeset 4b1ab0915c94 (bug 1747165)
Backed out changeset 96043d814772 (bug 1747165)
2021-12-23 08:00:54 -05:00
Mike Hommey
b55194a16f
Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-22 23:56:24 +00:00
Michael Froman
701dfe22c5
Bug 1654448 - P3 - moz.build updates to support OpenBSD/amd64 builds. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D134435
2021-12-22 00:09:44 +00:00
Landry Breuil
da072579b6
Bug 1654448 - P2 - readd partial support for BSD to webrtc build;r=mjf
...
only OpenBSD/amd64 is supported for now
Depends on D134432
Differential Revision: https://phabricator.services.mozilla.com/D134433
2021-12-22 00:09:44 +00:00
Nika Layzell
78ff1150a5
Bug 1715144 - Part 2: Stop adding /ipc/glue to LOCAL_INCLUDES in gn-generated files, r=firefox-build-system-reviewers,nalexander,jib
...
Differential Revision: https://phabricator.services.mozilla.com/D117104
2021-12-13 21:57:21 +00:00
Michael Froman
94411aa860
Bug 1744644 - moz.build updates. r=ng
...
Depends on D133408
Differential Revision: https://phabricator.services.mozilla.com/D133409
2021-12-09 22:57:56 +00:00
Michael Froman
caffacbb6d
Bug 1744644 - set enable_liboam to false for mozilla builds. r=ng
...
This change results in using libaom_av1_decoder_absent.cc and
libaom_av1_encoder_absent.cc.
When using the libaom_av1_{en|de}coder_absent.cc files, we don't
need scalable_video_controller as a dependency.
Both of these changes should be upstreamable.
Depends on D133406
Differential Revision: https://phabricator.services.mozilla.com/D133407
2021-12-09 22:57:54 +00:00
Andreas Pehrson
2bf895a8ab
Bug 1576335 - Fix DeviceInfoImpl::_apiLock leaks by cherry-pick. r=padenot
...
This is a cherry-pick of upstream libwebrtc's
https://webrtc.googlesource.com/src/+/5b5de21accfd29e21cba2d6f38e3087e1f731be6
This gets rid of the path in DeviceInfoImpl::GetBestMatchedCapability that can
leave the _apiLock exclusively locked forever.
Differential Revision: https://phabricator.services.mozilla.com/D132139
2021-11-25 14:02:28 +00:00
stransky
4c21d96ccd
Bug 1739142 [Linux] Enable PipeWire on Linux, r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D131907
2021-11-24 09:37:47 +00:00
Andreas Pehrson
3fc1b2b632
Bug 1742181 - libwebrtc: Implement packetsDiscarded bookkeeping for received video. r=ng
...
Depends on D131707
Differential Revision: https://phabricator.services.mozilla.com/D131708
2021-11-23 14:11:16 +00:00
Andreas Pehrson
80c75cb2a5
Bug 1742181 - Cherry-pick libwebrtc patch for audio recv stat packetsDiscarded. r=ng
...
This cherry-picks the applicable parts of:
https://webrtc.googlesource.com/src/+/28a2c63526f471558bc93cdcae9fab42b84b10a5
Differential Revision: https://phabricator.services.mozilla.com/D131707
2021-11-23 14:11:16 +00:00
Andreas Pehrson
4ae56021db
Bug 1729455 - Inject RTCStatsTimestampMakerRealtimeClock into Call instances. r=bwc
...
This patch makes libwebrtc use our clock for timestamps.
It also makes sure there's no use of the libwebrtc realtime clock, other than
for relative time tracking (like timeouts), and that future libwebrtc updates
don't introduce unaudited use of it.
Differential Revision: https://phabricator.services.mozilla.com/D127714
2021-11-03 15:23:26 +00:00
Andreas Pehrson
3d7a221d58
Bug 1729455 - libwebrtc: Don't use wall clock for stats. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D127709
2021-11-03 15:23:23 +00:00
Andreas Pehrson
646e4d2ce7
Bug 1729455 - Cherry-pick libwebrtc ntp clock consolidation patches. r=bwc,ng
...
This lets us inject our own clock to a Call and control the wall-clock time.
This patch corresponds to upstream bug 11327
(https://bugs.chromium.org/p/webrtc/issues/detail?id=11327 ) and is a squash of
the following upstream commits:
- https://webrtc.googlesource.com/src/+/314b78d467c224159fb28c8dddf1d6fd78be7faa
- https://webrtc.googlesource.com/src/+/e9dad5f053c6d206f1ebab3d99945f81f597ff70
- https://webrtc.googlesource.com/src/+/704d6e518aa789a5e76378b7b758d6a77b60312e
- https://webrtc.googlesource.com/src/+/6817809e26f7631b1caa3013ee45075b9fef58d3
- https://webrtc.googlesource.com/src/+/0de1ed0244a8da395811ad8952e5f5f8a2643e2a
- https://webrtc.googlesource.com/src/+/b59e9045bf215aaec869412b16d0fd39bf0df4ec
- https://webrtc.googlesource.com/src/+/2491dbdf0b59cc080ea7218c32c109f4c8b304fe
- https://webrtc.googlesource.com/src/+/95f1e5192c95903d0fb7ed14f0e3acf0b510a440
- https://webrtc.googlesource.com/src/+/47ed99872d8b6392d2eb2e3c890b0eb00209fa20
- https://webrtc.googlesource.com/src/+/00f6e75671b7c73af5b3c88d2b554ee7873275f9
- https://webrtc.googlesource.com/src/+/fe3dd51f326b8d418a2ce055b313a099af58a815
- https://webrtc.googlesource.com/src/+/a6b0d53dc250aaebc14315a44515971da72980cc
- https://webrtc.googlesource.com/src/+/46fbefa3023ca7d1c1967e92b68c343173a00db2
- https://webrtc.googlesource.com/src/+/cab90db24ac2e4ddbb9e7619f65bf5dc582783c0
Differential Revision: https://phabricator.services.mozilla.com/D127706
2021-11-03 15:23:20 +00:00
Andreas Pehrson
473dbd2fdb
Bug 1729455 - Add to stats the local receive time for receiving video Sender Reports. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D125712
2021-11-03 15:23:17 +00:00
Iulian Moraru
bcd7d6fd66
Backed out 23 changesets (bug 1729455) for causing multiple build bustages. CLOSED TREE
...
Backed out changeset eb27a22d5419 (bug 1729455)
Backed out changeset 0744d68b8c94 (bug 1729455)
Backed out changeset 052a33acc2e4 (bug 1729455)
Backed out changeset 6911243d9ae0 (bug 1729455)
Backed out changeset 0473c7cfd344 (bug 1729455)
Backed out changeset 9b44714d7fce (bug 1729455)
Backed out changeset b04e243f4ab5 (bug 1729455)
Backed out changeset d112b90b7c05 (bug 1729455)
Backed out changeset 40008e4f1c1f (bug 1729455)
Backed out changeset 5a3ecc96a699 (bug 1729455)
Backed out changeset 3e8ac168ee3d (bug 1729455)
Backed out changeset 0cfae6f33c35 (bug 1729455)
Backed out changeset e8d24be16e22 (bug 1729455)
Backed out changeset eb07a028bc43 (bug 1729455)
Backed out changeset 11637120b0cc (bug 1729455)
Backed out changeset 7f7c9f002087 (bug 1729455)
Backed out changeset 080188fa01cf (bug 1729455)
Backed out changeset f058fbb8662e (bug 1729455)
Backed out changeset 907da0f267fd (bug 1729455)
Backed out changeset 8e036b0931e3 (bug 1729455)
Backed out changeset cfcd4d853484 (bug 1729455)
Backed out changeset 99267b6d193f (bug 1729455)
Backed out changeset a2cee9ad6c6c (bug 1729455)
2021-11-02 18:10:53 +02:00
Andreas Pehrson
1d84e22f11
Bug 1729455 - Inject RTCStatsTimestampMakerRealtimeClock into Call instances. r=bwc
...
This patch makes libwebrtc use our clock for timestamps.
It also makes sure there's no use of the libwebrtc realtime clock, other than
for relative time tracking (like timeouts), and that future libwebrtc updates
don't introduce unaudited use of it.
Differential Revision: https://phabricator.services.mozilla.com/D127714
2021-11-02 14:35:57 +00:00