From ef51c3a4879f9e8bebdaa0aac52dd4defbe54cae Mon Sep 17 00:00:00 2001 From: tyranron <7114909+tyranron@users.noreply.github.com> Date: Mon, 29 Jul 2024 05:35:45 +0000 Subject: [PATCH 1/2] Upgrade to 127.0.6533.72 version --- VERSION | 6 +++--- instrumentisto-libwebrtc-bin.podspec | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index d12ceaac..43b40eb9 100644 --- a/VERSION +++ b/VERSION @@ -2,17 +2,17 @@ CCACHE_VERSION=4.8.3 # WebRTC doesn't have its own versioning, so we use Chromium versions: # https://chromiumdash.appspot.com/releases -WEBRTC_VERSION=126.0.6478.182 +WEBRTC_VERSION=127.0.6533.72 # Look for the concrete revision for WebRTC in: # https://chromium.googlesource.com/chromium/src/+/refs/tags//DEPS -WEBRTC_COMMIT=a18e38fed2307edd6382760213fa3ddf199fa181 +WEBRTC_COMMIT=e0b28a6a81a989c1f5c89e30fcd247870047390d # Additional revision of the `WEBRTC_VERSION` added as `-rN` suffix to it, and # tracking additional changes applied on top of it. # Required for being able to release new versions without waiting for the # `WEBRTC_VERSION` bump. If absent or is commented out, then no `REVISION` is # added to the `WEBRTC_VERSION`. -REVISION=2 +#REVISION=2 PACKAGE_NAMES= \ linux-arm64 \ diff --git a/instrumentisto-libwebrtc-bin.podspec b/instrumentisto-libwebrtc-bin.podspec index 9a3fe9cb..7ccf791e 100644 --- a/instrumentisto-libwebrtc-bin.podspec +++ b/instrumentisto-libwebrtc-bin.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "instrumentisto-libwebrtc-bin" - spec.version = "126.0.6478.182-r2" + spec.version = "127.0.6533.72" spec.summary = "Pre-compiled `libwebrtc` library for Darwin used by Medea Flutter-WebRTC." spec.homepage = "https://github.com/instrumentisto/libwebrtc-bin" @@ -8,7 +8,7 @@ Pod::Spec.new do |spec| spec.author = { 'Instrumentisto Team' => 'developer@instrumentisto.com' } spec.ios.deployment_target = '10.0' - spec.source = { :http => "https://github.com/instrumentisto/libwebrtc-bin/releases/download/126.0.6478.182-r2/libwebrtc-ios.zip" } + spec.source = { :http => "https://github.com/instrumentisto/libwebrtc-bin/releases/download/127.0.6533.72/libwebrtc-ios.zip" } spec.vendored_frameworks = "WebRTC.xcframework" spec.pod_target_xcconfig = { From f63816317f8549f371c068c8993a611ccdd1ffbc Mon Sep 17 00:00:00 2001 From: evdokimovs Date: Tue, 30 Jul 2024 11:34:39 +0200 Subject: [PATCH 2/2] build: fix `add_yuv_helper_ios_mac.patch` --- patch/add_yuv_helper_ios_mac.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/patch/add_yuv_helper_ios_mac.patch b/patch/add_yuv_helper_ios_mac.patch index 72b5af94..d6fc6073 100644 --- a/patch/add_yuv_helper_ios_mac.patch +++ b/patch/add_yuv_helper_ios_mac.patch @@ -1,8 +1,8 @@ diff --git a/src/sdk/BUILD.gn b/src/sdk/BUILD.gn -index 7620217..89498be 100644 +index 7b637c8..86588ef 100644 --- a/src/sdk/BUILD.gn +++ b/src/sdk/BUILD.gn -@@ -144,11 +144,14 @@ if (is_ios || is_mac) { +@@ -146,12 +146,15 @@ if (is_ios || is_mac) { "objc/helpers/RTCDispatcher.h", "objc/helpers/RTCDispatcher.m", "objc/helpers/scoped_cftyperef.h", @@ -13,11 +13,12 @@ index 7620217..89498be 100644 deps = [ ":base_objc", "../rtc_base:checks", + "//third_party/abseil-cpp/absl/strings:string_view", + "//third_party/libyuv", ] - absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] -@@ -1296,6 +1299,7 @@ if (is_ios || is_mac) { + frameworks = [ +@@ -1303,6 +1306,7 @@ if (is_ios || is_mac) { "objc/components/video_frame_buffer/RTCCVPixelBuffer.h", "objc/helpers/RTCCameraPreviewView.h", "objc/helpers/RTCDispatcher.h", @@ -25,7 +26,7 @@ index 7620217..89498be 100644 "objc/helpers/UIDevice+RTCDevice.h", "objc/api/peerconnection/RTCAudioSource.h", "objc/api/peerconnection/RTCAudioTrack.h", -@@ -1492,6 +1496,7 @@ if (is_ios || is_mac) { +@@ -1505,6 +1509,7 @@ if (is_ios || is_mac) { "objc/components/video_codec/RTCVideoEncoderH264.h", "objc/components/video_frame_buffer/RTCCVPixelBuffer.h", "objc/helpers/RTCDispatcher.h",