#define MS_CLASS "DepLibWebRTC"
#include "DepLibWebRTC.hpp"
#include "Logger.hpp"
#include "Settings.hpp"
#include "system_wrappers/source/field_trial.h"
#include <mutex>
static std::once_flag GlobalInitOnce;
void DepLibWebRTC::ClassInit()
{
MS_TRACE();
MS_DEBUG_TAG(
info, "libwebrtc field trials: \"%s\"", Settings::configuration.libwebrtcFieldTrials.c_str());
std::call_once(
GlobalInitOnce,
[]
{
webrtc::field_trial::InitFieldTrialsFromString(
Settings::configuration.libwebrtcFieldTrials.c_str());
});
}
void DepLibWebRTC::ClassDestroy()
{
MS_TRACE();
}