[Performance]Investigate and improve videorendering#1039
[Performance]Investigate and improve videorendering#1039ipavlidakis wants to merge 3 commits intodevelopfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Generated by 🚫 Danger |
| super.init(frame: frame) | ||
|
|
||
| // Subscribe to thermal state changes to adjust rendering performance. | ||
| cancellable = thermalStateObserver |
There was a problem hiding this comment.
by deleting this, what would be the impact on the existing implementation?
23112d6 to
7ab1e89
Compare
# Conflicts: # StreamVideo.xcodeproj/project.pbxproj Update WebRTC Version Restructure DebugMenu options Apply videoRenderingOptions onAppear simplify videoRenderer and update webrtc version Update webrtc version Implement custom video capturing
7ab1e89 to
fac3c76
Compare
SDK Size
|
Public Interface+ public struct VideoRenderingOptions: Sendable, CustomStringConvertible
+
+ public let renderingBackend: RTCVideoRenderingBackend
+ public let bufferPolicy: RTCFrameBufferPolicy
+ public let maxInFlightFrames: Int
+ public let rotationOverride: RTCVideoRotation?
+ public var description: String
+
+
+ public init(renderingBackend: RTCVideoRenderingBackend = .default,bufferPolicy: RTCFrameBufferPolicy = .none,maxInFlightFrames: Int = 0,rotationOverride: RTCVideoRotation? = nil)
+ extension RTCFrameBufferPolicy: @retroactive CustomStringConvertible
+
+ public var description: String
+ extension RTCVideoRenderingBackend: @retroactive CustomStringConvertible
+
+ public var description: String
+ extension RTCVideoRotation: @retroactive CustomStringConvertible
+
+ public var description: String
public final class VideoConfig: Sendable
-
+ public let renderingOptions: VideoRenderingOptions
-
+
- public init(videoFilters: [VideoFilter] = [],noiseCancellationFilter: NoiseCancellationFilter? = nil,audioProcessingModule: AudioProcessingModule? = nil)
+
+ public init(renderingOptions: VideoRenderingOptions = .init(),videoFilters: [VideoFilter] = [],noiseCancellationFilter: NoiseCancellationFilter? = nil,audioProcessingModule: AudioProcessingModule? = nil)
- public class VideoRenderer: RTCMTLVideoView, @unchecked Sendable
+ public class VideoRenderer: RTCVideoRenderingView, @unchecked Sendable |
StreamVideo XCSize
|
StreamVideoSwiftUI XCSize
|
|



🔗 Issue Links
Resolves https://linear.app/stream/issue/IOS-1377/performanceinvestigate-and-improve-videorendering-performance
🎯 Goal
Integrate:
📝 Summary
Provide bullet points with the most important changes in the codebase.
🛠 Implementation
Provide a detailed description of the implementation and explain your decisions if you find them relevant.
🎨 Showcase
Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.
imgimg🧪 Manual Testing Notes
Explain how this change can be tested manually, if applicable.
☑️ Contributor Checklist
🎁 Meme
Provide a funny gif or image that relates to your work on this pull request. (Optional)