In RtpPacketReceived delete deprecated accessors for handling time in ms
Bug: None Change-Id: I02a43a16e8d9bf3a1e2c9f6442a1c119620e1288 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/252286 Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36067}
This commit is contained in:
parent
7a992e21b9
commit
3ed1dbb56e
@ -14,7 +14,6 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "absl/base/attributes.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/ref_counted_base.h"
|
||||
#include "api/rtp_headers.h"
|
||||
@ -49,15 +48,6 @@ class RtpPacketReceived : public RtpPacket {
|
||||
webrtc::Timestamp arrival_time() const { return arrival_time_; }
|
||||
void set_arrival_time(webrtc::Timestamp time) { arrival_time_ = time; }
|
||||
|
||||
ABSL_DEPRECATED("Use arrival_time() instead")
|
||||
int64_t arrival_time_ms() const {
|
||||
return arrival_time_.IsMinusInfinity() ? -1 : arrival_time_.ms();
|
||||
}
|
||||
ABSL_DEPRECATED("Use set_arrival_time() instead")
|
||||
void set_arrival_time_ms(int64_t time) {
|
||||
arrival_time_ = webrtc::Timestamp::Millis(time);
|
||||
}
|
||||
|
||||
// Flag if packet was recovered via RTX or FEC.
|
||||
bool recovered() const { return recovered_; }
|
||||
void set_recovered(bool value) { recovered_ = value; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user