[Unwrap] Migrate NetEqDelayAnalyzer to use RtpTimestampUnwrapper
Bug: webrtc:13982 Change-Id: I35c08921c8c1be31f0de4bd81f918250bee25313 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288961 Auto-Submit: Evan Shrubsole <eshr@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39052}
This commit is contained in:
parent
4df20baff1
commit
c3891e3a4e
@ -883,6 +883,7 @@ rtc_library("neteq_tools") {
|
||||
"../../api:array_view",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_numerics",
|
||||
"../../rtc_base:safe_conversions",
|
||||
"../../rtc_base:stringutils",
|
||||
"../../rtc_base:timeutils",
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "modules/include/module_common_types_public.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/numerics/sequence_number_unwrapper.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
@ -140,7 +140,7 @@ void NetEqDelayAnalyzer::CreateGraphs(Delays* arrival_delay_ms,
|
||||
|
||||
std::vector<double> rtp_timestamps_ms;
|
||||
double offset = std::numeric_limits<double>::max();
|
||||
TimestampUnwrapper unwrapper;
|
||||
RtpTimestampUnwrapper unwrapper;
|
||||
// This loop traverses data_ and populates rtp_timestamps_ms as well as
|
||||
// calculates the base offset.
|
||||
for (auto& d : data_) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user