#include "video/video_receive_stream_timeout_tracker.h"
#include <algorithm>
#include <utility>
#include "rtc_base/logging.h"
namespace webrtc {
VideoReceiveStreamTimeoutTracker::VideoReceiveStreamTimeoutTracker(
Clock* clock,
TaskQueueBase* const bookkeeping_queue,
const Timeouts& timeouts,
TimeoutCallback callback)
: … { … }
VideoReceiveStreamTimeoutTracker::~VideoReceiveStreamTimeoutTracker() { … }
bool VideoReceiveStreamTimeoutTracker::Running() const { … }
TimeDelta VideoReceiveStreamTimeoutTracker::TimeUntilTimeout() const { … }
void VideoReceiveStreamTimeoutTracker::Start(bool waiting_for_keyframe) { … }
void VideoReceiveStreamTimeoutTracker::Stop() { … }
void VideoReceiveStreamTimeoutTracker::SetWaitingForKeyframe() { … }
void VideoReceiveStreamTimeoutTracker::OnEncodedFrameReleased() { … }
TimeDelta VideoReceiveStreamTimeoutTracker::HandleTimeoutTask() { … }
void VideoReceiveStreamTimeoutTracker::SetTimeouts(Timeouts timeouts) { … }
}