Skip to content

Commit

Permalink
rtc::CreateRandomString のヘッダを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Sep 14, 2024
1 parent 5c98dfb commit e9d1f28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sora.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#include "sora.h"

// WebRTC
#include <rtc_base/crypto_random.h>

Sora::Sora(std::optional<bool> use_hardware_encoder,
std::optional<std::string> openh264) {
factory_.reset(new SoraFactory(use_hardware_encoder, openh264));
Expand Down
3 changes: 3 additions & 0 deletions src/sora_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#include <chrono>
#include <stdexcept>

// WebRTC
#include <rtc_base/crypto_random.h>

// Sora C++ SDK
#include <sora/rtc_stats.h>

Expand Down

0 comments on commit e9d1f28

Please sign in to comment.