Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc

Issue 1290813008: Add RemoteEstimatorProxy for capturing receive times (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc
index b426887d06ee8c7dc2bd54ba2119f5f458a87133..54651d9ce5441f113c31e4a052a7dd7a23dc2f9f 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc
@@ -304,6 +304,13 @@ void TransportFeedback::WithMediaSourceSsrc(uint32_t ssrc) {
media_source_ssrc_ = ssrc;
}
+uint32_t TransportFeedback::GetPacketSenderSsrc() const {
+ return packet_sender_ssrc_;
+}
+
+uint32_t TransportFeedback::GetMediaSourceSsrc() const {
+ return media_source_ssrc_;
+}
void TransportFeedback::WithBase(uint16_t base_sequence,
int64_t ref_timestamp_us) {
DCHECK_EQ(-1, base_seq_);
@@ -531,7 +538,7 @@ int32_t TransportFeedback::GetBaseTime() const {
}
int64_t TransportFeedback::GetBaseTimeUs() const {
- return GetBaseTime() * kBaseScaleFactor;
+ return base_time_ * kBaseScaleFactor;
}
std::vector<TransportFeedback::StatusSymbol>

Powered by Google App Engine
This is Rietveld 408576698