[Unwrap] Migrate InterFrameDelay to RtpTimestampUnwrapper
Bug: webrtc:13982 Change-Id: I0c4fe63f47d842fc5871baeb1137aa225bc10ea4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288960 Auto-Submit: Evan Shrubsole <eshr@webrtc.org> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39039}
This commit is contained in:
parent
fcbeb774b5
commit
1c7602c65d
@ -26,6 +26,7 @@ rtc_library("inter_frame_delay") {
|
||||
"../../../api/units:frequency",
|
||||
"../../../api/units:time_delta",
|
||||
"../../../api/units:timestamp",
|
||||
"../../../rtc_base:rtc_numerics",
|
||||
]
|
||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "modules/include/module_common_types_public.h"
|
||||
#include "rtc_base/numerics/sequence_number_unwrapper.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -35,7 +35,7 @@ class InterFrameDelay {
|
||||
private:
|
||||
// The previous rtp timestamp passed to the delay estimate
|
||||
int64_t prev_rtp_timestamp_unwrapped_;
|
||||
TimestampUnwrapper unwrapper_;
|
||||
RtpTimestampUnwrapper unwrapper_;
|
||||
|
||||
// The previous wall clock timestamp used by the delay estimate
|
||||
absl::optional<Timestamp> prev_wall_clock_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user