forked from crow-misia/libwebrtc-bin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: rogurotus <[email protected]>
- Loading branch information
1 parent
eb16723
commit daaa852
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|