Skip to content

Commit

Permalink
build: fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
evdokimovs committed Oct 25, 2024
1 parent 8cf9dc0 commit e235ed5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions patch/enable_ios_scalability_mode.patch
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ index 27fb4adada..7306e3d2ab 100644
}

diff --git a/src/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h b/src/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h
index 467b51de98..8795d5af71 100644
index 07f6b7a39c..d055115ae2 100644
--- a/src/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h
+++ b/src/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h
@@ -51,6 +51,10 @@ RTC_OBJC_EXPORT
Expand Down Expand Up @@ -523,13 +523,13 @@ index a45c2d33fb..ee9673aeec 100644

@end
diff --git a/src/sdk/objc/base/RTCVideoEncoderFactory.h b/src/sdk/objc/base/RTCVideoEncoderFactory.h
index 3a102c87b5..0057ea529e 100644
index 31e469d4ba..668249da81 100644
--- a/src/sdk/objc/base/RTCVideoEncoderFactory.h
+++ b/src/sdk/objc/base/RTCVideoEncoderFactory.h
@@ -13,6 +13,7 @@
#import "RTCMacros.h"
#import "RTCVideoCodecInfo.h"
#import "RTCVideoEncoder.h"
#import "sdk/objc/base/RTCMacros.h"
+#import "RTCCodecSupport.h"

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -643,13 +643,13 @@ index 6e3baa8750..34f41df595 100644
RTC_OBJC_TYPE(RTCVideoCodecInfo) *vp8Info =
[[RTC_OBJC_TYPE(RTCVideoCodecInfo) alloc] initWithName:kRTCVideoCodecVp8Name];
diff --git a/src/sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h b/src/sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h
index 4dc2d6c8a8..6c4bd4e793 100644
index 92ab40c95b..e0344d0f97 100644
--- a/src/sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h
+++ b/src/sdk/objc/components/video_codec/RTCDefaultVideoEncoderFactory.h
@@ -12,6 +12,7 @@

#import "RTCMacros.h"
#import "RTCVideoEncoderFactory.h"
#import "sdk/objc/base/RTCMacros.h"
+#import "api/video_codec/RTCWrappedNativeVideoEncoderFactory.h"

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -858,7 +858,7 @@ index 9843849307..33229d4598 100644
+
@end
diff --git a/src/sdk/objc/native/src/objc_video_encoder_factory.h b/src/sdk/objc/native/src/objc_video_encoder_factory.h
index ba355f48eb..d4ca2b838b 100644
index 62af09cb8f..cc1b6a80ef 100644
--- a/src/sdk/objc/native/src/objc_video_encoder_factory.h
+++ b/src/sdk/objc/native/src/objc_video_encoder_factory.h
@@ -40,6 +40,9 @@ class ObjCVideoEncoderFactory : public VideoEncoderFactory {
Expand All @@ -872,7 +872,7 @@ index ba355f48eb..d4ca2b838b 100644
private:
id<RTC_OBJC_TYPE(RTCVideoEncoderFactory)> encoder_factory_;
diff --git a/src/sdk/objc/native/src/objc_video_encoder_factory.mm b/src/sdk/objc/native/src/objc_video_encoder_factory.mm
index 919848a161..b4ed39e7ce 100644
index bc8c532539..738dee9d0e 100644
--- a/src/sdk/objc/native/src/objc_video_encoder_factory.mm
+++ b/src/sdk/objc/native/src/objc_video_encoder_factory.mm
@@ -227,4 +227,23 @@ void OnCurrentEncoder(const SdpVideoFormat &format) override {
Expand Down

0 comments on commit e235ed5

Please sign in to comment.