/* * Copyright (c) 2022 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include "video/frame_decode_timing.h" #include <algorithm> #include "absl/types/optional.h" #include "api/units/time_delta.h" #include "rtc_base/logging.h" namespace webrtc { FrameDecodeTiming::FrameDecodeTiming(Clock* clock, webrtc::VCMTiming const* timing) : … { … } absl::optional<FrameDecodeTiming::FrameSchedule> FrameDecodeTiming::OnFrameBufferUpdated(uint32_t next_temporal_unit_rtp, uint32_t last_temporal_unit_rtp, TimeDelta max_wait_for_frame, bool too_many_frames_queued) { … } } // namespace webrtc