Skip to content

chore: bump webrtc to m150 and enable WARP. - #461

Open
cloudwebrtc wants to merge 1 commit into
mainfrom
bump-libwebrtc-to-m150-and-enable-warp-by-default
Open

cloudwebrtc wants to merge 1 commit into
mainfrom
bump-libwebrtc-to-m150-and-enable-warp-by-default

Conversation

@cloudwebrtc

Copy link
Copy Markdown

No description provided.

@changeset-bot

changeset-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d70378c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

Comment thread ci/ios/Podfile
Comment on lines +8 to +11
# LiveKitWebRTC 150.x is not on CocoaPods trunk yet; it only lives in livekit/podspecs.
# Remove both sources once the pod is published to trunk.
source 'https://github.com/livekit/podspecs.git'
source 'https://cdn.cocoapods.org/'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Private pod source never reaches consumers

External iOS apps do not inherit these source declarations. Their pod installation cannot resolve LiveKitWebRTC 150 outside CocoaPods trunk.

Learn more

CocoaPods resolves spec repositories from the application Podfile, not from Podfiles shipped elsewhere in an npm package. These declarations fix only the repository's CI app and example app. The adapter podspec pins LiveKitWebRTC 150.7871.02, which this change states is unavailable on trunk. A consuming application using the documented installation flow therefore has no source containing that podspec.

Example: An existing app upgrades @livekit/react-native, keeps its standard trunk-only Podfile, and runs pod install. CocoaPods reports that no spec satisfies LiveKitWebRTC (= 150.7871.02) instead of installing the SDK.

Recommended fix: Publish LiveKitWebRTC 150 to trunk before releasing this package, or document and automate adding https://github.com/livekit/podspecs.git in every supported consumer integration, including the Expo plugin.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread package.json
"@eslint/js": "^9.35.0",
"@livekit/changesets-changelog-github": "^0.0.4",
"@livekit/react-native-webrtc": "^144.2.0",
"@livekit/react-native-webrtc": "https://github.com/livekit/react-native-webrtc.git#bump-libwebrtc-to-m150",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Stale peer range admits incompatible WebRTC

The declared ^144.2.0 can install the old adapter without enableSctpSnap support. Those valid installations silently omit half of WARP.

Learn more

The npm peer dependency defines which adapter versions consumers may install. The new wrapper passes enableSctpSnap, but the existing 144 adapter does not bridge that private RTC configuration field to native code. The Git dependency used for development contains that bridge, so local and CI tests cannot detect the peer mismatch. This also violates the repository rule requiring WebRTC peer ranges to match the SDK's actual requirement.

Example: An app already using @livekit/react-native-webrtc@144.2.0 upgrades this SDK. Its package manager accepts the peer dependency, but each peer connection drops enableSctpSnap before native initialization, leaving SCTP negotiation outside WARP.

Recommended fix: Release the m150 adapter under a distinct npm version, update peerDependencies to require that version, and use the same published version in development, CI, and example manifests.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

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.

1 participant