Skip to content

feat: upgrade libwebrtc to m150. - #1284

Draft
cloudwebrtc wants to merge 29 commits into
mainfrom
duan/upgrade-libwebrtc-to-m150
Draft

feat: upgrade libwebrtc to m150.#1284
cloudwebrtc wants to merge 29 commits into
mainfrom
duan/upgrade-libwebrtc-to-m150

Conversation

@cloudwebrtc

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Changeset ✓

This PR includes a changeset covering all affected packages:

Package Bump
libwebrtc patch
livekit patch
livekit-ffi patch
webrtc-sys patch
webrtc-sys-build patch

The webrtc::I420ToARGB etc. symbols from api/video/yuv_helper.h were not
present in the webrtc.lib for aarch64-pc-windows-msvc, causing 22 linker
errors. Replace the webrtc:: namespace wrappers with direct libyuv:: calls
using third_party/libyuv/include/libyuv.h, which is already in the include
path and whose symbols are always compiled into webrtc.lib.

Also removes the erroneous duplicate i420_to_nv12 overload that incorrectly
called NV12ToI420 instead of I420ToNV12.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

…nker errors

The pre-built libwebrtc.a at webrtc-a970b87 was compiled with
use_custom_libcxx=true (Chromium's libc++ with ABI namespace std::__Cr::),
making it ABI-incompatible with GCC/libstdc++ (std::__cxx11:: / std::).

Every linker error in CI was caused by this mismatch, e.g.:
  SdpVideoFormat(std::__Cr::basic_string const&)  [in library]
  SdpVideoFormat(std::__cxx11::basic_string const&) [called by our code]

Revert to use_custom_libcxx=false so the library links with the system
libstdc++, matching the GCC compilation used by our SDK build.

The library must be rebuilt at a new webrtc-* tag for this fix to take
effect in CI. After the rebuild, update WEBRTC_TAG in build/src/lib.rs.
@cloudwebrtc
cloudwebrtc force-pushed the duan/upgrade-libwebrtc-to-m150 branch from 024a137 to bf52ad6 Compare August 4, 2026 03:24
@cloudwebrtc
cloudwebrtc force-pushed the duan/upgrade-libwebrtc-to-m150 branch from e1df4fe to 309c4b3 Compare August 4, 2026 11:13
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.

3 participants