#include "pc/peer_connection_message_handler.h"
#include <utility>
#include "api/jsep.h"
#include "api/legacy_stats_types.h"
#include "api/media_stream_interface.h"
#include "api/peer_connection_interface.h"
#include "api/scoped_refptr.h"
#include "api/sequence_checker.h"
#include "api/task_queue/pending_task_safety_flag.h"
#include "pc/legacy_stats_collector_interface.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace {
template <typename T>
rtc::scoped_refptr<T> WrapScoped(T* ptr) { … }
}
void PeerConnectionMessageHandler::PostSetSessionDescriptionSuccess(
SetSessionDescriptionObserver* observer) { … }
void PeerConnectionMessageHandler::PostSetSessionDescriptionFailure(
SetSessionDescriptionObserver* observer,
RTCError&& error) { … }
void PeerConnectionMessageHandler::PostCreateSessionDescriptionFailure(
CreateSessionDescriptionObserver* observer,
RTCError error) { … }
void PeerConnectionMessageHandler::PostGetStats(
StatsObserver* observer,
LegacyStatsCollectorInterface* legacy_stats,
MediaStreamTrackInterface* track) { … }
void PeerConnectionMessageHandler::RequestUsagePatternReport(
std::function<void()> func,
int delay_ms) { … }
}