Skip to content

Commit

Permalink
依存ライブラリの型変更に追従する
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Dec 27, 2024
1 parent 5e86216 commit cc09b1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
- OpenH264 のバージョンを `2.5.0` に上げる
- `#include <rtc_base/helpers.h>``#include <rtc_base/crypto_random.h>` に置き換える
- `boost::json::error_code``boost::system::error_code` に置き換える
- `absl::nullopt``std::nullopt` に置き換える
- ZakuroConfig の `sora_data_channel_signaling``sora_ignore_disconnect_websocket` の型を `std::optional<bool>` に置き換える
- @melpon @voluntas @zztkm
- [UPDATE] Blend2D, AsmJit を最新版に上げる
- @melpon, @torikizi
Expand Down
2 changes: 1 addition & 1 deletion src/nop_video_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int32_t NopVideoDecoder::Decode(const webrtc::EncodedImage& input_image,
.set_video_frame_buffer(i420_buffer)
.set_timestamp_rtp(input_image.RtpTimestamp())
.build();
callback_->Decoded(decoded_image, absl::nullopt, absl::nullopt);
callback_->Decoded(decoded_image, std::nullopt, std::nullopt);

return WEBRTC_VIDEO_CODEC_OK;
}
Expand Down
4 changes: 2 additions & 2 deletions src/zakuro.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ struct ZakuroConfig {
int sora_spotlight_number = 0;
std::string sora_spotlight_focus_rid;
std::string sora_spotlight_unfocus_rid;
boost::optional<bool> sora_data_channel_signaling;
std::optional<bool> sora_data_channel_signaling;
int sora_data_channel_signaling_timeout = 180;
boost::optional<bool> sora_ignore_disconnect_websocket;
std::optional<bool> sora_ignore_disconnect_websocket;
int sora_disconnect_wait_timeout = 5;
boost::json::value sora_metadata;
boost::json::value sora_signaling_notify_metadata;
Expand Down

0 comments on commit cc09b1d

Please sign in to comment.