Skip to content

Upgrade libwebrtc to M157 and update dependencies - #3567

Queued
adelva1984 wants to merge 1 commit into
google:mainfrom
adelva1984:webrtc-upgrade
Queued

adelva1984 wants to merge 1 commit into
google:mainfrom
adelva1984:webrtc-upgrade

Conversation

@adelva1984

@adelva1984 adelva1984 commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Upgrade @libwebrtc from M126 (branch-heads/6478) to M157 (branch-heads/8103, commit 95554e4a0c5c343fdc989387d9d0ce18e2a2294b) and upgrade its dependencies:

  • @libsrtp2: v2.8.1 (6ff02afa8d2dc3f2e8896af391d137c1c66ff6fa)
  • @dav1d: 1.5.4
  • @libvpx: v1.17.0 (6df3ec34557879fff673706f4a1d9fbd0f3a6f0e)
  • @libyuv: 209763ad77fed3df2d57503d3ef40761e9473649 (with LIBYUV_DISABLE_SME / LIBYUV_DISABLE_SVE)
  • @libwebm: libwebm-1.0.0.32 (f2a982d748b80586ae53b89a2e6ebbc305848b8c)
  • @sframe: 6a37f061f4eda0c6594c91ecf99b5ff498c8c124 (with sframe_config providing namespace.h)

Build & packaging updates:

  • Replace PATCH.dav1d_include.patch with forwarding header stubs under build_external/libwebrtc/third_party/dav1d/ and depend on @dav1d//:dav1d_api.
  • Add PATCH.vp9_frame_buffer_pool.patch for vp9_frame_buffer_pool.cc (std::fill instead of absl::c_fill on a temporary std::span rvalue).
  • Move libsrtp2 -D flags into defines in BUILD.libsrtp2.bazel and suppress -Wnullability-completeness for cuttlefish/host/frontend/webrtc in base/cvd/.bazelrc.
  • Update cuttlefish/host/frontend/webrtc for WebRTC M157 API changes (webrtc:: namespace, Environment-based video codec factory creation, RTP timestamp accessors, CreateAudioDeviceModule, EncodedImageCallback::OnFrameDropped, CreateVideoTrack parameter order, and non-deprecated CreatePeerConnectionFactory).

Assisted-by: Jetski:Gemini

@adelva1984
adelva1984 requested a review from jemoreira November 12, 2026 00:22
@adelva1984
adelva1984 marked this pull request as draft November 13, 2026 18:13
@adelva1984
adelva1984 force-pushed the webrtc-upgrade branch 11 times, most recently from ba104ab to 12c2b0a Compare November 18, 2026 19:27
@adelva1984
adelva1984 marked this pull request as ready for review November 18, 2026 21:21
Upgrade @libwebrtc from M126 (branch-heads/6478) to M157
(branch-heads/8103, commit 95554e4a0c5c343fdc989387d9d0ce18e2a2294b) and
upgrade its dependencies:
- @libsrtp2: v2.8.1 (6ff02afa8d2dc3f2e8896af391d137c1c66ff6fa)
- @dav1d: 1.5.4
- @libvpx: v1.17.0 (6df3ec34557879fff673706f4a1d9fbd0f3a6f0e)
- @libyuv: 209763ad77fed3df2d57503d3ef40761e9473649
- @libwebm: libwebm-1.0.0.32 (f2a982d748b80586ae53b89a2e6ebbc305848b8c)
- @sframe: 6a37f061f4eda0c6594c91ecf99b5ff498c8c124
- BCR modules: abseil-cpp 20260107.1, boringssl 0.20261020.0,
  bazel_skylib 1.9.2, gazelle 0.54.0

Update cuttlefish/host/frontend/webrtc for WebRTC M157 API changes
(unified webrtc:: namespace, Environment-based video codec factory
creation, RTP timestamp accessors, CreateAudioDeviceModule,
EncodedImageCallback::OnFrameDropped, CreateVideoTrack parameter order,
and non-deprecated CreatePeerConnectionFactory).

Assisted-by: Jetski:Gemini
@adelva1984
adelva1984 added this pull request to the merge queue Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 19, 2026
@adelva1984
adelva1984 added this pull request to the merge queue Nov 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants