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

103 Коммитов

Автор SHA1 Сообщение Дата
Michael Froman d3d0fa392d Bug 1903098 - (fix-cd09858f4a) disable perfetto usage to avoid new third_party library. 2024-06-21 16:28:24 -05:00
Michael Froman aef60819a6 Bug 1903098 - Vendor libwebrtc from cd09858f4a
(skip-generation)

Upstream commit: https://webrtc.googlesource.com/src/+/cd09858f4a3f45e2c60508ababac6031986cdf7d
    Convert decoder TRACE_EVENT to flows

    This is the first new style trace event so this CL adds and updates
    WebRTCs Perfetto configuration.

    * Changes all #includes to target "third_party/perfetto". Added this
    to DEPS.
    * Expose the Perfetto public config in the "tracing" group using
    an all_dependent_configs statement. This means the config is included
    in all parts that include the "//:tracing" group. However, direct
    perfetto includes are banned per DEPS.
    * In order to expose Perfetto types (ie Flow/TerminatingFlow) the
    perfetto headers are a dependancy on all targets. This should not
    affect binary size as these are not used when perfetto is not enabled
    and will not be linked.

    Bug: b/42226290
    Change-Id: I5711d81dae95ee907cbcd41bf1ee9b55d2ec595c
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349161
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Evan Shrubsole <eshr@google.com>
    Cr-Commit-Position: refs/heads/main@{#42197}
2024-06-19 11:00:40 -05:00
Michael Froman 3dda90a8fc Bug 1903098 - Vendor libwebrtc from b85b4c0f29
Upstream commit: https://webrtc.googlesource.com/src/+/b85b4c0f29f15776d776ef75a46baf82ebbb9c7f
    Reland "New video encoder API."

    This reverts commit 56e63097498d0ad6fe2eca779b7df173cc6a0fca.

    Reason for revert: Preparing for reland

    Original change's description:
    > Revert "New video encoder API."
    >
    > This reverts commit 42f12d5183016060dcddc0b515a53294853559fe.
    >
    > Reason for revert: tests fails downstream
    >
    > Original change's description:
    > > New video encoder API.
    > >
    > > Also initial implementation wrapping the libaom AV1 encoder.
    > >
    > > Note that for now this is intended for prototype purposes.
    > >
    > > Bug: none
    > > Change-Id: Iac42ca4aecb6a204601c9f00bfb300e3eda3c4f4
    > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/306181
    > > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    > > Commit-Queue: Philip Eliasson <philipel@webrtc.org>
    > > Reviewed-by: Erik Språng <sprang@webrtc.org>
    > > Cr-Commit-Position: refs/heads/main@{#42108}
    >
    > Bug: none
    > Change-Id: I927260353afb91df6c7650364baee4f13a098efd
    > No-Presubmit: true
    > No-Tree-Checks: true
    > No-Try: true
    > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/347883
    > Commit-Queue: Philip Eliasson <philipel@webrtc.org>
    > Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
    > Reviewed-by: Philip Eliasson <philipel@webrtc.org>
    > Owners-Override: Philip Eliasson <philipel@webrtc.org>
    > Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
    > Cr-Commit-Position: refs/heads/main@{#42111}

    Bug: none
    Change-Id: Ib72ef5359ead697d27301e2ca2408e8b27165931
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349001
    Commit-Queue: Philip Eliasson <philipel@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42172}
2024-06-18 17:27:11 -05:00
Michael Froman 29058395af Bug 1903098 - Vendor libwebrtc from db50b03553
Upstream commit: https://webrtc.googlesource.com/src/+/db50b0355311703b4ba13a866883e7f0e5717ee5
    Add perfetto build config

    This adds Perfetto support to WebRTC with a GN flag rtc_use_perfetto.
    The configuration of perfetto depends on whether or not webrtc is
    build within Chrome or not. When in Chrome, WebRTC will depend on
    //third_party/perfetto:libperfetto. When building standalone, specific includes required for Perfetto are exposed with the library webrtc_libperfetto.

    The perfetto trace API is exposed with a header export in
    trace_event.h which is used instead of the legacy API.

    The addition of Perfetto means there are 4 compilation modes for
    tracing in WebRTC,
    1. No tracing implementation.
    2. Legacy tracing (AddTraceEvent/GetCategoryEnabled).
    3.a. Perfetto statically linked (webrtc_libperfetto).
    3.b. Perfetto in Chrome (Chrome's libperfetto).

    This CL removes the tracing expectations from
    rtc_stats_integrationtest.cc because those directly used the old API.

    Integration into Chrome is a follow up CL which depends on
    https://chromium-review.googlesource.com/c/chromium/src/+/5471691.

    Tested: Ran Chrome with Perfetto and traces appear. WebRTC Unit test tracing working: https://ui.perfetto.dev/#!?s=04ea2613ea36b814394639a1ec4b60be5b5097527f1a485995ecc13469885468
    Bug: webrtc:15917
    Change-Id: I537d79dc247c2b759689910c621087286a4d8fdc
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/347880
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Auto-Submit: Evan Shrubsole <eshr@google.com>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Mikhail Khokhlov <khokhlov@google.com>
    Cr-Commit-Position: refs/heads/main@{#42166}
2024-06-18 17:19:28 -05:00
Dan Baker d6c3eea8e1 Bug 1883116 - (fix-e79e722834) add enviroment_factory to libwebrtc build and enforce providing clock and task_queue when creating Environment 2024-03-18 13:34:02 -05:00
Jan-Ivar Bruaroey 186ea6fdca Bug 1876843 - Vendor libwebrtc from 9fdceb80b5
Upstream commit: https://webrtc.googlesource.com/src/+/9fdceb80b5f7c36cdbcd5861c737b40a73b430f6
    Add environment_construction poison

    This poison guards against accidental use of EnvironmentFactory and thus ensures low level WebRTC class would use utilities from propagated environment instead of accidentally using a default implementation.

    This poison extends and thus replaces default task queue poison.

    Bug: webrtc:15656
    Change-Id: I577bef8af08b9c7dd649ad5a2284eb236e6f4a8f
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/328380
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#41247}
2024-02-10 14:14:13 -05:00
Jan-Ivar Bruaroey 3298342294 Bug 1876843 - Vendor libwebrtc from 4ac371883e
Upstream commit: https://webrtc.googlesource.com/src/+/4ac371883e83c264eea96beeb14f95f9b69d72a4
    AsyncPacketSocket::RegisterReceivedPacketCallback

    This cl introduce RegisterReceivedPacketCallback and
    DeregisterReceivedPacketCallback that will be used to replace AsyncPacketSocket::SignalReadPacket

    A "proof of concept" cl is here: https://webrtc-review.googlesource.com/c/src/+/327324

    Bug: webrtc:15368
    Change-Id: I07e4f564dc8420d78e542991689778d8531225df
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/327325
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Per Kjellander <perkj@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#41164}
2024-02-10 11:03:33 -05:00
Jan-Ivar Bruaroey 91ef9daa67 Bug 1876843 - (fix-b29ff000da) remove mozilla dependency on api:enable_media 2024-02-09 15:02:18 -05:00
Jan-Ivar Bruaroey 3a0da67bae Bug 1876843 - Vendor libwebrtc from b29ff000da
Upstream commit: https://webrtc.googlesource.com/src/+/b29ff000da596bac9311fe7c6d440354648bc2c3
    Migrate webrtc_link_test to include EnableMedia api

    Bug: webrtc:15574
    Change-Id: Ic0cbf0032587560fbb206c029d5f7692effe39a5
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325900
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#41068}
2024-02-08 09:07:17 -05:00
Michael Froman 740f21d798 Bug 1871981 - Vendor libwebrtc from 2e1f16d55c
Upstream commit: https://webrtc.googlesource.com/src/+/2e1f16d55c66ded230db084cdd517a9b9dfb21bc
    Make AEC3 json parsing code testonly

    Reasons:
    - the code is no longer used in Chrome
    - it is conceptually weird for WebRTC to have JSON parsing in its API
    - there are concerns around the reliability of the underlying JSON library

    Additionally, this CL removes the rtc_json "poisonous" attribute: the scheme is incompatible and redundant with testonly.

    Bug: webrtc:1493351
    Change-Id: I0b621b0e3f183df7315919d9c89242fbe387928f
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325062
    Reviewed-by: Per Åhgren <peah@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Sam Zackrisson <saza@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#41014}
2024-01-03 12:17:53 -06:00
Michael Froman 98930668b1 Bug 1867099 - Vendor libwebrtc from 6fc4d9750c
Upstream commit: https://webrtc.googlesource.com/src/+/6fc4d9750c5210b5a7dce0acf97bffb4136a4d62
    Make WEBRTC_UNSAFE_FUZZER_MODE dependent only on use_fuzzing_engine

    The level of optimization is irrelevant -- only whether the build is
    targeting a fuzzer or not.

    Bug: chromium:1483560, chromium:847106, chromium:844647, chromium:646404
    Change-Id: I8784883ed222b08b4d4313782175a9550e3e3ea5
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/320800
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Christoffer Jansson <jansson@google.com>
    Auto-Submit: Greg Thompson <grt@chromium.org>
    Reviewed-by: Jonathan Metzman <metzman@google.com>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Christoffer Jansson <jansson@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40778}
2023-11-29 16:26:10 -06:00
Michael Froman e38ce386fb Bug 1867099 - Vendor libwebrtc from ae82df718c
Upstream commit: https://webrtc.googlesource.com/src/+/ae82df718c51b7bb1765810c294c280f8e71ae66
    Add codec name H265 to support H265 in WebRTC

    Bug: webrtc:13485
    Change-Id: I352b15a65867f0d56fc8e9a9e03081bd3258108e
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/316283
    Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40773}
2023-11-29 16:20:38 -06:00
Michael Froman 5b9e9de79f Bug 1867099 - Vendor libwebrtc from 2e7ed0d615
skip-generation

Upstream commit: https://webrtc.googlesource.com/src/+/2e7ed0d615d3367ff1443eb834c79c7878e83d8c
    Roll chromium_revision 6ac7929166..eef62e8a0c (1190797:1197906)

    Change log: 6ac7929166..eef62e8a0c
    Full diff: 6ac7929166..eef62e8a0c

    Changed dependencies
    * fuchsia_version: version:14.20230826.1.1..version:15.20230909.2.1
    * reclient_version: re_client_version:0.113.0.8b45b89-gomaip..re_client_version:0.114.2.81e819b-gomaip
    * src/base: 609cafa975..10140da63a
    * src/build: 115a707991..c5658c73de
    * src/buildtools: b2043d4f43..a567506e78
    * src/buildtools/linux64: git_revision:cc56a0f98bb34accd5323316e0292575ff17a5d4..git_revision:991530ce394efb58fcd848195469022fa17ae126
    * src/buildtools/mac: git_revision:cc56a0f98bb34accd5323316e0292575ff17a5d4..git_revision:991530ce394efb58fcd848195469022fa17ae126
    * src/buildtools/reclient: re_client_version:0.113.0.8b45b89-gomaip..re_client_version:0.114.2.81e819b-gomaip
    * src/buildtools/win: git_revision:cc56a0f98bb34accd5323316e0292575ff17a5d4..git_revision:991530ce394efb58fcd848195469022fa17ae126
    * src/ios: 17864bdc8f..91328c276e
    * src/testing: ff8dee88bc..ac71f97e4a
    * src/third_party: ee6367daea..935018fd37
    * src/third_party/android_build_tools/manifest_merger: kkbYOGsVRXhtxBiXuTufY0puTnG5QAfyxvFTBHFWL08C..FlwnxEZ1wdjoQfedkF4MiZgo8pD48-_CJNA7RnU6as4C
    * src/third_party/android_toolchain/ndk: R_8suM8m0oHbZ1awdxGXvKEFpAOETscbfZxkkMthyk8C..3vHltFqfgIw8wZ38ggGM9c7Eyw_AHZnwCgFIVtc9gngC
    * src/third_party/androidx: 2n47PFweHFzGxPWjh9RANTrGhmSDWowZ-YhkOV4j11MC..zIMLlRAldYvFj1UOOB-KZX_1YKfWx4vfYoCYVyF1XUsC
    * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/b8e012e1ff..3aecf1d00b
    * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/b8c4f2d99a..0dfa3b81d7
    * src/third_party/depot_tools: 427f0f43ad..523537049c
    * src/third_party/freetype/src: dd1ced4ee3..d7b63a966b
    * src/third_party/kotlin_stdlib: 6cGkpHi3fSRhpRfq2b1mjmzfFmShvtQe6gy4g2nFQd0C..7XCiIAlSi36gvPwOn8N4Q1GE9sMLw6V1RljM9151cWIC
    * src/third_party/libc++/src: 84fb809dd6..7cee6b00d3
    * src/third_party/libc++abi/src: 3d83ca7bd2..f6a17c88dd
    * src/third_party/libunwind/src: 76e621a897..d9b4abf6b6
    * src/third_party/libvpx/source/libvpx: 24c0dcc851..6da1bd01d6
    * src/third_party/perfetto: 00427277dd..9a3ec114fc
    * src/third_party/r8: TBaeKaSTY2ttKx2JSFuWiQ8Na80KHZwLEgSAvT1DBJ0C..WptUn43oi_BkFPtEyZTdUD9wZo1yy8OPVqFwdP3jmqoC
    * src/third_party/turbine: ZlMS4BOYyYmbU8BuBDGyW7QrkvZ_-pTkm4lH4jKjTi4C..laSnfZnTgkmZynERrjAlU3yeqB5rN446BctGmKQsZ64C
    * src/tools: 3e78ed797e..723bed483d
    * src/tools/luci-go: git_revision:fe3cfd422b1012c2c8cf00d65cdb11aa2c26cd66..git_revision:8b73cff3b780a7136c4904103f19124d2be3dee1
    * src/tools/luci-go: git_revision:fe3cfd422b1012c2c8cf00d65cdb11aa2c26cd66..git_revision:8b73cff3b780a7136c4904103f19124d2be3dee1
    DEPS diff: 6ac7929166..eef62e8a0c/DEPS

    Clang version changed llvmorg-17-init-16420-g0c545a44:llvmorg-18-init-4631-gd50b56d1
    Details: 6ac7929166..eef62e8a0c/tools/clang/scripts/update.py

    BUG=chromium:1481493,chromium:1483216,b/298960678

    Change-Id: I934c827a71d332242ff182de08ba145c8eb8ec04
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/320680
    Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
    Reviewed-by: Björn Terelius <terelius@webrtc.org>
    Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
    Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40767}
2023-11-29 15:58:04 -06:00
Byron Campen 0bca0ffc9c Bug 1860685 - Vendor libwebrtc from f2827c4b1a
Upstream commit: https://webrtc.googlesource.com/src/+/f2827c4b1a7eb574fd83f208001a75b880205c01
    FrameCadenceAdapter: schedule repeats before issuing decodes.

    The code currently issues frames for encode before scheduling
    a new repeat. Swap this order to account for time taken by for
    slow encodes.

    Bug: webrtc:15456
    Change-Id: I74177069e30c1bf65268231ffba033411a0f7b9a
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/318580
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Erik Språng <sprang@webrtc.org>
    Commit-Queue: Markus Handell <handellm@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40690}
2023-10-27 15:53:26 -05:00
Byron Campen abd32ba490 Bug 1860685 - Vendor libwebrtc from 8d4a5f1122
Upstream commit: https://webrtc.googlesource.com/src/+/8d4a5f112261ef9ad6f95e8b58c46d3aa1045e7b
    Add an async DNS resolver suitable for defaulting.

    This should replace the wrapping async DNS resolver used
    for default resolution.

    Bug: webrtc:12598
    Change-Id: Ic65ecd17da7a5695d0003178aeb30824a707ec78
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/316928
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40607}
2023-10-27 14:18:52 -05:00
Andreas Pehrson bb422ae941 Bug 1857862 - Vendor libwebrtc from 2bfa071d09
Upstream commit: https://webrtc.googlesource.com/src/+/2bfa071d0900ac6e08d470035e162664dbd6425b
    Add GN flag for an easier JNI generator upgrade.

    Bug: b/293234089
    Change-Id: I06dca333a806992cbff1b175f1b0875728a9f1fb
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/315120
    Reviewed-by: Björn Terelius <terelius@webrtc.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Christoffer Jansson <jansson@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40518}
2023-10-16 21:04:39 +02:00
Andreas Pehrson 3a3b6b421d Bug 1857862 - Vendor libwebrtc from 9130431b54
Upstream commit: https://webrtc.googlesource.com/src/+/9130431b54fd18aa4857614c886aeeed1731fcf7
    Add possibility to set RTC_OBJC_TYPE_PREFIX from GN.

    This CL also adds the prefix RTC_TESTING to `ios_internal_pure_release_bot_arm64` in order to avoid ODR
    violations.

    Bug: b/292472934
    Change-Id: If63020e679c8670b4c797217eb38fc8c2954d422
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/313240
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40476}
2023-10-16 16:39:57 +02:00
Andreas Pehrson e8ab40849c Bug 1857862 - Vendor libwebrtc from d797cb6ca7
Upstream commit: https://webrtc.googlesource.com/src/+/d797cb6ca737b682306d591b63e2654fcd3ab19b
    Remove all split channels related code

    Bug: webrtc:13931
    Change-Id: I93b8ca0ba1ec15bf260236bbc914b41fbb30aa58
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/310680
    Commit-Queue: Florent Castelli <orphis@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40376}
2023-10-16 12:00:11 +02:00
Andreas Pehrson 486ea8422b Bug 1857862 - Vendor libwebrtc from e4e33b8ee3
Upstream commit: https://webrtc.googlesource.com/src/+/e4e33b8ee3d648ef7aa4d3199e325fa4f6906040
    Add video_encoder to default build

    under the same conditions as video_replay.
    Drive-by: fix typos

    BUG=webrtc:15210

    Change-Id: I6d288b2f7c8e2101192556eada6b28c82bfabf2f
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/308723
    Reviewed-by: Markus Handell <handellm@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Philipp Hancke <phancke@microsoft.com>
    Cr-Commit-Position: refs/heads/main@{#40355}
2023-10-16 11:12:19 +02:00
Dan Baker 52f3302cb5 Bug 1851693 - Vendor libwebrtc from 3d6e88e6ac
Upstream commit: https://webrtc.googlesource.com/src/+/3d6e88e6acb0174b1e0707513f9ed87bcef7daf9
    Remove low_bandwidth_audio_test.

    Change-Id: Ide4d34e1dada9dc1448f89a79cc7b803ea4b5f46
    Bug: b/284448060
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/307160
    Reviewed-by: Henrik Lundin <hlundin@google.com>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Jeremy Leconte <jleconte@google.com>
    Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40191}
2023-09-18 16:13:28 -06:00
Dan Baker c4577e74c3 Bug 1851693 - Vendor libwebrtc from b18463409b
Upstream commit: https://webrtc.googlesource.com/src/+/b18463409bfa413347826da395db4bfb7fbab34e
    Run webrtc_perf_tests on Fuchsia os.

    Currently a specific target is running on Fuchsia which is a copy paste of webrtc_perf_tests.

    Change-Id: Ib1fd5dc898f50c43f2bcd45e73c278d3547ce813
    Bug: None
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/306963
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#40176}
2023-09-18 15:53:29 -06:00
Michael Froman 0c301a6780 Bug 1847074 - Vendor libwebrtc from 0328190ab3
Upstream commit: https://webrtc.googlesource.com/src/+/0328190ab3415aad2c57339dba4cd72ce1842dff
    Add video_codec_perf_tests to desktop and android perf test suites

    Followed instructions in https://webrtc.googlesource.com/src/+/refs/heads/main/g3doc/add-new-test-binary.md

    Bug: webrtc:14852
    Change-Id: I4cdc7d55270de7b24723a89b8e3bb0d392d0e788
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/305600
    Reviewed-by: Åsa Persson <asapersson@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@google.com>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
    Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#40118}
2023-08-14 14:49:06 -05:00
Michael Froman f1947b4d3b Bug 1843113 - Vendor libwebrtc from 2b00c4e1af
Upstream commit: https://webrtc.googlesource.com/src/+/2b00c4e1af8c79d7923fd2e4f11dd2329d47b0ee
    Replace BuiltinVideo{Encoder,Decoder}Factory with Video{Encoder,Decoder}FactoryTemplate.

    Bug: webrtc:13573
    Change-Id: Ie84498444ad6f56bba90d17e672838a1ea2f6a83
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299706
    Commit-Queue: Philip Eliasson <philipel@webrtc.org>
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39735}
2023-07-13 17:38:35 -05:00
Jan-Ivar Bruaroey 934279767b Bug 1839451 - (fix-f6eae959bf) s/rtc_encoder_simulcast_proxy/rtc_simulcast_encoder_adapter/ BUILD ref. 2023-06-30 12:20:55 -04:00
Jan-Ivar Bruaroey 2aaa78baf2 Bug 1839451 - Vendor libwebrtc from ab456dd092
Upstream commit: https://webrtc.googlesource.com/src/+/ab456dd092f41ff82c716e1bc1f6011f64db4f86
    Always check out google_benchmark, part 5.

    Remove use of google_benchmark/buildconfig.gni.

    Bug: chromium:1404759
    Change-Id: I06e225b1457dd50e3777c5fcd277f639471f453a
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297700
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#39560}
2023-06-29 22:01:22 -04:00
Jan-Ivar Bruaroey 2d460f6d07 Bug 1839451 - Vendor libwebrtc from 049f5ef9b9
Upstream commit: https://webrtc.googlesource.com/src/+/049f5ef9b9bcc6b2dcf3fe353c2deb10a140e910
    Always check out google_benchmark, part 4.

    Remove use of non-WebRTC-specific arg to control benchmark use.

    Bug: chromium:1404759
    Change-Id: If50b215ff6c7698d385d1271bc8b6c38ed443e32
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297680
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39556}
2023-06-29 21:56:00 -04:00
Jan-Ivar Bruaroey c720b722cd Bug 1839451 - Vendor libwebrtc from 1e6d77c29a
Upstream commit: https://webrtc.googlesource.com/src/+/1e6d77c29afb562ac8b839b9f19b9b576419bb32
    Always check out google_benchmark, part 3.

    Add a WebRTC-specific arg that can be used to control use of targets
    that rely on //third_party/google_benchmarks, so the .gni in that
    directory can eventually be removed.

    Bug: chromium:1404759
    Change-Id: I2a9422fae119ca13eb50028d962fc0a671b5fb33
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297460
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#39553}
2023-06-29 21:51:50 -04:00
Jan-Ivar Bruaroey 6b1218b5e7 Bug 1839451 - Vendor libwebrtc from ff16f5f88e
Upstream commit: https://webrtc.googlesource.com/src/+/ff16f5f88e1af6b553abe2a847436ef0adce0900
    Add a new test binary to check if split-channel works

    This test (and binary) will be used to verify that the field trial
    for enabling split-MediaChannel works in both "off" and "on" modes,
    so that it can be run as a field trial. It is intended to be deleted
    once the conversion to split-MediaChannel is complete.

    Bug: webrtc:13931
    Change-Id: If62d19be9b2f205067b86dc859946279442fdd58
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/296322
    Commit-Queue: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Emil Lundmark <lndmrk@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#39493}
2023-06-29 20:21:05 -04:00
Jan-Ivar Bruaroey 8562e8873c Bug 1839451 - Vendor libwebrtc from 9109e856d5
Upstream commit: https://webrtc.googlesource.com/src/+/9109e856d53c4e18961e20b72cea1d23dc70408f
    Add option to log a warning for unregistered field trials

    Until now you only had the option to RTC_DCHECK for unregistered field
    trials. This makes it possible to log a warning instead.

    Bug: webrtc:14154
    Change-Id: I8628054e3c9b5d690f241a93e61299126b732ed0
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/295300
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Emil Lundmark <lndmrk@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39417}
2023-06-27 18:49:36 -04:00
Michael Froman ee0fee65b7 Bug 1828517 - Vendor libwebrtc from 73e0cc8969
Upstream commit: https://webrtc.googlesource.com/src/+/73e0cc8969510b224f17cf8afa3abcd874143640
    Delete unused Audio Bwe integration test.

    Bug: none
    Change-Id: Id8eb4ad4630820441d18e8d1449f4a8d87da9a59
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291335
    Reviewed-by: Jakob Ivarsson‎ <jakobi@webrtc.org>
    Commit-Queue: Per Kjellander <perkj@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39202}
2023-04-24 17:47:56 -05:00
Michael Froman 9fc4b032f9 Bug 1828517 - Vendor libwebrtc from 73918995a4
Upstream commit: https://webrtc.googlesource.com/src/+/73918995a46d14f0640c41273e1b78e1ca2ccf31
    Add Fuchsia perf output and fix upload

    Bug: b/263477303
    Change-Id: Ifabfd1c015788e944d1b78ba2a0454c29426c5e3
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290993
    Commit-Queue: Christoffer Jansson <jansson@google.com>
    Reviewed-by: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#39140}
2023-04-21 12:21:55 -05:00
Michael Froman 0d258f57f2 Bug 1828517 - Vendor libwebrtc from a6b9924988
Upstream commit: https://webrtc.googlesource.com/src/+/a6b992498866c3378a79d43cc186acba38b2a41b
    Remove all usage of //rtc_base target

    Bug: webrtc:9838
    Change-Id: If813dbb426b4dc848185b64c0349d03fa9c059f2
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290986
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Auto-Submit: Florent Castelli <orphis@webrtc.org>
    Commit-Queue: Florent Castelli <orphis@webrtc.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39116}
2023-04-21 11:09:14 -05:00
Michael Froman 9fadcd2bfd Bug 1828517 - Vendor libwebrtc from 128afb1a7e
Upstream commit: https://webrtc.googlesource.com/src/+/128afb1a7ec4ad63dab684ad46102d2f1c242db4
    Only build fuchsia_perf_tests on fuchsia os.

    This is to fix android compilation failure on CQ:
    https://ci.chromium.org/ui/p/webrtc/builders/try/android_compile_arm64_rel/51046/overview

    Change-Id: If40d95761b40d2d322b00d01d31eb18d31fac02d
    Bug: None
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290843
    Reviewed-by: Christoffer Jansson <jansson@webrtc.org>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#39065}
2023-04-20 22:29:20 -05:00
Michael Froman 7f4ac3c43f Bug 1828517 - Vendor libwebrtc from 82da9324bc
Upstream commit: https://webrtc.googlesource.com/src/+/82da9324bc41d9033fbc7f9cf7a939df569b3096
    Ensure task queues delete closures in task queue context.

    Bug: webrtc:14449
    Change-Id: I90d09d35398c1f8817701662f51cbc6a684a2fe0
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275773
    Commit-Queue: Markus Handell <handellm@webrtc.org>
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38917}
2023-04-20 10:42:09 -05:00
Byron Campen e54804a266 Bug 1822194 - Vendor libwebrtc from 3c85787ef3
Upstream commit: https://webrtc.googlesource.com/src/+/3c85787ef3a37361a8bceeb9dff41484805d6435
    Add fuchsia_perf_test to the default build group.

    Bug: b/232740856
    Change-Id: Ifd4932cba4f8223f0baa2483a116bb29e47f66f7
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286240
    Commit-Queue: Christoffer Jansson <jansson@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@google.com>
    Cr-Commit-Position: refs/heads/main@{#38809}
2023-04-01 14:55:00 -05:00
Byron Campen 5823e8b1d8 Bug 1822194 - Vendor libwebrtc from d0eaa54104
Upstream commit: https://webrtc.googlesource.com/src/+/d0eaa54104d392a4067b4ab85513b58b5153c5f9
    Reland "Add working Perf tests for Fuchsia"

    This is a reland of commit d8d86bd3329d05fdcc5402140917eb70b340c9c6

    Original change's description:
    > Add working Perf tests for Fuchsia
    >
    > Utilize VM in perf pool for Fuchsia (separate CL)
    >
    > Bug: b/232740856
    > Change-Id: Ia69f72bbf2046db3bc9b1e5edabda6cc4a339fe6
    > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/285721
    > Reviewed-by: Jeremy Leconte <jleconte@google.com>
    > Commit-Queue: Christoffer Jansson <jansson@webrtc.org>
    > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    > Cr-Commit-Position: refs/heads/main@{#38787}

    Bug: b/232740856
    Change-Id: I3ae8b17990157bde4a08fd8a98379cffd2c38148
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/285881
    Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
    Reviewed-by: Jeremy Leconte <jleconte@google.com>
    Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38802}
2023-04-01 11:04:56 -05:00
Andreas Pehrson 5de50bad63 Bug 1817024 - Vendor libwebrtc from 6bf20cc76a
Upstream commit: https://webrtc.googlesource.com/src/+/6bf20cc76a59e1f548ca53c6ef21f4143e3fe974
    Verify field trials looked up through field_trial::FindFullName

    For now, the run-time check will only be enabled if the
    rtc_strict_field_trials GN arg is set.

    In order to allow testing with imaginary field trial keys, two test
    helpers have been added. It's a bit awkward to test these since the
    field trial string is already global, hence the helpers are also
    modifying global state. Tests must make sure this global state is reset
    between runs. Things won't be an issue anymore when [1] has removed the
    global string.

    [1] https://crbug.com/webrtc/10335

    Bug: webrtc:14154
    Change-Id: Ida44cc817079d7177325e2228cf1f1d242b799e2
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/276269
    Commit-Queue: Emil Lundmark <lndmrk@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38447}
2023-02-21 22:46:20 +01:00
Andreas Pehrson 11926f75ac Bug 1817024 - Vendor libwebrtc from 1264dc165b
Upstream commit: https://webrtc.googlesource.com/src/+/1264dc165b9989e3e53eddbefe054c6e86bbf1f7
    PipeWire capturer: add initial test for SharedScreenCastStream

    This test created another PipeWire stream we can connect to with
    SharedScreenCastStream and recieve frames from there. This is an
    initial version, where I test whether we can successfuly connect
    and disconnect, receive frames and it also tests DesktopFrameQueue.

    In the future I will add tests to test mouse cursor and try to
    come up with some corner cases and possible scenarios.

    Bug: webrtc:13429
    Change-Id: Ib2a749207085c6324ffe3d5cc8f2f9c631fa6459
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256267
    Reviewed-by: Christoffer Jansson <jansson@webrtc.org>
    Reviewed-by: Mark Foltz <mfoltz@chromium.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Jan Grulich <grulja@gmail.com>
    Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38431}
2023-02-21 22:28:35 +01:00
Michael Froman 98e432154c Bug 1820869 - avoid building unreachable files. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171922
2023-03-08 00:26:19 +00:00
Michael Froman db966ee55c Bug 1816173 - pt22 - remove build hacks for api:libjingle_peerconnection_api r=ng
Differential Revision: https://phabricator.services.mozilla.com/D169685
2023-02-14 03:27:10 +00:00
Michael Froman e43f90e453 Bug 1816173 - pt15 - remove crc32c hacks r=ng
Removes 'Bug 1766646 - (fix-c128277f56) don't include build for standalone dcsctp'

Differential Revision: https://phabricator.services.mozilla.com/D169678
2023-02-14 03:27:07 +00:00
Dan Baker d150f7e6eb Bug 1812154 - (fix-3680605caa) Removing api/test/metrics from mozilla builds. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D168590
2023-02-01 20:11:49 +00:00
Dan Baker 9993d5d3cd Bug 1812154 - Vendor libwebrtc from 27f91afa38
Upstream commit: https://webrtc.googlesource.com/src/+/27f91afa381d9796a70eb087be58f3acd7d0e447
    Introduce MetricsExporter API with stdout implementation

    Bug: b/246095034
    Change-Id: I9979fb03b9a02e76808145f43910420524fe633a
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274880
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Artem Titov <titovartem@webrtc.org>
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38107}
2023-01-31 16:23:34 -07:00
Dan Baker 3ccb5e21ee Bug 1812154 - Vendor libwebrtc from bcf24f5bcd
Upstream commit: https://webrtc.googlesource.com/src/+/bcf24f5bcdc02e984859d15fd1a0d3106be08c41
    Move TimestampExtrapolator closer to its single user

    The `TimestampExtrapolator` is only used by the `VCMTiming`
    class, despite there being references to it from both
    `modules/rtp_rtcp/BUILD.gn` and `modules/video_coding/BUILD.gn`.

    Bug: webrtc:14111
    Change-Id: If1a02a56a0c83b13d619ca08dc76c884fa829369
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275482
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Johannes Kron <kron@webrtc.org>
    Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38093}
2023-01-31 15:58:44 -07:00
Dan Baker 9ae541f2f6 Bug 1806510 - Vendor libwebrtc from c898c82884
Upstream commit: https://webrtc.googlesource.com/src/+/c898c82884bb0e3dc2540d2a02c7835f03391984
    Introduce Metric object for new perf metrics logging system

    Bug: b/246095034
    Change-Id: I854ee8e5ea93e4046837ae9f54a652a8c92dd1bc
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274861
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Commit-Queue: Artem Titov <titovartem@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38078}
2023-01-09 15:54:44 -07:00
Dan Baker ae55f24999 Bug 1806510 - Vendor libwebrtc from ce03028216
Upstream commit: https://webrtc.googlesource.com/src/+/ce0302821672796bd96253acc5c83a05174449db
    Add -Wctad-maybe-unsupported.

    This will allow to catch issues (like the one that caused the revert
    [1]) at CQ time.

    [1] - https://webrtc-review.googlesource.com/c/src/+/273486

    Bug: None
    Change-Id: Ib12c15dcdc3e2a358d40c1a2ffabfbf42274e978
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273660
    Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#37982}
2023-01-06 15:48:46 -07:00
Michael Froman c766a2c156 Bug 1744645 - pt2 - cleanup BUILD.gn changes to improve rebase success and upstream-ability. r=ng
The following git commits have had history rewritten to correct issues we created as
we moved quickly through getting libwebrtc builds working.  In a few cases, the
commit disappears in our github stack because a change could be reverted completely.

Bug 1654112 - Tweak upstream gn files for Firefox build. r=ng
Bug 1654112 - Changes to support building with external libyuv. r=ng
Bug 1766646 - (fix-f9ee0e08ec) limit create_cross_traffic deps
Bug 1766646 - (fix-15a3c3fdca) restrict deps in windows_version_unittest
Bug 1766646 - (fix-8615bf0582) restrict deps in frame_buffer_unittest
Bug 1766646 - (fix-b6f002b55f) build fixes for new usage of libyuv
Bug 1766646 - (fix-5cfcf2282a) build fixes for new usage of libyuv
Bug 1766646 - (fix-b09d87232b) fixes for new usage of libyuv and libdav1d
Bug 1766646 - (fix) breakout Call::Stats and SharedModuleThread into seperate files
Bug 1766646 - forking base_capturer_pipewire.cc before e1e05afec7d7d10bb77fd00c5bd72cf17d77120d
Bug 1790097 - (fix-2a2f3ece15) remove build DEP for upstream's third_party/libaom
Bug 1790097 - (fix-4eab9f47a5) remove build DEP for upstream's third_party/libaom

Differential Revision: https://phabricator.services.mozilla.com/D163992
2022-12-07 17:09:48 +00:00
Michael Froman 10427270e0 Bug 1800920 - Vendor libwebrtc from c0ce454868
Upstream commit: https://webrtc.googlesource.com/src/+/c0ce454868e21a2a694f2c89c1246e4aa4f71d26
    Delete QueuedTask and ToQueuedTask as no longer needed

    Bug: webrtc:14245
    Change-Id: I4b36c8d6f0709202e01d22386644c20cad58450f
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269403
    Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#37718}
2022-11-18 15:05:52 -06:00
Andreas Pehrson 808e1dbcb8 Bug 1451394 - Expose mac camera capture backend in .gn and switch it to gecko libyuv. r=webrtc-reviewers,mjf
Differential Revision: https://phabricator.services.mozilla.com/D163682
2022-12-12 15:47:21 +00:00
Michael Froman 6925d2c9f8 Bug 1790097 - Vendor libwebrtc from 90b74389a2
Upstream commit: https://webrtc.googlesource.com/src/+/90b74389a2b4210036960f2e6af75c86518ac198
    SVC: Add end to end tests for VP8 and VP9

    The tests check that the various scalability mode are supported
    and the frames are marked properly by the encoder with their
    spatial and temporal index.
    The same information is then checked on the receiving side.

    A new member is added on EncodedImage to store the temporal index,
    and is filled by the encoders and retreived by the ref finder
    objects on the decoding side.

    Bug: webrtc:11607
    Change-Id: I7522f6a6fc5402244cab0c4c64b544ce09bc5204
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260189
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
    Reviewed-by: Artem Titov <titovartem@webrtc.org>
    Commit-Queue: Florent Castelli <orphis@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#37303}
2022-10-07 13:31:39 -05:00