Skip to content

Commit

Permalink
m127 のビルドエラーを修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Jul 25, 2024
1 parent d18ef07 commit b4fb7ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/open_h264_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
6 changes: 3 additions & 3 deletions src/sora_signaling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <p2p/client/basic_port_allocator.h>
#include <pc/rtp_media_utils.h>
#include <pc/session_description.h>
#include <rtc_base/crypt_string.h>
#include <rtc_base/crypt_string_revive.h>
#include <rtc_base/proxy_info_revive.h>

#include "sora/data_channel.h"
Expand Down Expand Up @@ -447,7 +447,7 @@ void SoraSignaling::DoSendUpdate(const std::string& sdp, std::string type) {
}
}

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(); }
Expand Down Expand Up @@ -535,7 +535,7 @@ SoraSignaling::CreatePeerConnection(boost::json::value jconfig) {
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));
}
std::string proxy_agent = "Sora C++ SDK";
if (!config_.proxy_agent.empty()) {
Expand Down

0 comments on commit b4fb7ea

Please sign in to comment.