forked from livekit/react-native-webrtc
-
Notifications
You must be signed in to change notification settings - Fork 2
feat(ios): improved frame rendering #27
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
Draft
santhoshvai
wants to merge
1
commit into
master
Choose a base branch
from
ios-render-improv
base: master
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.
+7
−4
Draft
Changes from all commits
Commits
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
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.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 109
🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 622
🌐 Web query:
StreamWebRTC 137.0.62 CocoaPods pod version💡 Result:
There is no standalone CocoaPods pod named
StreamWebRTC. Stream distributesStreamWebRTCprimarily as a Swift Package (GetStream/stream-video-swift-webrtc). [2]With CocoaPods,
StreamWebRTCis consumed as a vendored XCFramework inside theStreamVideopod, and the podspec’sprepare_commanddownloads a specificStreamWebRTCrelease zip from GitHub. For example,StreamVideo 1.41.0downloadsStreamWebRTC137.0.54(not137.0.62). [1]So,
StreamWebRTC 137.0.62has no “CocoaPods pod version” mapping—to use137.0.62, you’d need either:.exact("137.0.62")(if that tag exists in the repo), orStreamVideopodspec (or fork) whoseprepare_commandpoints at.../releases/download/137.0.62/StreamWebRTC.xcframework.zip. [3]Sources:
[1]
StreamVideopodspec showingvendored_frameworks+ download URL inprepare_command(downloads137.0.54)[2] Stream’s WebRTC-for-Swift page describing
StreamWebRTCas a Swift Package[3] Swift Package Index page for
StreamWebRTC(package versions)🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 1359
🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 403
🌐 Web query:
GetStream StreamWebRTC CocoaPods pod registry💡 Result:
StreamWebRTC(GetStream’s prebuilt WebRTC XCFramework) is not published as a standalone CocoaPods pod in the CocoaPods trunk/registry (there’s noStreamWebRTCpage on CocoaPods.org).Instead, GetStream distributes it in two main ways:
Via the
StreamVideoCocoaPod (recommended if you’re using Stream Video).StreamVideo’s podspec vendorsFrameworks/StreamWebRTC.xcframeworkand itsprepare_commanddownloadsStreamWebRTC.xcframework.zipfrom theGetStream/stream-video-swift-webrtcGitHub Releases page duringpod install. [1]Via Swift Package Manager (SPM) as the
StreamWebRTCpackage fromGetStream/stream-video-swift-webrtc(also listed on Swift Package Registry sites). [2][3]Sources:
StreamVideopodspec (shows vendoredStreamWebRTC.xcframework+ download URL) [1], Stream’s iOS Video installation docs (SPM dependency example) [2], Swift Package Registry listing forGetStream/stream-video-swift-webrtc[3].🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 55
🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 689
🌐 Web query:
react-native-webrtc GetStream StreamWebRTC dependency CocoaPods pod install💡 Result:
If you’re integrating GetStream Video in React Native, you generally should not use
react-native-webrtc(community) on iOS—Stream’s SDK expects@stream-io/react-native-webrtc. Stream’s install docs explicitly list@stream-io/react-native-webrtcas the required peer dependency and thennpx pod-installfor iOS. [1]What to do (iOS / CocoaPods)
react-native-webrtc)[1]
If
pod installfails with “could not find compatible versions for podreact-native-webrtc”, the common fix is raising:(or higher) in
ios/Podfile. [2]@stream-io/react-native-webrtcversionStream notes that
@stream-io/react-native-webrtc>= 125.3.0 requires RN 0.73+; if you’re on older RN, pin@stream-io/react-native-webrtc@125.2.1. [1]If you paste the exact
pod installerror output (the failing Pod + message), I can point to the specific Podfile change needed.Sources:
[1] Stream Video React Native installation docs (peer deps +
npx pod-install, RN version note) https://getstream.io/video/docs/react-native/setup/installation/react-native/[2] Pod compatibility fix by raising iOS platform version for
react-native-webrtchttps://stackoverflow.com/questions/76089706/cocoapods-could-not-find-compatible-versions-for-pod-react-native-webrtc🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 188
🏁 Script executed:
Repository: GetStream/react-native-webrtc
Length of output: 1562
🌐 Web query:
GetStream/stream-video-swift-webrtc 137.0.62 CocoaPods podspec distribution💡 Result:
GetStream/stream-video-swift-webrtc(product StreamWebRTC) is not distributed via CocoaPods (no published pod / trunk podspec). Stream documents it as a Swift Package Manager dependency that points to precompiled WebRTC XCFramework binaries hosted via the Git repo/tags (e.g., you select an exact version/tag like137.0.62). [1], [2]So for 137.0.62, you should consume it via SPM, not
pod install. If you must use CocoaPods, you’ll need a different WebRTC binary pod/spec repo (not this GetStream package). [1], [3]Sources:
[1] GetStream “WebRTC for Swift Developers” (SPM-only instructions) (getstream.io)
[2] Swift Package Index listing for
GetStream/stream-video-swift-webrtc(SPM package/versions) (swiftpackageindex.com)[3] CocoaPods Trunk / Specs distribution background (blog.cocoapods.org)
Citations:
Remove or replace the broken CocoaPods dependency on line 24.
StreamWebRTCis not published as a standalone CocoaPods pod. It is only available as a Swift Package Manager package or as a vendored XCFramework within theStreamVideoCocoaPods pod. Thes.dependency 'StreamWebRTC', '~>137.0.62'declaration on line 24 will causepod installto fail with "Unable to find a specification for StreamWebRTC".To use StreamWebRTC 137.0.62, either:
StreamVideopod (which vendors StreamWebRTC internally) and update the version to one that includes WebRTC 137.0.62🤖 Prompt for AI Agents