diff --git a/patch/enable_ios_scalability_mode.patch b/patch/enable_ios_scalability_mode.patch index f9aa5b44..98d24207 100644 --- a/patch/enable_ios_scalability_mode.patch +++ b/patch/enable_ios_scalability_mode.patch @@ -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 @@ -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 @@ -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 @@ -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 { @@ -872,7 +872,7 @@ index ba355f48eb..d4ca2b838b 100644 private: id 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 {