Remove unused NTP time functions from RtpPacketReceived.
Bug: none Change-Id: I05d6f9f1a9e732241e59dc6454d995ff7dce8fdb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/198841 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32876}
This commit is contained in:
@ -17,7 +17,6 @@
|
||||
#include "api/array_view.h"
|
||||
#include "api/rtp_headers.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_packet.h"
|
||||
#include "system_wrappers/include/ntp_time.h"
|
||||
|
||||
namespace webrtc {
|
||||
// Class to hold rtp packet with metadata for receiver side.
|
||||
@ -42,10 +41,6 @@ class RtpPacketReceived : public RtpPacket {
|
||||
int64_t arrival_time_ms() const { return arrival_time_ms_; }
|
||||
void set_arrival_time_ms(int64_t time) { arrival_time_ms_ = time; }
|
||||
|
||||
// Estimated from Timestamp() using rtcp Sender Reports.
|
||||
NtpTime capture_ntp_time() const { return capture_time_; }
|
||||
void set_capture_ntp_time(NtpTime time) { capture_time_ = time; }
|
||||
|
||||
// Flag if packet was recovered via RTX or FEC.
|
||||
bool recovered() const { return recovered_; }
|
||||
void set_recovered(bool value) { recovered_ = value; }
|
||||
@ -65,7 +60,6 @@ class RtpPacketReceived : public RtpPacket {
|
||||
}
|
||||
|
||||
private:
|
||||
NtpTime capture_time_;
|
||||
int64_t arrival_time_ms_ = 0;
|
||||
int payload_type_frequency_ = 0;
|
||||
bool recovered_ = false;
|
||||
|
||||
Reference in New Issue
Block a user