diff --git a/CHANGES.md b/CHANGES.md index 3963985d..521c9cf0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -30,6 +30,9 @@ - [UPDATE] Boost を 1.85.0 に上げる - @torikizi - [UPDATE] WebRTC を m128.6613.2.0 に上げる + - m128.6613.2.0 での変更点は以下の通り + - `rtc::CreateRandomString` のヘッダーを追加 + - `rtc_base` 以下のファイルが削除されたことに対する追従 - @torikizi @melpon - [UPDATE] WebRTC を m119 に上げたことで必要になった関連するライブラリもバージョンを上げる - CMAKE_VERSION を 3.27.7 に上げる @@ -70,6 +73,8 @@ - @tnoho - [ADD] Intel VPL の VP9 ハードウェアエンコーダに対応する - @tnoho +- [ADD] ScreenCaptureKit を追加 + - @torikizi - [FIX] macOS で USB 接続されたカメラが取得できなくなっていたのを修正 - macOS で USB デバイスが取得できなくなっていたため、取得するように修正 - macOS 14 以降では従来の API では取得できなくなっていたため API を新たに用意し、macOS 14 以降で新しい API を利用する diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c2088cd..80d82a4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -411,6 +411,7 @@ elseif (TARGET_OS STREQUAL "macos") "-framework MetalKit" "-framework OpenGL" "-framework IOSurface" + "-framework ScreenCaptureKit" ) elseif (TARGET_OS STREQUAL "linux") diff --git a/src/momo_args.h b/src/momo_args.h index 60aff9a6..21c5f480 100644 --- a/src/momo_args.h +++ b/src/momo_args.h @@ -9,7 +9,8 @@ // WebRTC #include -#include +#include +#include #include "video_codec_info.h" diff --git a/src/rtc/rtc_manager.cpp b/src/rtc/rtc_manager.cpp index ac7b9711..0b03b1b8 100644 --- a/src/rtc/rtc_manager.cpp +++ b/src/rtc/rtc_manager.cpp @@ -209,7 +209,7 @@ void RTCManager::AddDataManager(std::shared_ptr data_manager) { data_manager_dispatcher_.Add(data_manager); } -class RawCryptString : public rtc::CryptStringImpl { +class RawCryptString : public rtc::revive::CryptStringImpl { public: RawCryptString(const std::string& str) : str_(str) {} size_t GetLength() const override { return str_.size(); } @@ -270,7 +270,8 @@ std::shared_ptr RTCManager::CreateConnection( pi.username = config_.proxy_username; } if (!config_.proxy_password.empty()) { - pi.password = rtc::CryptString(RawCryptString(config_.proxy_password)); + pi.password = + rtc::revive::CryptString(RawCryptString(config_.proxy_password)); } dependencies.allocator->set_proxy("WebRTC Native Client Momo", pi); } diff --git a/src/sora-cpp-sdk/src/open_h264_video_encoder.cpp b/src/sora-cpp-sdk/src/open_h264_video_encoder.cpp index 90a330f9..b5ada411 100644 --- a/src/sora-cpp-sdk/src/open_h264_video_encoder.cpp +++ b/src/sora-cpp-sdk/src/open_h264_video_encoder.cpp @@ -31,8 +31,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -512,7 +512,7 @@ int32_t OpenH264VideoEncoder::InitEncode( } } - SimulcastRateAllocator init_allocator(codec_); + SimulcastRateAllocator init_allocator(env_, codec_); VideoBitrateAllocation allocation = init_allocator.Allocate(VideoBitrateAllocationParameters( DataRate::KilobitsPerSec(codec_.startBitrate), codec_.maxFramerate)); diff --git a/src/util.cpp b/src/util.cpp index f127d6c9..cba25ea6 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -14,7 +14,7 @@ #include // WebRTC -#include +#include #include "momo_version.h"