-
Notifications
You must be signed in to change notification settings - Fork 208
feat: upgrade libwebrtc to m150. #1284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cloudwebrtc
wants to merge
37
commits into
main
Choose a base branch
from
duan/upgrade-libwebrtc-to-m150
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
5650af3
fix build for win.
cloudwebrtc da62c24
bump libwebrtc deps.
cloudwebrtc c7723dd
fix build on linux.
cloudwebrtc baae74a
fix build for android.
cloudwebrtc 11f6bd0
Create feat_upgrade_libwebrtc_to_m150.md
cloudwebrtc 49dbff1
bump libwebrtc to webrtc-a970b87 (m150 pre-release).
cloudwebrtc f4c43f2
fix ffi build.
cloudwebrtc b216c99
fix h264 compile.
cloudwebrtc 2ebb2bc
fix: use libyuv directly in yuv_helper.h to fix win-arm64 linker errors
Copilot 7bc323e
fix: revert use_custom_libcxx=false in build_linux.sh to fix Linux li…
Copilot ffd1d5a
fix build issue on linux.
cloudwebrtc 1b652e9
chore: update changeset to cover all affected packages
Copilot 27a5748
Update WEBRTC_TAG constant to new version
cloudwebrtc d1b7fdb
Fix Android build: provide weak NDK r28 compat stub for __hash_memory
Copilot 28558ee
Update WEBRTC_TAG constant to new version
cloudwebrtc bf52ad6
fix tests.
cloudwebrtc 9413ea5
fix e2e tests for linux.
cloudwebrtc 5ec3038
update.
cloudwebrtc 774a9bc
Update Ubuntu version in WebRTC builds workflow
cloudwebrtc 2ce8677
fix.
cloudwebrtc fc7c1c3
Update webrtc-builds.yml
cloudwebrtc f1eb9e2
fix
cloudwebrtc 504e46b
add upgrade_sysroot_libdtcxx.sh for linux build.
cloudwebrtc 309c4b3
fix.
cloudwebrtc 6e3c62e
Update Linux dependency installation conditions
cloudwebrtc 09062d7
Clean up build_linux.sh by removing unused patches
cloudwebrtc 6a894c2
update.
cloudwebrtc b494632
Update Linux dependencies for arm64 architecture
cloudwebrtc 50da6c6
Update webrtc-builds.yml
cloudwebrtc 0c3c326
update.
cloudwebrtc 2bb70b5
fix abseil cpp build error.
cloudwebrtc c08c998
fix patch.
cloudwebrtc 60a261d
fix.
cloudwebrtc 7454992
revert changes.
cloudwebrtc 9500e32
fix.
cloudwebrtc 6643976
Update webrtc-builds.yml
cloudwebrtc c410744
Update WEBRTC_TAG constant to new version
cloudwebrtc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| libwebrtc: patch | ||
| livekit: patch | ||
| livekit-ffi: patch | ||
| webrtc-sys: patch | ||
| webrtc-sys-build: patch | ||
| --- | ||
|
|
||
| feat: upgrade libwebrtc to m150. - #1284 (@cloudwebrtc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Cross-compiler settings are ignored when building for Linux, forcing the host compiler
The Linux build forces the host
clang++whenever the generic compiler environment variable is unset (builder.compiler("clang++")atwebrtc-sys/build.rs:538), ignoring the target-specific compiler overrides the build system normally honors, so cross-compiled builds silently use the wrong compiler.Impact: People cross-compiling for another Linux architecture get their configured toolchain ignored and the build fails or produces wrong output.
cc crate env-var precedence not covered by the CXX check
The
cccrate resolves the C++ compiler fromCXX_<target>,CXX_<target-with-underscores>,TARGET_CXXand finallyCXX; an explicitBuild::compiler()call takes precedence over all of them.webrtc-sys/build.rs:529-539only checksenv::var_os("CXX"), so a user who setsCXX_aarch64_unknown_linux_gnu=/path/to/clang++(the documented per-target form) still gets the hard-coded hostclang++, losing their sysroot/target configuration.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.