Skip to content

Commit

Permalink
Upgrade to 108.0.5359.94 (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: rogurotus <[email protected]>
  • Loading branch information
instrumentisto-bot and rogurotus authored Dec 7, 2022
1 parent eb16723 commit daaa852
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 4 deletions.
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ CCACHE_VERSION=4.6

# WebRTC doesn't have its own versioning, so we use Chromium versions:
# https://chromiumdash.appspot.com/releases
WEBRTC_VERSION=107.0.5304.121
WEBRTC_VERSION=108.0.5359.94
# Look for the concrete revision for WebRTC in:
# https://chromium.googlesource.com/chromium/src/+/refs/tags/<WEBRTC_VERSION>/DEPS
WEBRTC_COMMIT=b82c45815a7c9fc4722e006219e8fdb58066ddb0
WEBRTC_COMMIT=93081d594f7efff72958a79251f53731b99e902b

PACKAGE_NAMES= \
linux-arm64 \
Expand Down
1 change: 1 addition & 0 deletions build/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ common-patch:
&& patch -p1 < $(PATCH_DIR)/nacl_armv6_2.patch \
&& patch -p2 < $(PATCH_DIR)/macos_h264_encoder.patch \
&& patch -p2 < $(PATCH_DIR)/disable_use_hermetic_xcode_on_linux.patch \
&& patch -p2 < $(PATCH_DIR)/linux_is_pod_deprecate.patch \
&& patch -p2 < $(PATCH_DIR)/add_licenses.patch

.PHONY: common-package
Expand Down
4 changes: 2 additions & 2 deletions instrumentisto-libwebrtc-bin.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |spec|
spec.name = "instrumentisto-libwebrtc-bin"
spec.version = "107.0.5304.121"
spec.version = "108.0.5359.94"
spec.summary = "Pre-compiled `libwebrtc` library for Darwin used by Medea Flutter-WebRTC."

spec.homepage = "https://github.com/instrumentisto/libwebrtc-bin"
spec.license = { :type => 'BSD', :file => 'WebRTC.xcframework/LICENSE.md' }
spec.author = { 'Instrumentisto Team' => '[email protected]' }
spec.ios.deployment_target = '10.0'

spec.source = { :http => "https://github.com/instrumentisto/libwebrtc-bin/releases/download/107.0.5304.121/libwebrtc-ios.zip" }
spec.source = { :http => "https://github.com/instrumentisto/libwebrtc-bin/releases/download/108.0.5359.94/libwebrtc-ios.zip" }
spec.vendored_frameworks = "WebRTC.xcframework"

spec.pod_target_xcconfig = {
Expand Down
40 changes: 40 additions & 0 deletions patch/linux_is_pod_deprecate.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
diff --git a/src/modules/video_coding/include/video_codec_interface.h b/src/modules/video_coding/include/video_codec_interface.h
index 261ffb11c1..442bd5204c 100644
--- a/src/modules/video_coding/include/video_codec_interface.h
+++ b/src/modules/video_coding/include/video_codec_interface.h
@@ -50,7 +50,7 @@ struct CodecSpecificInfoVP8 {
size_t updatedBuffers[kBuffersCount];
size_t updatedBuffersCount;
};
-static_assert(std::is_pod<CodecSpecificInfoVP8>::value, "");
+static_assert(std::is_trivial<CodecSpecificInfoVP8>::value, "");

// Hack alert - the code assumes that thisstruct is memset when constructed.
struct CodecSpecificInfoVP9 {
@@ -81,7 +81,7 @@ struct CodecSpecificInfoVP9 {

ABSL_DEPRECATED("") bool end_of_picture;
};
-static_assert(std::is_pod<CodecSpecificInfoVP9>::value, "");
+static_assert(std::is_trivial<CodecSpecificInfoVP9>::value, "");

// Hack alert - the code assumes that thisstruct is memset when constructed.
struct CodecSpecificInfoH264 {
@@ -90,14 +90,14 @@ struct CodecSpecificInfoH264 {
bool base_layer_sync;
bool idr_frame;
};
-static_assert(std::is_pod<CodecSpecificInfoH264>::value, "");
+static_assert(std::is_trivial<CodecSpecificInfoH264>::value, "");

union CodecSpecificInfoUnion {
CodecSpecificInfoVP8 VP8;
CodecSpecificInfoVP9 VP9;
CodecSpecificInfoH264 H264;
};
-static_assert(std::is_pod<CodecSpecificInfoUnion>::value, "");
+static_assert(std::is_trivial<CodecSpecificInfoUnion>::value, "");

// Note: if any pointers are added to this struct or its sub-structs, it
// must be fitted with a copy-constructor. This is because it is copied

0 comments on commit daaa852

Please sign in to comment.